267 | | queueid, so that packets corresponding to the correct subscriber can be used |
268 | | |
269 | | |
| 267 | queueid, so that packets corresponding to the correct subscriber can be used. |
| 268 | |
| 269 | |
| 270 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 RxBSPDUs] |
| 271 | It receives the Uplink Map and processes it in order to receive from each one of the subscribers. |
| 272 | |
| 273 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 StateMachineBS] |
| 274 | This is the main State Machine for the Basetation. It coordinates the way the execution takes place. It runs the dummy application to fill |
| 275 | up the transmit queues. It then enters a never ending while loop, and starts to process Maps, transmit them, transmit and receive the payloads |
| 276 | to and from each of the subscribers. If it does not receive anything on the Uplink, like in the Inital Stage it enters a '''Map-Sending''' stage. In |
| 277 | that stage it simple transmits a Map after regular intervals, till it receives something from the Uplink. |