[ath5k-devel] force AR5212 to sleep

2011-11-14 Thread Andrés García Saavedra
Hi all, I am testing some custom algorithms for powersaving using mac80211/ath5k. I am using  Dlink DWL-AG660 PCMCIA cards for my experiments. For these algorithms I am notifying sleep/awake events from mac80211 down to the driver whenever I want to. For the case of ath5k I followed that code madw

[ath5k-devel] ath5k: Quiet period control registers

2011-07-12 Thread Andrés García Saavedra
Hi all, I am trying to force the P2P-GO (or an AP for the matter) to be quiet for a certain period of time per beacon period. By using the registers defined in reg.h in a function in dma.c which is called every beacon transmission: function() { int period 100; int

[ath5k-devel] ath5k: Quiet period control registers

2011-07-12 Thread Andrés García Saavedra
Hi all, I am trying to force the P2P-GO (or an AP for the matter) to be quiet for a certain period of time per beacon period. By using the registers defined in reg.h in a function in dma.c which is called every beacon transmission: function() { int period 100; int