]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/p2p_supplicant.c
P2P: ACS offload for the autonomous GO
authorSunil Dutt <usdutt@qti.qualcomm.com>
Mon, 25 Sep 2017 15:56:52 +0000 (21:26 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 3 Nov 2017 19:47:32 +0000 (21:47 +0200)
commit37ed3254de226ad1627b71c453460b4411afb39f
tree4247e69e1ca3d71bf337b8f5f1141c02f94f7bb7
parent962b8fcf49e1e423b78a63250066612508f22c2e
P2P: ACS offload for the autonomous GO

This commit introduces the ACS functionality for the autonomous GO. The
optional parameter <freq> in p2p_group_add is enhanced to carry a value
"acs" with the intention to select the channels among any supported
band. freq = 2 / 5 carry the need to select the channels only in the
respective bands 2.4 / 5 GHz. This functionality is on top of the host
driver's capability to offload ACS, which is advertized through
WPA_DRIVER_FLAGS_ACS_OFFLOAD.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ap.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h