bcm-v4

[Specification

These functions update the TX Power Tables and Rate information used by the Firmware in the Shared Memory

N PHY

Return, there's nothing to do

Non-N PHY Hardware Power Control Enabled

  1. Write 0x3F to SHM offset 0x28

  2. Write 0x10 to SHM offset 0x24

  3. Write the Minimum TX Power left shifted by 4 to SHM offset 0x26

  4. Write the current Hardware Power Control value to SHM offset 0x32

  5. If this is a G PHY
    1. Loop over the CCK Rates (4 values)

      1. FIXME Do stuff
    2. If the current rate is a CCK Rate
      1. Find the Rate SHM Offset for the first CCK rate

      2. Write 0 to the SHM Offset found above + 6

      3. Write 0 to the SHM Offset found above + 0xE

  6. Loop over the ODFM Rates (7 values)

    1. Do Stuff
  7. Set the Microcode Host Flag for Hardware Power Control (0x800000)

Non-N PHY Hardware Power Control Disabled

  1. Loop over the ODFM TX Power Offset values (loop 7 times)
    1. If the value of this Offset is < -7

      1. Add 0xE to the value
    2. Otherwise
      1. Add 0x7 to the value
    3. Save the result AND'd with 0xF8 to the ODFM TX Power Offset value it corresponds with
  2. Write the (first OFDM TX Power Offset value + 7) / 8 to SHM Offset 0x4E


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