Searched refs:regd_copy (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 191 struct ieee80211_regdomain *regd_copy) 197 memcpy(regd_copy, regd_orig, sizeof(*regd_orig)); 200 memcpy(®d_copy->reg_rules[i], ®d_orig->reg_rules[i], 207 struct ieee80211_regdomain *regd, *regd_copy = NULL; 210 struct ieee80211_regdomain *regd_copy = NULL; 250 regd_copy = kzalloc(regd_len, GFP_ATOMIC); 251 if (regd_copy) 252 ath12k_copy_regd(regd, regd_copy); 256 if (!regd_copy) { 263 ret = regulatory_set_wiphy_regd_sync(ar->hw->wiphy, regd_copy); [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 233 struct ieee80211_regdomain *regd_copy) in ath11k_copy_regd() argument 238 memcpy(regd_copy, regd_orig, sizeof(*regd_orig)); in ath11k_copy_regd() 241 memcpy(®d_copy->reg_rules[i], ®d_orig->reg_rules[i], in ath11k_copy_regd() 248 struct ieee80211_regdomain *regd, *regd_copy = NULL; in ath11k_regd_update() local 251 struct ieee80211_regdomain *regd_copy = NULL; in ath11k_regd_update() 292 regd_copy = kzalloc(regd_len, GFP_ATOMIC); in ath11k_regd_update() 293 if (regd_copy) in ath11k_regd_update() 294 ath11k_copy_regd(regd, regd_copy); in ath11k_regd_update() 298 if (!regd_copy) { in ath11k_regd_update() 303 ret = regulatory_set_wiphy_regd(ar->hw->wiphy, regd_copy); in ath11k_regd_update() [all …]
|