added some code for the future "MAC Layer" of the sender

this block should take care of the rough timing and only leave
the fine scheduling (with the tx_time flag) to the lower layer