bcm-v4

[Specification

Initialise B and G PHY Power Control

  1. If this the Board Vendor is 0x14E4 and the Board Type is 0x416
    1. Return, there is nothing to do for this board
  2. Write 0x8018 to PHY Register 0x28

  3. Clear bit 0x20 in the PHY 0 Core Register

  4. If this is a G PHY
    1. If G Mode is disabled
      1. Return, there is nothing else to do
    2. If Hardware Power Control is enabled

      1. AND PHY Register 0x36 with 0xFEFF

      2. Write 0x202 to PHY Register 0x2F

      3. OR PHY Register 0x47C with 0x2

      4. OR PHY Register 0x47A with 0xF000

      5. If the Radio Revision is 8
        1. MaskSet PHY Register 0x47A with mask 0xFF0F and set with 0x10

        2. OR PHY Register 0x4D with 0x8000

        3. MaskSet PHY Register 0x4E with mask 0xFFC0 and set with 0x10

        4. Write 0xC07F to PHY Register 0x2E

        5. OR PHY Register 0x36 with mask 0x400

      6. Otherwise
        1. OR PHY Register 0x36 with 0x200

        2. OR PHY Register 0x36 with 0x400

        3. AND PHY Register 0x5D with 0x7FFF

        4. AND PHY Register 0x4F with 0xFFFE

        5. MaskSet PHY Register 0x4E with mask 0xFFC0 and set with 0x10

        6. Write 0xC07F to PHY Register 0x2E

        7. MaskSet PHY Register 0x47A with mask 0xFF0F and set with 0x10

    3. Otherwise
      1. Write 0xC111 to PHY Register 0x47A

  5. If the Idle TSSI value is zero (it starts uninitialized at 0)

    1. If the Analog Revision is 0 and this is an 0x2050 Radio
      1. MaskSet Radio Register 0x76 with mask 0x00FE and set with 0x84

    2. Otherwise, if the Radio Revision is 8
      1. 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

    3. Otherwise
      1. Set the TX Power with Baseband Attenuation of 0xB, RF Attenuation of 9 and TXCTL attenuation value of 0

    4. Perform a CCK Dummy Transmission

    5. Save the value of the Target TSSI PHY Register (0x29)

    6. If the Analog Revision is 0 and this is an 0x2050 Radio
      1. AND Radio Register 0x76 with 0xFF7B

    7. Otherwise
      1. Set the TX Power with the saved RF Attenuation, Baseband Attenuation and TXCTL Attenuation

  6. If Hardware Power Control is available

    1. Perform a Hardware Power Control Init

  7. Clear the TSSI values in SHM


Exported/Archived from the wiki to HTML on 2016-10-27