int N PHY Frequency Accuracy (int channel)
- Initialize ret to 0
- If channel is zero
Call N PHY Stop Playback
If PHY Revision >= 3
Write nphy_saved_bbconf to PHY Register 0x01
Call N PHY Reset CCA
- Otherwise
If PHY Revision >= 3
Read PHY Register 0x01 and save in nphy_saved_bbconf
MaskSet PHY Register 0x01 with mask 0x7FFF and set with 0
Call N PHY TX Tone with 0, 151, 0, 0 as arguments. Save the returned value as ret.
- Return ret