]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: check TX and STA bandwidth
authorJohannes Berg <johannes.berg@intel.com>
Mon, 14 Feb 2022 16:29:48 +0000 (17:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Feb 2022 14:41:21 +0000 (15:41 +0100)
commited78eb60af9613c63216d6bdd64155cf864e3aa3
treee17c8f786d15fde587a3dca2cdc1ff5b8730d394
parent87c02f06a8c74f449c09c9a525d9007d940443c6
mac80211_hwsim: check TX and STA bandwidth

Add checks to hwsim to validate that neither TX nor any
station's configured bandwidth can exceed the channel
(context) configuration previously requested.

Link: https://lore.kernel.org/r/20220214173004.9fd154d2c3c2.Ia0cd152357a373149bab017d479ab7d5ded289c0@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c