Go back –> ath5k kerneldoc
If you see nothing its because there is no kdoc yet for this file.
ath5k_hw_noise_floor_calibration - perform PHY noise floor calibrationint ath5k_hw_noise_floor_calibration (struct ath5k_hw * ah, short freq)
- struct ath5k_hw pointer we are operating on
- the channel frequency, just used for error logging
This function performs a noise floor calibration of the PHY and waits for it to complete. Then the noise floor value is compared to some maximum noise floor we consider valid.
Note that this is different from what the madwifi HAL does
it reads the noise floor and afterwards initiates the calibration. Since the noise floor calibration can take some time to finish, depending on the current channel use, that avoids the occasional timeout warnings we are seeing now.
//patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1Sect2=HITOFFd=PALL \ p=1u=2Fnetahtml2FPTO2Fsrchnum.htmr=1f=Gl=50s1=7245893.PN.OS=PN/7
Since during noise floor calibration antennas are detached according to the patent, we should stop tx queues here.