aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.c
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@qca.qualcomm.com>2015-10-28 21:14:10 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-25 17:01:10 (GMT)
commit5e1da9c8fdcadb0171d5448fa09960f976804155 (patch)
tree481d940722bbc2b76a0022c118e7c42f1a296ea9 /wpa_supplicant/p2p_supplicant.c
parentea7081185e405de99a4dfa935785f0d9e96c51a1 (diff)
downloadhostap-5e1da9c8fdcadb0171d5448fa09960f976804155.zip
hostap-5e1da9c8fdcadb0171d5448fa09960f976804155.tar.gz
hostap-5e1da9c8fdcadb0171d5448fa09960f976804155.tar.bz2
P2P: Define operating classes for VHT 80+80 and 160
This adds definitions for the global operating classes 129 and 130 for VHT 80+80 MHz and 160 MHz use cases. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.c')
-rw-r--r--wpa_supplicant/p2p_supplicant.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index ea4bd0e..bf0336f 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -3323,7 +3323,7 @@ struct p2p_oper_class_map {
u8 min_chan;
u8 max_chan;
u8 inc;
- enum { BW20, BW40PLUS, BW40MINUS, BW80, BW2160 } bw;
+ enum { BW20, BW40PLUS, BW40MINUS, BW80, BW2160, BW160, BW80P80 } bw;
};
static const struct p2p_oper_class_map op_class[] = {
@@ -3349,6 +3349,8 @@ static const struct p2p_oper_class_map op_class[] = {
* removing invalid channels.
*/
{ HOSTAPD_MODE_IEEE80211A, 128, 36, 161, 4, BW80 },
+ { HOSTAPD_MODE_IEEE80211A, 130, 36, 161, 4, BW80P80 },
+ { HOSTAPD_MODE_IEEE80211A, 129, 50, 114, 16, BW160 },
{ HOSTAPD_MODE_IEEE80211AD, 180, 1, 4, 1, BW2160 },
{ -1, 0, 0, 0, 0, BW20 }
};