diff options
author | Avinash Patil <patila@marvell.com> | 2014-02-07 19:27:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:36:19 -0500 |
commit | b23bce296568011b76c27103032dea5a90291d8a (patch) | |
tree | 65169c63efde93fb036ffb449be7b34e5935bb40 /drivers/net/wireless/mwifiex/main.h | |
parent | 341b88007275121e9d85e3e38fc6b7546a4e7e9d (diff) |
mwifiex: add tdls_mgmt handler support
This patch adds support for TDLS management frames transmit
handler. mwifiex driver supports TDLS with external support,
i.e. expects user space application to form TDLS frames.
Same is advertised to cfg80211 during registration.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@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 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 2114475f03c3..54197847d494 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -262,6 +262,16 @@ struct ieee_types_generic { | |||
262 | u8 data[IEEE_MAX_IE_SIZE - sizeof(struct ieee_types_header)]; | 262 | u8 data[IEEE_MAX_IE_SIZE - sizeof(struct ieee_types_header)]; |
263 | } __packed; | 263 | } __packed; |
264 | 264 | ||
265 | struct ieee_types_bss_co_2040 { | ||
266 | struct ieee_types_header ieee_hdr; | ||
267 | u8 bss_2040co; | ||
268 | } __packed; | ||
269 | |||
270 | struct ieee_types_extcap { | ||
271 | struct ieee_types_header ieee_hdr; | ||
272 | u8 ext_capab[8]; | ||
273 | } __packed; | ||
274 | |||
265 | struct mwifiex_bssdescriptor { | 275 | struct mwifiex_bssdescriptor { |
266 | u8 mac_address[ETH_ALEN]; | 276 | u8 mac_address[ETH_ALEN]; |
267 | struct cfg80211_ssid ssid; | 277 | struct cfg80211_ssid ssid; |
@@ -1176,6 +1186,14 @@ struct mwifiex_sta_node * | |||
1176 | mwifiex_add_sta_entry(struct mwifiex_private *priv, u8 *mac); | 1186 | mwifiex_add_sta_entry(struct mwifiex_private *priv, u8 *mac); |
1177 | struct mwifiex_sta_node * | 1187 | struct mwifiex_sta_node * |
1178 | mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac); | 1188 | mwifiex_get_sta_entry(struct mwifiex_private *priv, u8 *mac); |
1189 | int mwifiex_send_tdls_data_frame(struct mwifiex_private *priv, u8 *peer, | ||
1190 | u8 action_code, u8 dialog_token, | ||
1191 | u16 status_code, const u8 *extra_ies, | ||
1192 | size_t extra_ies_len); | ||
1193 | int mwifiex_send_tdls_action_frame(struct mwifiex_private *priv, | ||
1194 | u8 *peer, u8 action_code, u8 dialog_token, | ||
1195 | u16 status_code, const u8 *extra_ies, | ||
1196 | size_t extra_ies_len); | ||
1179 | 1197 | ||
1180 | #ifdef CONFIG_DEBUG_FS | 1198 | #ifdef CONFIG_DEBUG_FS |
1181 | void mwifiex_debugfs_init(void); | 1199 | void mwifiex_debugfs_init(void); |