| 208 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 txPhy] |
| 209 | This fuction hands over a PDU to the Phy layer, copies the header, payload into the memory and triggers the transmission. After |
| 210 | having transmitted the packet, it then frees the data of that packet. |
| 211 | |
| 212 | |
| 213 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 ackmac_main] |
| 214 | The first funtion to be called when the program begins the execution. It extracts the last byte of the MAC Address. This |
| 215 | allocates the Memmory Buffer for the program . It then calls the function for Hardware Initialisation, followed by the |
| 216 | Software Initialization and finally triggering off the State Machine. |
| 217 | |
| 218 | |
| 219 | |
| 220 | |
| 221 | |