bcm-v4

[Specification

N PHY TX Power Control Idle TSSI

  1. Create a 4-element s32 rssi buffer
  2. If PHY Radar Chanspec for the current channel is not zero

    1. Exit
  3. If (nphy_ipa2g_on and band is 2 GHz) or (nphy_ipa5g_on and band is 5 GHz)

    1. Call N PHY IPA Internal Setup

  4. If PHY Revision >= 7

    1. Call N PHY RF Control Override Rev7 with 0x2000, 0, 3, 0, 0 as arguments

  5. Else If Phy Revision >= 3

    1. Call N PHY RF Control Override with 0x2000, 0, 3, 0 as arguments

  6. Call N PHY Stop Playback

  7. Call N PHY TX Tone with 0xFA0, 0, 0, 0 as arguments

  8. Delay for 20 usec
  9. Call N PHY Poll RSSI with 4, rssi buffer, 1 as arguments and save returned value as tmp

  10. Call N PHY Stop Playback

  11. Call N PHY RSSI Select with 0, 0 as arguments

  12. If PHY Revision >= 7

    1. Call N PHY RF Control Override Rev7 with 0x2000, 0, 3, 1, 0 as arguments

  13. Else If Phy Revision >= 3

    1. Call N PHY RF Control Override with 0x2000, 0, 3, 1 as arguments

  14. If Phy Revision >= 3

    1. Set nphy_pwrctrl_info[0].idle_tssi_5g to (tmp >> 24) & 0xFF

    2. Set nphy_pwrctrl_info[1].idle_tssi_5g to (tmp >> 8) & 0xFF

  15. Otherwise
    1. Set nphy_pwrctrl_info[0].idle_tssi_5g to (tmp >> 16) & 0xFF

    2. Set nphy_pwrctrl_info[1].idle_tssi_5g to tmp & 0xFF

  16. Set nphy_pwrctrl_info[0].idle_tssi_2g to (tmp >> 24) & 0xFF

  17. Set nphy_pwrctrl_info[1].idle_tssi_2g to (tmp >> 8) & 0xFF


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