]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: Enable regulatory enforcement checks for drivers supporting mesh iface
authorSriram R <quic_srirrama@quicinc.com>
Thu, 2 Dec 2021 01:38:40 +0000 (07:08 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Dec 2021 10:18:30 +0000 (11:18 +0100)
commitcb47bec870b53b82d4001bcf90a2eeac80c1f540
tree0feca13b311bf5de94d820bb8322529758bc0066
parent74d3bd814cfccf4dd73deaf7d359c72827a4d537
cfg80211: Enable regulatory enforcement checks for drivers supporting mesh iface

Currently cfg80211 checks for invalid channels whenever there is a
regulatory update and stops the active interfaces if it is operating on
an unsupported channel in the new regulatory domain.

This is done based on a regulatory flag REGULATORY_IGNORE_STALE_KICKOFF
set during wiphy registration which disables this enforcement when
unsupported interface modes are supported by driver.

Add support to enable this enforcement when Mesh Point interface type
is advertised by drivers.

Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Link: https://lore.kernel.org/r/1638409120-28997-1-git-send-email-quic_srirrama@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c
net/wireless/reg.c