Lines Matching refs:dfs_region
155 static const char *reg_dfs_region_str(enum nl80211_dfs_regions dfs_region) in reg_dfs_region_str() argument
157 switch (dfs_region) { in reg_dfs_region_str()
174 enum nl80211_dfs_regions dfs_region; in reg_get_dfs_region() local
178 dfs_region = regd->dfs_region; in reg_get_dfs_region()
188 dfs_region = wiphy_regd->dfs_region; in reg_get_dfs_region()
192 if (wiphy_regd->dfs_region == regd->dfs_region) in reg_get_dfs_region()
197 reg_dfs_region_str(wiphy_regd->dfs_region), in reg_get_dfs_region()
198 reg_dfs_region_str(regd->dfs_region)); in reg_get_dfs_region()
203 return dfs_region; in reg_get_dfs_region()
612 u8 dfs_region; member
723 if (coll->len < offsetofend(struct fwdb_collection, dfs_region)) in valid_country()
976 regdom->dfs_region = coll->dfs_region; in regdb_query_country()
1560 rd->dfs_region = reg_intersect_dfs_region(rd1->dfs_region, in regdom_intersect()
1561 rd2->dfs_region); in regdom_intersect()
2464 lr->dfs_region = get_cfg80211_regdom()->dfs_region; in wiphy_update_regulatory()
2900 dfs_domain_same = wiphy1_regd->dfs_region == wiphy2_regd->dfs_region; in reg_dfs_domain_same()
3702 bool reg_supported_dfs_region(enum nl80211_dfs_regions dfs_region) in reg_supported_dfs_region() argument
3704 switch (dfs_region) { in reg_supported_dfs_region()
3711 pr_debug("Ignoring unknown DFS master region: %d\n", dfs_region); in reg_supported_dfs_region()
3747 pr_debug(" DFS Master region: %s", reg_dfs_region_str(rd->dfs_region)); in print_regdomain()
4149 if (regd->dfs_region == NL80211_DFS_ETSI) in regulatory_pre_cac_allowed()
4157 if (regd->dfs_region == wiphy_regd->dfs_region && in regulatory_pre_cac_allowed()
4158 wiphy_regd->dfs_region == NL80211_DFS_ETSI) in regulatory_pre_cac_allowed()