move tx packet formating to FIFO