diff options
author | Stone Piao <piaoyun@marvell.com> | 2012-09-25 23:23:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-28 13:54:05 -0400 |
commit | 197f4a2ec99dd3a70b27fba7e827d1fa98114ce3 (patch) | |
tree | 44c1f4c17a8c8b1d2482bdb480c3c75a549f560d /drivers/net/wireless/mwifiex/decl.h | |
parent | 7bff9c974e1a70819c30c37d8ec0d84d456f8237 (diff) |
mwifiex: add P2P interface
Due to firmware design, driver needs to add a default P2P interface
to implement find phase and action frame handshake.
Signed-off-by: Stone Piao <piaoyun@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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index d21bcc146f4b..e9357d87d327 100644 --- a/drivers/net/wireless/mwifiex/decl.h +++ b/drivers/net/wireless/mwifiex/decl.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #include <linux/ieee80211.h> | 28 | #include <linux/ieee80211.h> |
29 | 29 | ||
30 | 30 | ||
31 | #define MWIFIEX_MAX_BSS_NUM (2) | 31 | #define MWIFIEX_MAX_BSS_NUM (3) |
32 | 32 | ||
33 | #define MWIFIEX_MIN_DATA_HEADER_LEN 36 /* sizeof(mwifiex_txpd) | 33 | #define MWIFIEX_MIN_DATA_HEADER_LEN 36 /* sizeof(mwifiex_txpd) |
34 | * + 4 byte alignment | 34 | * + 4 byte alignment |
@@ -70,6 +70,7 @@ | |||
70 | enum mwifiex_bss_type { | 70 | enum mwifiex_bss_type { |
71 | MWIFIEX_BSS_TYPE_STA = 0, | 71 | MWIFIEX_BSS_TYPE_STA = 0, |
72 | MWIFIEX_BSS_TYPE_UAP = 1, | 72 | MWIFIEX_BSS_TYPE_UAP = 1, |
73 | MWIFIEX_BSS_TYPE_P2P = 2, | ||
73 | MWIFIEX_BSS_TYPE_ANY = 0xff, | 74 | MWIFIEX_BSS_TYPE_ANY = 0xff, |
74 | }; | 75 | }; |
75 | 76 | ||