Searched refs:new_regd (Results 1 – 4 of 4) sorted by relevance
253 if (ab->new_regd[pdev_id]) { in ath11k_regd_update()254 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()428 struct ieee80211_regdomain *new_regd = NULL; in ath11k_regd_intersect() local449 new_regd = kzalloc(sizeof(*new_regd) + (num_new_regd_rules * in ath11k_regd_intersect()453 if (!new_regd) in ath11k_regd_intersect()460 new_regd->n_reg_rules = num_new_regd_rules; in ath11k_regd_intersect()461 memcpy(new_regd->alpha2, curr_regd->alpha2, sizeof(new_regd->alpha2)); in ath11k_regd_intersect()462 new_regd->dfs_region = curr_regd->dfs_region; in ath11k_regd_intersect()463 new_rule = new_regd->reg_rules; in ath11k_regd_intersect()475 return new_regd; in ath11k_regd_intersect()[all …]
909 struct ieee80211_regdomain *new_regd[MAX_RADIOS]; member
6551 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event()6582 kfree(ab->new_regd[pdev_idx]); in ath11k_reg_chan_list_event()6583 ab->new_regd[pdev_idx] = regd; in ath11k_reg_chan_list_event()
2639 const struct ieee80211_regdomain *new_regd, *tmp; in wiphy_apply_custom_regulatory() local2659 new_regd = reg_copy_regd(regd); in wiphy_apply_custom_regulatory()2660 if (IS_ERR(new_regd)) in wiphy_apply_custom_regulatory()2667 rcu_assign_pointer(wiphy->regd, new_regd); in wiphy_apply_custom_regulatory()