Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel switching issue in AP mode #2

Open
darkdarkgray opened this issue Aug 17, 2020 · 0 comments
Open

Channel switching issue in AP mode #2

darkdarkgray opened this issue Aug 17, 2020 · 0 comments

Comments

@darkdarkgray
Copy link

sigma-dut/ap.c

Line 12855 in d2b559b

" -i %s chan_switch 10 %d sec_channel_offset=1 center_freq1=%d bandwidth=%d blocktx vht",

Hostapd failed when we try to switch channel with sigma_dut in AP mode and bandwidth 80MHz and more.
Because of hardcoded "sec_channel_offset=1" we can switch only to half of channels list. (36 - ok, 40 - failed, 44 - ok, 48 - failed, etc).
To fix that we need to calculate sec_channel_offset according to channel frequency, center_freq1 and bandwidth.

jmalinen pushed a commit that referenced this issue Oct 15, 2021
The second VAP interface is started with wlan_tag #2 with the respective
channel and passphrase. Add the provision to store them for the second
VAP.

Also sets use_5g if ap_is_dual is set.

Signed-off-by: Jouni Malinen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant