[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

[ath5k-devel] [PATCH] ath5k: merge ath5k_hw and ath5k_softc

2011-07-12 Thread Pavel Roskin
Both ath5k_hw and ath5k_softc represent one instance of the hardware. This duplication is historical and is not needed anymore. Keep the name ath5k_hw for the merged structure and ah for the variable pointing to it. ath5k_hw is shorter than ath5k_softc, more descriptive and more widely used.