bcm-v4

[Specification

This sets the gain to a predetermined value.

  1. If the Board Flags indicate an External LNA and the PHY Revision is 7 or greater

    1. AND PHY Register 0x811 with 0xF7FF

  2. Loop 4 times, starting at 0
    1. If the External LNA flag is set in Board Flags and the PHY Revision is 7 or greater and the loop position is 3

      1. Write 2 into the OFDM Table specified below at the offset specified by the loop position
    2. Otherwise
      1. Write the value associated with the loop position into the OFDM Table at the offset specified by the loop position
  3. Loop 16 times, starting at the offset from the table below
    1. Write the PGA value into the OFDM Table specified below at the offset specified by the loop position
  4. Set the TR Bits using 1 as the TR value

  5. Backup PHY Registers 0x811 and 0x812

  6. AND PHY Register 0x812 with 0xFFFB

  7. OR PHY Register 0x811 with 0x4

  8. Do a CCK Dummy Transmission

  9. 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


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