bcm-v4

[Specification

N PHY TX Power Limit to Table

  1. Loop for i values of 0, 1, 2, and 3
    1. Set adj_pwr_tbl_nphy[i] to tx_power_offset[i]

  2. Loop for i with values 0, 1, 2, and 3
    1. Set delta and idx2 to 0
    2. If i is 0
      1. If the channel is 40 MHz AND PHY Revision >= 5

        1. Set idx to 68
      2. Otherwise
        1. Set delta to 1
        2. If the channel is 40 MHz
          1. Set idx to 52
        3. Otherwise
          1. Set idx to 4
    3. Else if i is 1
      1. If the channel is 40 MHz
        1. Set idx to 76
      2. Otherwise
        1. Set idx to 28
    4. Else if i is 2
      1. If the channel is 40 MHz
        1. Set idx to 84
      2. Otherwise
        1. Set idx to 36
    5. Else if i is 3
      1. If the channel is 40 MHz
        1. Set idx to 92
      2. Otherwise
        1. Set idx to 44
    6. Loop from 0 to 19 (inclusive) with j as index
      1. Set adj_pwr_tbl_nphy[4 + 4 * idx2 + i] to tx_power_offset[idx]

      2. Increment idx2
      3. If j is 0
        1. Set idx to idx + delta
      4. If j is 14
        1. Set idx to idx + 1 - delta
      5. If j is 3, 4, 7, 8, 11, or 13
        1. Increment idx

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