]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Prefer 20 MHz operating channels on 5 GHz band over 2.4 GHz
authorHardik Kantilal Patel <hkpatel@qti.qualcomm.com>
Sun, 15 Sep 2013 01:09:48 +0000 (18:09 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 1 Nov 2013 14:36:34 +0000 (16:36 +0200)
commitbf4233cc538a38e202fe975b169c00a4e792344a
tree38a4fe9acb26d2bec956452a46c5d9bf7ca9cea5
parent0aac4ccf140d856f818495f67a2ea3e0efd0672a
P2P: Prefer 20 MHz operating channels on 5 GHz band over 2.4 GHz

When no other user preference is specified, opt to use an operating
channel that allows 5 GHz band to be used rather than 2.4 GHz.
Previously, this was already done in practice for HT40 channels since no
such channel is enabled for P2P on 2.4 GHz. This commit extends this to
apply 5 GHz preference for 20 MHz channels as well.

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