bcm-v4

[Specification

N PHY PreCalibrate TX Gain

  1. Set bbmult to 0
  2. If (nphy_ipa2g_on and the band type is 2G) or (nphy_ipa5g_on and the band type is 5G)

    1. If the PHY Revision is less than 5
      1. Call N PHY Calibrate TX Gain Control with arguments 11, 0

      2. If hw_phytxchain not equal to 3

        1. Set nphy_txcal_pwr_idx[1] to nphy_txcal_pwr_idx[0]

        2. Call N PHY TX Power Index with arguments 3, nphy_txcal_pwr_idx[0], 1

        3. Set bbmult to 1
    2. Else if the PHY Revision is 5
      1. If the current band is 2 GHz
        1. Call N PHY Calibrate TX Gain Control with arguments 12, 0

      2. Otherwise
        1. Set nphy_txcal_pwr_idx[0] to 80

        2. Set nphy_txcal_pwr_idx[1] to 80

        3. Call N PHY TX Power Index with arguments 3, 80, 0

        4. Set bbmult to 1
    3. Else if the PHY Revision > 5

      1. If the current band is 2 GHz
        1. Call N PHY Calibrate TX Gain Control with arguments 12, 0

      2. Otherwise
        1. Call N PHY Calibrate TX Gain Control with arguments 14, 0

  3. Otherwise
    1. Call N PHY Calibrate TX Gain Control with arguments 10, 0

  4. If bbmult not zero
    1. Write 0x3C57 to PHY Register 0x73
    2. Set nphy_txcal_bbmult to the contents of PHY Register 0x73


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