| 229 | [source:/ResearchApps/MAC/WANMAC/Subscriber/substation.c@301#L76 StateMachineSS] |
| 230 | This is the state machine for the Subscriber Station. It begins with the dummy application generator filling up the transmit queue |
| 231 | for the subscriber station. Note that the interrupts for the good and the bad have been enabled here rather than in the hardware. This |
| 232 | is to ensure that no packet is received before this and thus preventing the machine from going into a bad state. |
| 233 | The machine basically goes in a loop waiting for a valid map and extracting out its receive and transmit time slots from them. |
| 234 | After each loop the de-allocation of the Map entries is done. |
| 235 | |
| 236 | |
| 237 | |