LP PHY TX Power Update Npt
- Read shared memory location 0xE0 and save in (u16) s3
- Subtract the private variable lpphy_tssi_tx_cnt from s3 and save in (u16) tx_cnt
Read PHY Register 0x4A5, bitwise AND with 0x700, right shift by 8, and save in (u16) npt
- Left shift 1 by (npt ANDed with 0x1f)
- If the quantity calculated in the previous step is less then tx_cnt
- Store s3 in the private variable lpphy_tss_tx_cnt
If npt < 7
- Increment npt
MaskSet PHY Register 0x4A5 with mask 0xF8FF and set with (npt << 8)
- Store npt in the private variable lpphy_tssi_npt
Read PHY Register 0x4AB, bitwise AND with 0x7F00, right shift the result by 8, and store the result in the private variable lpphy_tssi_idx