Lines Matching refs:regd
34 const struct ieee80211_regdomain *regd; in ath11k_regdom_changes() local
36 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath11k_regdom_changes()
41 if (!regd) in ath11k_regdom_changes()
44 return memcmp(regd->alpha2, alpha2, 2) != 0; in ath11k_regdom_changes()
242 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath11k_regd_update() local
253 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()
261 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
265 regd = (struct ieee80211_regdomain *)&ath11k_world_regd; in ath11k_regd_update()
269 if (!regd) { in ath11k_regd_update()
275 regd_len = sizeof(*regd) + (regd->n_reg_rules * in ath11k_regd_update()
280 ath11k_copy_regd(regd, regd_copy); in ath11k_regd_update()
546 struct ieee80211_regdomain *regd, in ath11k_reg_update_weather_radar_band() argument
566 ath11k_reg_update_rule(regd->reg_rules + i, in ath11k_reg_update_weather_radar_band()
576 reg_rule->reg_power, regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_update_weather_radar_band()
589 ath11k_reg_update_rule(regd->reg_rules + i, start_freq, in ath11k_reg_update_weather_radar_band()
593 regd->reg_rules[i].dfs_cac_ms = ETSI_WEATHER_RADAR_BAND_CAC_TIMEOUT; in ath11k_reg_update_weather_radar_band()
599 regd->reg_rules[i].dfs_cac_ms, flags); in ath11k_reg_update_weather_radar_band()
608 ath11k_reg_update_rule(regd->reg_rules + i, in ath11k_reg_update_weather_radar_band()
618 reg_rule->reg_power, regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_update_weather_radar_band()
839 struct ieee80211_regdomain *regd; in ath11k_reg_handle_chan_list() local
909 regd = ath11k_reg_build_regd(ab, reg_info, intersect, vdev_type, power_type); in ath11k_reg_handle_chan_list()
910 if (!regd) { in ath11k_reg_handle_chan_list()
931 ab->new_regd[pdev_idx] = regd; in ath11k_reg_handle_chan_list()
937 ab->default_regd[pdev_idx] = regd; in ath11k_reg_handle_chan_list()