]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix radiotap header channel flag for 6GHz band
authorAloka Dixit <alokad@codeaurora.org>
Fri, 11 Sep 2020 01:11:35 +0000 (01:11 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Sep 2020 09:40:41 +0000 (11:40 +0200)
commitbe5270a4aaf38caf2b5b9d39eee62478b9f000a1
tree138cdbfc2a9c4c4deb7506c117c0a8e0594d1e4e
parentc15f8c9bf1ba9d489827ba67ad4cfac9d89dc8df
mac80211: Fix radiotap header channel flag for 6GHz band

Radiotap header field 'Channel flags' has '2 GHz spectrum' set to
'true' for 6GHz packet.
Change it to 5GHz as there isn't a separate option available for 6GHz.

Signed-off-by: Aloka Dixit <alokad@codeaurora.org>
Link: https://lore.kernel.org/r/010101747ab7b703-1d7c9851-1594-43bf-81f7-f79ce7a67cc6-000000@us-west-2.amazonses.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c