| 312 | Base Station Hardware Initialization |
| 313 | |
| 314 | [source:/ResearchApps/MAC/WANMAC/Basestation/hardware.h@305#L51 InitializeHW] |
| 315 | For the Base Station, this is the main function resposnsible for initialization of the hardware and setting up the warp boards for usage. |
| 316 | This is a well commented funtion, highlighting the various steps involved. It initializes the LEDs and the push buttons on the board. |
| 317 | It configures the device in the loopback mode and sets all the necessary options. It also registers the interrupt handlers and various |
| 318 | timers. It can either accept hard coded gain values or use the AGC depending on the harware compatibily. It does the OFDM transmitter |
| 319 | and receiver initialization. |
| 320 | |
| 321 | [source:/ResearchApps/MAC/WANMAC/Subscriber/hardware.h@305#L51 InitializeHW] |
| 322 | This is the same as the above function, it simply does all the things mentioned with the Subscriber Station board. |
| 323 | |
| 324 | |