Lines Matching defs:regd
5 #include "regd.h"
335 const struct ieee80211_regdomain *regd;
342 regd = _rtl_regdomain_select(reg);
343 wiphy_apply_custom_regulatory(wiphy, regd);
393 rtlpriv->regd.country_code =
398 rtlpriv->efuse.channel_plan, rtlpriv->regd.country_code);
400 if (rtlpriv->regd.country_code >= COUNTRY_CODE_MAX) {
404 rtlpriv->regd.country_code = COUNTRY_CODE_WORLD_WIDE_13;
407 country = _rtl_regd_find_country(rtlpriv->regd.country_code);
410 rtlpriv->regd.alpha2[0] = country->iso_name[0];
411 rtlpriv->regd.alpha2[1] = country->iso_name[1];
413 rtlpriv->regd.alpha2[0] = '0';
414 rtlpriv->regd.alpha2[1] = '0';
419 rtlpriv->regd.alpha2[0], rtlpriv->regd.alpha2[1]);
421 _rtl_regd_init_wiphy(&rtlpriv->regd, wiphy, reg_notifier);
433 _rtl_reg_notifier_apply(wiphy, request, &rtlpriv->regd);