]> 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)
commit6d310fce7c811705291d080aef5ca824935f1309
tree0feca13b311bf5de94d820bb8322529758bc0066
parent7a36943340aabc18301a209a941f63e696d83d34
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