Initialise B and G PHY Power Control
- If this the Board Vendor is 0x14E4 and the Board Type is 0x416
- Return, there is nothing to do for this board
Write 0x8018 to PHY Register 0x28
Clear bit 0x20 in the PHY 0 Core Register
- If this is a G PHY
- If G Mode is disabled
- Return, there is nothing else to do
If Hardware Power Control is enabled
AND PHY Register 0x36 with 0xFEFF
Write 0x202 to PHY Register 0x2F
OR PHY Register 0x47C with 0x2
OR PHY Register 0x47A with 0xF000
- If the Radio Revision is 8
MaskSet PHY Register 0x47A with mask 0xFF0F and set with 0x10
OR PHY Register 0x4D with 0x8000
MaskSet PHY Register 0x4E with mask 0xFFC0 and set with 0x10
Write 0xC07F to PHY Register 0x2E
OR PHY Register 0x36 with mask 0x400
- Otherwise
OR PHY Register 0x36 with 0x200
OR PHY Register 0x36 with 0x400
AND PHY Register 0x5D with 0x7FFF
AND PHY Register 0x4F with 0xFFFE
MaskSet PHY Register 0x4E with mask 0xFFC0 and set with 0x10
Write 0xC07F to PHY Register 0x2E
MaskSet PHY Register 0x47A with mask 0xFF0F and set with 0x10
- Otherwise
Write 0xC111 to PHY Register 0x47A
- If G Mode is disabled
If the Idle TSSI value is zero (it starts uninitialized at 0)
- If the Analog Revision is 0 and this is an 0x2050 Radio
MaskSet Radio Register 0x76 with mask 0x00FE and set with 0x84
- Otherwise, if the Radio Revision is 8
Set the TX Power with Baseband Attenuation of 0xB, RF Attenuation of 0x1F (Note this is actually a value of 0xF with PAD Mixer enabled) and TXCTL attenuation value of 0
- Otherwise
Set the TX Power with Baseband Attenuation of 0xB, RF Attenuation of 9 and TXCTL attenuation value of 0
Perform a CCK Dummy Transmission
Save the value of the Target TSSI PHY Register (0x29)
- If the Analog Revision is 0 and this is an 0x2050 Radio
AND Radio Register 0x76 with 0xFF7B
- Otherwise
Set the TX Power with the saved RF Attenuation, Baseband Attenuation and TXCTL Attenuation
- If the Analog Revision is 0 and this is an 0x2050 Radio
If Hardware Power Control is available
Perform a Hardware Power Control Init