]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Basic channel check for CHAN_SWITCH parameters
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 28 Jan 2020 15:09:49 +0000 (15:09 +0000)
committerJouni Malinen <j@w1.fi>
Sun, 29 Mar 2020 18:15:16 +0000 (21:15 +0300)
commit30b6d4bb7d0f89e80de38d3cc1827a638f3ee358
tree7b610f8594af5deef8c22908c934656d021a7616
parentaf6a2b727c645bdbc5faf4c9c8f52ccc134fa38c
hostapd: Basic channel check for CHAN_SWITCH parameters

Implement channel sanity check for the CHAN_SWITCH command. Verify
provided values for bandwidth, frequencies, and secondary channel
offset. Reject requested channel switch operation if basic constraints
on frequencies and bandwidth are not fulfilled.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
hostapd/ctrl_iface.c