Solución a interrupción de funcionamiento en ath5k

Publicado el jue 21 junio 2012

Desde hace varios meses que he tenido problemas con el módulo wireless ath5k (Atheros con chipset AR5xxx), el que en forma aleatoria deja de funcionar y arroja los siguientes mensajes de log:

...
[25803.450000] ath5k phy0: gain calibration timeout (2412MHz)
[25805.130000] ath5k phy0: gain calibration timeout (2412MHz)
[25806.800000] ath5k phy0: gain calibration timeout (2412MHz)
[25808.460000] ath5k phy0: gain calibration timeout (2412MHz)
...

La solución que me ha funcionado consiste en pasar el parámetro fastchanswitch=1 al cargar el módulo:

rmmod ath5k
modprobe ath5k fastchaswitch=1

Si deseamos evitar tener que hacer esto cada vez, debemos crear el archivo /etc/modprobe.d/ath5k.conf con el contenido:

options ath5k fastchanswitch=1

tags: Linux, ath5k, Fedora, wifi