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()
244 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath11k_regd_update() local
255 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()
263 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
267 regd = (struct ieee80211_regdomain *)&ath11k_world_regd; in ath11k_regd_update()
271 if (!regd) { in ath11k_regd_update()
277 regd_len = sizeof(*regd) + (regd->n_reg_rules * in ath11k_regd_update()
282 ath11k_copy_regd(regd, regd_copy); in ath11k_regd_update()
532 struct ieee80211_regdomain *regd, in ath11k_reg_update_weather_radar_band() argument
552 ath11k_reg_update_rule(regd->reg_rules + i, in ath11k_reg_update_weather_radar_band()
562 reg_rule->reg_power, regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_update_weather_radar_band()
575 ath11k_reg_update_rule(regd->reg_rules + i, start_freq, in ath11k_reg_update_weather_radar_band()
579 regd->reg_rules[i].dfs_cac_ms = ETSI_WEATHER_RADAR_BAND_CAC_TIMEOUT; in ath11k_reg_update_weather_radar_band()
585 regd->reg_rules[i].dfs_cac_ms, flags); in ath11k_reg_update_weather_radar_band()
594 ath11k_reg_update_rule(regd->reg_rules + i, in ath11k_reg_update_weather_radar_band()
604 reg_rule->reg_power, regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_update_weather_radar_band()