aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2014-02-07 19:27:33 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-02-12 15:36:19 -0500
commit5f2caaf32bc64c200007611505ce2453f4862276 (patch)
tree2df3b3978e51b728787b647e4a13a8cb226f4615 /drivers/net/wireless/mwifiex/main.h
parentb23bce296568011b76c27103032dea5a90291d8a (diff)
mwifiex: parse TDLS action frames during RX
This patch adds support for parsing TDLS action frames during station receive handler. Peer station capabilities are stored into station node. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index 54197847d494..3b0be45f833c 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -594,8 +594,20 @@ struct mwifiex_bss_priv {
594 u64 fw_tsf; 594 u64 fw_tsf;
595}; 595};
596 596
597/* This is AP specific structure which stores information 597struct mwifiex_tdls_capab {
598 * about associated STA 598 __le16 capab;
599 u8 rates[32];
600 u8 rates_len;
601 u8 qos_info;
602 u8 coex_2040;
603 struct ieee80211_ht_cap ht_capb;
604 struct ieee80211_ht_operation ht_oper;
605 struct ieee_types_extcap extcap;
606 struct ieee_types_generic rsn_ie;
607};
608
609/* This is AP/TDLS specific structure which stores information
610 * about associated/peer STA
599 */ 611 */
600struct mwifiex_sta_node { 612struct mwifiex_sta_node {
601 struct list_head list; 613 struct list_head list;
@@ -605,6 +617,7 @@ struct mwifiex_sta_node {
605 u8 ampdu_sta[MAX_NUM_TID]; 617 u8 ampdu_sta[MAX_NUM_TID];
606 u16 rx_seq[MAX_NUM_TID]; 618 u16 rx_seq[MAX_NUM_TID];
607 u16 max_amsdu; 619 u16 max_amsdu;
620 struct mwifiex_tdls_capab tdls_cap;
608}; 621};
609 622
610struct mwifiex_if_ops { 623struct mwifiex_if_ops {
@@ -1194,6 +1207,8 @@ int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv,
1194 u8 *peer, u8 action_code, u8 dialog_token, 1207 u8 *peer, u8 action_code, u8 dialog_token,
1195 u16 status_code, const u8 *extra_ies, 1208 u16 status_code, const u8 *extra_ies,
1196 size_t extra_ies_len); 1209 size_t extra_ies_len);
1210void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv,
1211 u8 *buf, int len);
1197 1212
1198#ifdef CONFIG_DEBUG_FS 1213#ifdef CONFIG_DEBUG_FS
1199void mwifiex_debugfs_init(void); 1214void mwifiex_debugfs_init(void);