Comment: xxxxxxxxxxxxB<>Method: downslotHandler(Event *e)Comment: It is the BS' turn to transmit. See if it has any packet
scheduled to be transmitted in this slot. All frequencies needed to be checked.
Action: Restart downslot timer to clock the next slot.
Start the Upslot Timer if this downslot 3 in the first TDMA frame.
Compare node_address with the BS_address
If node is a BS
Check txQ[freq][downslot] for all frequencies
If txQ[freq][downslot] !=NULL (see Note)
Check if the packet has been marked as waiting
If not, then pass packet to tx_onto_PHY()
Else do nothing
Increment downslot counter. Take care of wrap around.
Note: txQ[freq_][downslot_] stores a pointer to the packet to be transmitted by the BS in downslot in downslot_ on frequency freq_.