path: root/wpa_supplicant/README-P2P
diff options
authorLior David <qca_liord@qca.qualcomm.com>2016-02-18 13:20:03 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-07 11:51:01 (GMT)
commitdfe0745c9a8246400316879be0115cc119c4882f (patch)
tree5c3504b6341c021b743a02c8e3beccdfbce8a87b /wpa_supplicant/README-P2P
parente4a1469cecee8d21044fb6e97f85aa807f498b62 (diff)
P2P: Add optional op_class argument to P2P_SET listen_channel
The existing implementation in p2p_ctrl_set used a hard-coded operating class 81 which is only suitable for the social channels in the 2.4 GHz band, and will not work for the social channel in the 60 GHz band. Extend this by adding an optional op_class argument to P2P_SET listen_channel. If not specified, use the default value of 81 to match existing behavior. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/README-P2P')
1 files changed, 6 insertions, 1 deletions
diff --git a/wpa_supplicant/README-P2P b/wpa_supplicant/README-P2P
index b8cf209..23ac7fa 100644
--- a/wpa_supplicant/README-P2P
+++ b/wpa_supplicant/README-P2P
@@ -640,12 +640,17 @@ p2p_set managed <0/1>
Disable/enable managed P2P Device operations. This is disabled by
-p2p_set listen_channel <1/6/11>
+p2p_set listen_channel <channel> [<op_class>]
Set P2P Listen channel. This is mainly meant for testing purposes and
changing the Listen channel during normal operations can result in
protocol failures.
+When specifying a social channel on the 2.4 GHz band (1/6/11) there is
+no need to specify the operating class since it defaults to 81. When
+specifying a social channel on the 60 GHz band (2), specify the 60 GHz
+operating class (180).
p2p_set ssid_postfix <postfix>
Set postfix string to be added to the automatically generated P2P SSID