TL-WN811N - (AR5416) cardbus adapter
Hi!
Initially when I started using the TL-WN811N card (AR5416 chipset) with the ath9k driver, it didn't show any lights on the card, even though it worked perfectly.
Then I found in the documentation that one could use the "options ath9k blink=1" setting to turn the lights on, but only the status light flashes when data is being transmitted/received. There are two lights on the cardbus adapter; status and activity. The activity light remains resolutely off.
The user manual for the cardbus adapter states that the status light should light up and be solid when power is applied, and that the activity light should flash quickly when transmitting/receiving data, and should flash slowly when scanning for networks or not transmitting/receiving data.
Is this a known issue? The cardbus adapter is working perfectly well and I am quite happy with it, just thought it could be a lot better with the status/activity lights correctly working.
Thanks
Alex
Signature · 1 line
Tactical Nuclear Kittens
Hi,
It boils down to how the LEDs are programmed.
I think ath9k just does software blinking of one status LED.
The documentation sounds like the "hardware LED blinking" support which the NICs do - the MAC can be programmed to blink the status LEDs in different ways based on the current operating mode (scanning, running, blinking speed based on traffic, etc.) But ath9k doesn't do that.
I can point you to the code in FreeBSD which sets up the GPIO lines (to the LEDs) to link internally to the MAC "LED" engine, and then how to program the MAC LED registers. :-)
Adrian
(Who does have _two_ blinking lights on his AR5416 cardbus NIC. :-)
Quoted 1 line · Alex Buell
Hi!
Hi Alex,
Quoted 10 lines
Initially when I started using the TL-WN811N card (AR5416 chipset) with the ath9k driver, it didn't show any lights on the card, even though it worked perfectly.
Then I found in the documentation that one could use the "options ath9k blink=1" setting to turn the lights on, but only the status light flashes when data is being transmitted/received. There are two lights on the cardbus adapter; status and activity. The activity light remains resolutely off.
the blinking behavior is based mac80211 which registers & makes use of the kernels LED class.
Quoted 6 lines
The user manual for the cardbus adapter states that the status light should light up and be solid when power is applied, and that the activity light should flash quickly when transmitting/receiving data, and should flash slowly when scanning for networks or not transmitting/receiving data.
may be that's a description of how we handle LED blinking previously in ath9k(not sure) without making use
of mac80211 LED's blinking behavior. may be we could more LED trigger events for scanning
just like ieee80211_led_tx/ieee80211_led_scanning have counter before toggling LEDs
Quoted 4 lines
Is this a known issue? The cardbus adapter is working perfectly well and I am quite happy with it, just thought it could be a lot better with the status/activity lights correctly working.
you could also try compat wireless stable 2.6.37/2.6.38 to see how it works with ath9k LED algorithm
Quoted 9 lines
Thanks
Alex
--
Tactical Nuclear Kittens
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 2 lines
thanks, shafi