Home
last modified time | relevance | path

Searched refs:new_regd (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dreg.c253 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() local
449 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 …]
Dcore.h909 struct ieee80211_regdomain *new_regd[MAX_RADIOS]; member
Dwmi.c6551 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()
/linux-6.1.9/net/wireless/
Dreg.c2639 const struct ieee80211_regdomain *new_regd, *tmp; in wiphy_apply_custom_regulatory() local
2659 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()