diff options
author | Vivek Natarajan <vnatarajan@atheros.com> | 2010-08-18 10:27:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-24 16:32:05 -0400 |
commit | d99eeb87420a6da1f87064c7fa70bdf299699d90 (patch) | |
tree | e09db7a8d7e990837141711482948243d27e53e2 /drivers/net/wireless/ath/ath9k/common.h | |
parent | 2a5fb7b088f8418958775774dda9427d6c73c522 (diff) |
ath9k_common: Move bt_stomp to common for sharing with ath9k_htc.
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
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.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h index 97809d39c73f..4aa4e7dbe4d2 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h | |||
@@ -52,6 +52,14 @@ | |||
52 | #define ATH_EP_RND(x, mul) \ | 52 | #define ATH_EP_RND(x, mul) \ |
53 | ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) | 53 | ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul)) |
54 | 54 | ||
55 | /* Defines the BT AR_BT_COEX_WGHT used */ | ||
56 | enum ath_stomp_type { | ||
57 | ATH_BTCOEX_NO_STOMP, | ||
58 | ATH_BTCOEX_STOMP_ALL, | ||
59 | ATH_BTCOEX_STOMP_LOW, | ||
60 | ATH_BTCOEX_STOMP_NONE | ||
61 | }; | ||
62 | |||
55 | int ath9k_cmn_padpos(__le16 frame_control); | 63 | int ath9k_cmn_padpos(__le16 frame_control); |
56 | int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb); | 64 | int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb); |
57 | void ath9k_cmn_update_ichannel(struct ieee80211_hw *hw, | 65 | void ath9k_cmn_update_ichannel(struct ieee80211_hw *hw, |
@@ -65,3 +73,5 @@ int ath9k_cmn_key_config(struct ath_common *common, | |||
65 | void ath9k_cmn_key_delete(struct ath_common *common, | 73 | void ath9k_cmn_key_delete(struct ath_common *common, |
66 | struct ieee80211_key_conf *key); | 74 | struct ieee80211_key_conf *key); |
67 | int ath9k_cmn_count_streams(unsigned int chainmask, int max); | 75 | int ath9k_cmn_count_streams(unsigned int chainmask, int max); |
76 | void ath9k_cmn_btcoex_bt_stomp(struct ath_common *common, | ||
77 | enum ath_stomp_type stomp_type); | ||