diff options
author | Avinash Patil <patila@marvell.com> | 2014-02-07 19:27:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:36:20 -0500 |
commit | 429d90d2212b561859767a74e3bb855f32b4600d (patch) | |
tree | 012243489daeff6e594a5501bba551f72e4b7266 /drivers/net/wireless/mwifiex/main.h | |
parent | 5f2caaf32bc64c200007611505ce2453f4862276 (diff) |
mwifiex: add cfg80211 tdls_oper handler support
This patch adds cfg80211 handler tdls_oper handler support to
mwifiex. Upon enable link, driver sets status as TDLS status as
setup complete and also sets AMSDU size, AMPDU params for direct
link. Upon disable link, driver issues command to FW to delete
this link in FW.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 3b0be45f833c..d35c9950efba 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -617,6 +617,7 @@ struct mwifiex_sta_node { | |||
617 | u8 ampdu_sta[MAX_NUM_TID]; | 617 | u8 ampdu_sta[MAX_NUM_TID]; |
618 | u16 rx_seq[MAX_NUM_TID]; | 618 | u16 rx_seq[MAX_NUM_TID]; |
619 | u16 max_amsdu; | 619 | u16 max_amsdu; |
620 | u8 tdls_status; | ||
620 | struct mwifiex_tdls_capab tdls_cap; | 621 | struct mwifiex_tdls_capab tdls_cap; |
621 | }; | 622 | }; |
622 | 623 | ||
@@ -1209,6 +1210,7 @@ int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, | |||
1209 | size_t extra_ies_len); | 1210 | size_t extra_ies_len); |
1210 | void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv, | 1211 | void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv, |
1211 | u8 *buf, int len); | 1212 | u8 *buf, int len); |
1213 | int mwifiex_tdls_oper(struct mwifiex_private *priv, u8 *peer, u8 action); | ||
1212 | 1214 | ||
1213 | #ifdef CONFIG_DEBUG_FS | 1215 | #ifdef CONFIG_DEBUG_FS |
1214 | void mwifiex_debugfs_init(void); | 1216 | void mwifiex_debugfs_init(void); |