Revision 6 B PHY and 2.4GHz Non-G Mode PHY Init
Initalization
Write 0x817A to PHY Register 0x3E
OR Radio Register 0x7A with 0x58
- If the Radio Revision is 8
Write 0x00 to Radio Register 0x51
Write 0x40 to Radio Register 0x52
Write 0xB7 to Radio Register 0x53
Write 0x98 to Radio Register 0x54
Write 0x88 to Radio Register 0x5A
Write 0x6B to Radio Register 0x5B
Write 0x0F to Radio Register 0x5C
If the Alternate I/Q Settings bit (0x8000) in Board Flags is set
Write 0xFA to Radio Register 0x5D
Write 0xD8 to Radio Register 0x5E
- Otherwise
Write 0xF5 to Radio Register 0x5D
Write 0xB8 to Radio Register 0x5E
Write 0x03 to Radio Register 0x73
Write 0xA8 to Radio Register 0x7D
Write 0x01 to Radio Register 0x7C
Write 0x08 to Radio Register 0x7E
- Loop 16 times, starting with offset 0x88 and value 0x1E1F
Write value to the PHY Register given by the offset
- Increment the offset and subtract 0x202 from the value
- Loop 16 times, starting with offset 0x98 and value 0x3E3F
Write value to the PHY Register given by the offset
- Increment the offset and subtract 0x202 from the value
- Loop 32 times, starting with offset 0xA8 and value 0x2120
Write the value AND'd with 0x3F3F to the PHY Register given by the offset
- Increment the offset and add 0x202 to the value
- If this is a G PHY
OR Radio Register 0x7A with 0x20
OR Radio Register 0x51 with 0x4
OR PHY Register 0x802 with 0x100
OR PHY Register 0x42B with 0x2000
Write 0x0 to PHY Register 0x5B
Write 0x0 to PHY Register 0x5C
- Backup the current channel
- If the current channel is 8 or greater
- Set the channel to 1
- Otherwise
- Set the channel to 13
- Set the radio channel spec to the channel ORed with 0x2B00
Write 0x20 to Radio Register 0x50
Write 0x23 to Radio Register 0x50
- Delay for 40 uSec
- If the Radio Revision is 8
OR Radio Register 0x7C with 2
Write 0x20 to Radio Register 0x50
- If the Radio Revision is 2 or less
Write 0x20 to Radio Register 0x50
Write 0x70 to Radio Register 0x5A
Write 0x7B to Radio Register 0x5B
Write 0xB0 to Radio Register 0x5C
OR Radio Register 0x7A with 7
- Set the channel back to the backed up channel
Write 0x200 to PHY Register 0x14
Write 0x88C2 to PHY Register 0x2A
Write 0x668 to PHY Register 0x38
- SetTXPower to 0xFFFF, 0xFFFF, 0xFFFF
- If the Radio Revision is 4 or 5 (Note: later drivers do not have this step.)
MaskSet PHY Register 0x5D with mask 0xFF80 and set with 3
- If the Radio Revision is 2 or less
Write 0xD to Radio Register 0x5D
- If the Analog Version is 4
Write 9 to the 802.11 Register PHY ADC Bias (0x3E4)
AND PHY Register 0x61 with 0xFFF
- Otherwise
MaskSet PHY Register 0x2 with mask 0xFFC0 and set with 4
- If this is a G PHY
Write 0 to 802.11 Register PHY0 (0x3E6)