]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/p2p/p2p.c
P2P: Prefer U-NII-3 over U-NII-1 during channel selection
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 19 Nov 2013 11:04:21 +0000 (13:04 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 19 Nov 2013 11:04:21 +0000 (13:04 +0200)
commit00043740251716e83ca8a01b5b8a2bed1ed02db9
treea1afd22c7fdae22dc813de55ea2bd4bfad2d64a8
parent1b665cbf513bd56e6e4f8bde4c2d4dcec774ea6f
P2P: Prefer U-NII-3 over U-NII-1 during channel selection

Some devices disable use of U-NII-1 (channels 36-48) for P2P due to it
being indoor use only in number of locations. If U-NII-3 (channels
149-161) is available, try to pick a channel from that range first
during random channel selection to reduce likelihood of interoperability
issues.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p_go_neg.c
src/p2p/p2p_utils.c