]> 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)
commiteab2fd386f99770438062d3cd7d477679942f3c0
treee17c8f786d15fde587a3dca2cdc1ff5b8730d394
parent3c91059c89e2c27a22d054c01c55b5d19130a728
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