| 255 | |
| 256 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 BSTxRemoveQueuebyMAC] |
| 257 | This function is responsible for taking out the pdu from one of the circular queue specified. This is responsible for updating the queue |
| 258 | data structure so that we dont over write on any queue location. |
| 259 | |
| 260 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 dummyPktGenerator] |
| 261 | This is a virtual application layer function. It simply fills up a specified queue with dummy payloads. This is essentially simulating the |
| 262 | application layer behaviour. |
| 263 | |
| 264 | |
| 265 | [source:/ResearchApps/MAC/WANMAC/Basestation/basestation.c@305#L51 ReceivefrmPhy] |
| 266 | All this function does it to set a timer and wait for a packet to be received. It also changes the global variable queueidRx to the specified |
| 267 | queueid, so that packets corresponding to the correct subscriber can be used |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |