bcm-v4

[Specification

u32 LP PHY RX IQ Est (u16 num_samps, u8 time, struct lpphy_iq_est *iq_est)

  1. AND PHY Register 0x410 with mask 0xFFF7

  2. Set PHY Register 0x482 to num_samps

  3. MaskSet PHY Register 0x481 with mask 0xFF00 and set with argument time

  4. AND PHY Register 0x481 with mask 0xFEFF

  5. OR PHY Register 0x481 with bit 0x0200

  6. Poll with 100 usec intervals for up to 0.5 sec
    1. If PHY Register 0x481 & 0x200 becomes zero

      1. Break from polling loop
    2. If the maximum time is exceeded
      1. Set 0x8 in PHY Register 0x410

      2. Return 0
  7. Read PHY Register 0x483, shift left by 0x10, OR with PHY Register 0x484 and store in iq_prod member of iq_est

  8. Read PHY Register 0x485, shift left by 0x10, OR with PHY Register 0x486 and store in i_pwr member of iq_est

  9. Read PHY Register 0x487, shift left by 0x10, OR with PHY Register 0x488 and store in q_pwr member of iq_est

  10. Set 0x8 in PHY Register 0x410

  11. Return 1

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