Lines Matching refs:regd

33 	const struct ieee80211_regdomain *regd;  in ath12k_regdom_changes()  local
35 regd = rcu_dereference_rtnl(ar->hw->wiphy->regd); in ath12k_regdom_changes()
40 if (!regd) in ath12k_regdom_changes()
43 return memcmp(regd->alpha2, alpha2, 2) != 0; in ath12k_regdom_changes()
202 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath12k_regd_update() local
218 regd = ab->default_regd[pdev_id]; in ath12k_regd_update()
222 regd = (struct ieee80211_regdomain *)&ath12k_world_regd; in ath12k_regd_update()
225 regd = ab->new_regd[pdev_id]; in ath12k_regd_update()
228 if (!regd) { in ath12k_regd_update()
234 regd_len = sizeof(*regd) + (regd->n_reg_rules * in ath12k_regd_update()
239 ath12k_copy_regd(regd, regd_copy); in ath12k_regd_update()
488 struct ieee80211_regdomain *regd, in ath12k_reg_update_weather_radar_band() argument
501 ath12k_reg_update_rule(regd->reg_rules + i, reg_rule->start_freq, in ath12k_reg_update_weather_radar_band()
510 regd->reg_rules[i].dfs_cac_ms, in ath12k_reg_update_weather_radar_band()
523 ath12k_reg_update_rule(regd->reg_rules + i, in ath12k_reg_update_weather_radar_band()
528 regd->reg_rules[i].dfs_cac_ms = ETSI_WEATHER_RADAR_BAND_CAC_TIMEOUT; in ath12k_reg_update_weather_radar_band()
534 regd->reg_rules[i].dfs_cac_ms, in ath12k_reg_update_weather_radar_band()
538 regd->n_reg_rules--; in ath12k_reg_update_weather_radar_band()
548 ath12k_reg_update_rule(regd->reg_rules + i, ETSI_WEATHER_RADAR_BAND_HIGH, in ath12k_reg_update_weather_radar_band()
557 regd->reg_rules[i].dfs_cac_ms, in ath12k_reg_update_weather_radar_band()