Searched refs:tmp_regd (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 614 struct ieee80211_regdomain *tmp_regd, *default_regd, *new_regd = NULL; in ath11k_reg_build_regd() local 637 tmp_regd = kzalloc(sizeof(*tmp_regd) + in ath11k_reg_build_regd() 640 if (!tmp_regd) in ath11k_reg_build_regd() 643 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd() 646 tmp_regd->dfs_region = ath11k_map_fw_dfs_region(reg_info->dfs_region); in ath11k_reg_build_regd() 650 alpha2, ath11k_reg_get_regdom_str(tmp_regd->dfs_region), in ath11k_reg_build_regd() 689 ath11k_reg_update_rule(tmp_regd->reg_rules + i, in ath11k_reg_build_regd() 704 ath11k_reg_update_weather_radar_band(ab, tmp_regd, in ath11k_reg_build_regd() 715 tmp_regd->reg_rules[i].dfs_cac_ms, flags, in ath11k_reg_build_regd() 722 tmp_regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_build_regd() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | reg.c | 567 struct ieee80211_regdomain *tmp_regd, *default_regd, *new_regd = NULL; in ath12k_reg_build_regd() local 591 tmp_regd = kzalloc(sizeof(*tmp_regd) + in ath12k_reg_build_regd() 594 if (!tmp_regd) in ath12k_reg_build_regd() 597 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath12k_reg_build_regd() 600 tmp_regd->dfs_region = ath12k_map_fw_dfs_region(reg_info->dfs_region); in ath12k_reg_build_regd() 604 alpha2, ath12k_reg_get_regdom_str(tmp_regd->dfs_region), in ath12k_reg_build_regd() 642 ath12k_reg_update_rule(tmp_regd->reg_rules + i, in ath12k_reg_build_regd() 657 ath12k_reg_update_weather_radar_band(ab, tmp_regd, in ath12k_reg_build_regd() 667 tmp_regd->reg_rules[i].dfs_cac_ms, in ath12k_reg_build_regd() 674 tmp_regd->reg_rules[i].dfs_cac_ms, in ath12k_reg_build_regd() [all …]
|