diff options
author | Jimmy Chen <jimmycmchen@google.com> | 2020-10-12 02:23:40 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2021-02-27 17:19:35 (GMT) |
commit | d314213f6cd668f41f309679b6bbbeaaa5d5ebf9 (patch) | |
tree | defcd0e5b584c068fb12dd653c6b2cb7976039a2 /src/pae/ieee802_1x_key.c | |
parent | 468efe79a764f1a5bf57d2f3d6f5fc5f7a92ada2 (diff) | |
download | hostap-master.zip hostap-master.tar.gz hostap-master.tar.bz2 |
For an autonomous P2P group on the 5 GHz band, a channel was picked only
from the operating class 115 which is not available in the EU region
anymore. As a result, an autonomous group creation would always fail in
this generic 5 GHz channel case.
There are more possible available channels for the 5 GHz currently.
Especially in the EU region, the operating class 115 channels are no
longer available, but SRD channels (the operating class 124) are
available. Allow them to be used here if they are marked as allowed for
P2P GO use.
In addition, iterate through all the potential options instead of just
checking the first randomly picked channel. Start this iteration from
random position to maintain some randomness in this process.
Signed-off-by: Jimmy Chen <jimmycmchen@google.com>
Diffstat (limited to 'src/pae/ieee802_1x_key.c')
0 files changed, 0 insertions, 0 deletions