This sets the gain to a predetermined value.
If the Board Flags indicate an External LNA and the PHY Revision is 7 or greater
AND PHY Register 0x811 with 0xF7FF
- Loop 4 times, starting at 0
If the External LNA flag is set in Board Flags and the PHY Revision is 7 or greater and the loop position is 3
- Write 2 into the OFDM Table specified below at the offset specified by the loop position
- Otherwise
- Write the value associated with the loop position into the OFDM Table at the offset specified by the loop position
- Loop 16 times, starting at the offset from the table below
- Write the PGA value into the OFDM Table specified below at the offset specified by the loop position
Set the TR Bits using 1 as the TR value
Backup PHY Registers 0x811 and 0x812
AND PHY Register 0x812 with 0xFFFB
OR PHY Register 0x811 with 0x4
Do a CCK Dummy Transmission
Restore PHY Registers 0x811 and 0x812
PHY Revision |
OFDM Table |
Offset |
1 |
0x14 |
16 |
Otherwise |
0x1 |
8 |
Loop Position |
Value |
0 |
0 |
1 |
2 |
2 |
1 |
3 |
3 |