]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Allow connection on 6 GHz channels if requested
authorSreeramya Soratkal <ssramya@codeaurora.org>
Tue, 4 May 2021 07:31:49 +0000 (13:01 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 14 Jun 2021 17:24:37 +0000 (20:24 +0300)
commitf0cdacacb356859ad9696e9e18e5ec16fb36d8ca
tree5c840cda9c4d750c196edb1ca302d1e650b8722a
parentb36142a740c1b50b78567a73b3202fbf22156517
P2P: Allow connection on 6 GHz channels if requested

Previously, 6 GHz channels were disabled for P2P operations. Use the new
allow_6ghz parameter with P2P_CONNECT, P2P_GROUP_ADD, and P2P_INVITE
commands for P2P connection on the 6 GHz channels when Wi-Fi Display is
enabled on both the devices.

However, the p2p_6ghz_disable parameter in the configuration takes a
higher precedence.

Indicate P2P 6 GHz band capable information in Device Capability Bitmap
of P2P Capability attribute to indicate the P2P Device is capable of P2P
operation in the 6 GHz band.

Signed-off-by: Sreeramya Soratkal <ssramya@codeaurora.org>
src/p2p/p2p.c
src/p2p/p2p.h
src/p2p/p2p_invitation.c
src/p2p/p2p_utils.c
wpa_supplicant/p2p_supplicant.c