P2P: Add optional op_class argument to P2P_SET listen_channel
authorLior David <qca_liord@qca.qualcomm.com>
Thu, 18 Feb 2016 13:20:03 +0000 (15:20 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 7 Mar 2016 11:51:01 +0000 (13:51 +0200)
commitdfe0745c9a8246400316879be0115cc119c4882f
tree5c3504b6341c021b743a02c8e3beccdfbce8a87b
parente4a1469cecee8d21044fb6e97f85aa807f498b62
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>
wpa_supplicant/README-P2P
wpa_supplicant/ctrl_iface.c