[ath5k-devel] [PATCH 1/3] ath5k: merge ath5k_{init, deinit}_hw() with their thin wrappers

2011-07-21 Thread Pavel Roskin
Signed-off-by: Pavel Roskin pro...@gnu.org --- drivers/net/wireless/ath/ath5k/ath5k.h|4 ++-- drivers/net/wireless/ath/ath5k/base.c | 10 -- drivers/net/wireless/ath/ath5k/mac80211-ops.c | 14 -- 3 files changed, 6 insertions(+), 22 deletions(-) diff

[ath5k-devel] [PATCH 2/3] ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210

2011-07-21 Thread Pavel Roskin
There are only two capabilities we need, and both are trivial to find. ath5k_hw_hasbssidmask() is true on AR5212, but not on AR5210 or AR5211. ath5k_hw_hasveol() is true on AR5211 and AR5212, but not on AR5210, according to the HAL source. Signed-off-by: Pavel Roskin pro...@gnu.org ---

[ath5k-devel] [PATCH 3/3] ath5k: use get_unaligned_le32() in ath5k_write_pwr_to_pdadc_table()

2011-07-21 Thread Pavel Roskin
Signed-off-by: Pavel Roskin pro...@gnu.org --- drivers/net/wireless/ath/ath5k/phy.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index a0c66cf..81e465e 100644 ---

[ath5k-devel] cross compile compat-wireless

2011-07-21 Thread 王洋
export ## NOTE ## Make sure to have each variable declaration start ## in the first column, no whitespace allowed. ifeq ($(wildcard $(KLIB_BUILD)/.config),) # These will be ignored by compat autoconf CONFIG_PCI=y CONFIG_USB=y CONFIG_PCMCIA=y CONFIG_SSB=m else include $(KLIB_BUILD)/.config