bcm-v4

[Specification

LP PHY AGC Temp Init

  1. Declare a 2-element s8 array named buffer
  2. Read PHY Register 0x4DF and save as tmp32
  3. And tmp32 with 0xFF and write to lpphy_ofdmgainidxtableoffset

  4. If lpphy_ofdmgainidxtableoffset > 127

    1. Subtract 256 from lpphy_ofdmgainidxtableoffset

  5. And tmp32 with 0xFF00, right shift by 8, and save as lpphy_dsssgainidxtableoffset

  6. If lpphy_dsssgainidxtableoffset > 127

    1. Subtract 256 from lpphy_dsssgainidxtableoffset

  7. Read an LP Table with ID 17, offset 64, length 2, width 8, PHY width 32, and data buffer
  8. If buffer[0] > 63

    1. Subract 128 from buffer[0]
  9. Set tr_R_gain_val to buffer[0]

  10. If buffer[1] > 63

    1. Subract 128 from buffer[1]
  11. Set tr_T_gain_val to buffer[1]


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