aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/decl.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/decl.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/decl.h')
-rw-r--r--drivers/net/wireless/mwifiex/decl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h
index c709f1c25b97..efcd1b8b9a26 100644
--- a/drivers/net/wireless/mwifiex/decl.h
+++ b/drivers/net/wireless/mwifiex/decl.h
@@ -93,6 +93,14 @@ enum mwifiex_bss_role {
93 MWIFIEX_BSS_ROLE_ANY = 0xff, 93 MWIFIEX_BSS_ROLE_ANY = 0xff,
94}; 94};
95 95
96enum mwifiex_tdls_status {
97 TDLS_NOT_SETUP = 0,
98 TDLS_SETUP_INPROGRESS,
99 TDLS_SETUP_COMPLETE,
100 TDLS_SETUP_FAILURE,
101 TDLS_LINK_TEARDOWN,
102};
103
96#define BSS_ROLE_BIT_MASK BIT(0) 104#define BSS_ROLE_BIT_MASK BIT(0)
97 105
98#define GET_BSS_ROLE(priv) ((priv)->bss_role & BSS_ROLE_BIT_MASK) 106#define GET_BSS_ROLE(priv) ((priv)->bss_role & BSS_ROLE_BIT_MASK)