On Tue, Oct 22, 2019 at 6:12 PM <yhchuang@xxxxxxxxxxx> wrote: > > From: Tzu-En Huang <tehuang@xxxxxxxxxxx> > > There are two kinds of country/regulatory efuse settings > for Realtek's chipset, one is worldwide and the other is > a specific country. For both settings, REGULATORY_STRICT_REG > will be set, telling stack that devices original regulatory is > the superset of any further settings. > > For the chipset with the country setting being a specific > country, Realtek does not apply any new regulatory setting > notifiers to the card. > > For the chipset with a worldwide regulatory setting, > Realtek's custom worldwide regulatory setting will be > provided via wiphy_apply_custom_regulatory(). > And if a new regulatory notification is set by > NL80211_REGDOM_SET_BY_COUNTRY_IE, the new setting will be > applied to the card. > > Signed-off-by: Tzu-En Huang <tehuang@xxxxxxxxxxx> > Signed-off-by: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> Reviewed-by: Chris Chiu <chiu@xxxxxxxxxxxx> Looks good to me. Chris > --- > drivers/net/wireless/realtek/rtw88/main.c | 6 ++- > drivers/net/wireless/realtek/rtw88/main.h | 1 + > drivers/net/wireless/realtek/rtw88/regd.c | 58 +++++++++++++++++++---- > 3 files changed, 53 insertions(+), 12 deletions(-) > > > -- > 2.17.1 >