summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/common.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-10-20 02:09:46 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:23:15 -0500
commitbabcbc295fee766ca710235e431686fef744d9a6 (patch)
tree3ac71fc21561e3dd97a9d370dc8504faa767f01d /drivers/net/wireless/ath/ath9k/common.h
parentde40f316c01b1ba9535e6dc99f6a67e7655b07da (diff)
downloadop-kernel-dev-babcbc295fee766ca710235e431686fef744d9a6.zip
op-kernel-dev-babcbc295fee766ca710235e431686fef744d9a6.tar.gz
ath9k: initialize per-channel tx power limits instead of hardcoding them
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/common.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h
index fea3b33..c76c75a 100644
--- a/drivers/net/wireless/ath/ath9k/common.h
+++ b/drivers/net/wireless/ath/ath9k/common.h
@@ -62,8 +62,9 @@ enum ath_stomp_type {
int ath9k_cmn_padpos(__le16 frame_control);
int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb);
-void ath9k_cmn_update_ichannel(struct ieee80211_hw *hw,
- struct ath9k_channel *ichan);
+void ath9k_cmn_update_ichannel(struct ath9k_channel *ichan,
+ struct ieee80211_channel *chan,
+ enum nl80211_channel_type channel_type);
struct ath9k_channel *ath9k_cmn_get_curchannel(struct ieee80211_hw *hw,
struct ath_hw *ah);
int ath9k_cmn_count_streams(unsigned int chainmask, int max);
OpenPOWER on IntegriCloud