Romano Giannetti wrote:
> Nick Kossifidis wrote:
>> 2008/9/12 Romano Giannetti <[EMAIL PROTECTED]>:
>>> Hi all,
> 
>>> [ 3853.887794] ath5k phy0: noise floor calibration failed (2437MHz)
>>> [ 3853.889748] ath5k phy0: can't reset hardware (-11)

> 
> Notice that everytime I reboot the problem go away: it would be very strange 
> if 
> the noisy environment problem were synchronized with it...
> 

Disclaimer: I do not know anything about wifi drivers, drivers and kernel 
programming in general, but I will try a wild guess...

I was looking at ath5k_hw_noise_floor_calibration(), and if I understand well 
the instruction

ret = ath5k_hw_register_timeout(ah, AR5K_PHY_AGCCTL,
                         AR5K_PHY_AGCCTL_NF, 0, false);

activates noise floor calibration, and then there is a mdelay()d loop that try 
20 times to get the value. Then we detect if it has failed with the test

if (noise_floor > AR5K_TUNE_NOISE_FLOOR)

and bail out. If the calibration is failing, shouldn't the setting of the 
"noise 
floor calibration mode" undone?

Romano

-- 
Sorry for the disclaimer --- ¡I cannot stop it!


--
La presente comunicación tiene carácter confidencial y es para el exclusivo uso 
del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, 
le informamos que cualquier forma de distribución, reproducción o uso de esta 
comunicación y/o de la información contenida en la misma están estrictamente 
prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por 
favor, notifíquelo inmediatamente al remitente contestando a este mensaje y 
proceda a continuación a destruirlo. Gracias por su colaboración.

This communication contains confidential information. It is for the exclusive 
use of the intended addressee. If you are not the intended addressee, please 
note that any form of distribution, copying or use of this communication or the 
information in it is strictly prohibited by law. If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this message. Thank you for your cooperation. 
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to