path: root/src/pae/ieee802_1x_key.c
diff options
authorJimmy Chen <jimmycmchen@google.com>2020-10-12 02:23:40 (GMT)
committerJouni Malinen <j@w1.fi>2021-02-27 17:19:35 (GMT)
commitd314213f6cd668f41f309679b6bbbeaaa5d5ebf9 (patch)
treedefcd0e5b584c068fb12dd653c6b2cb7976039a2 /src/pae/ieee802_1x_key.c
parent468efe79a764f1a5bf57d2f3d6f5fc5f7a92ada2 (diff)
P2P: Pick a 5 GHz channel from more possible channelsHEADmaster
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