Lines Matching refs:tmp_regd
614 struct ieee80211_regdomain *tmp_regd, *default_regd, *new_regd = NULL; in ath11k_reg_build_regd() local
631 tmp_regd = kzalloc(sizeof(*tmp_regd) + in ath11k_reg_build_regd()
634 if (!tmp_regd) in ath11k_reg_build_regd()
637 memcpy(tmp_regd->alpha2, reg_info->alpha2, REG_ALPHA2_LEN + 1); in ath11k_reg_build_regd()
640 tmp_regd->dfs_region = ath11k_map_fw_dfs_region(reg_info->dfs_region); in ath11k_reg_build_regd()
644 alpha2, ath11k_reg_get_regdom_str(tmp_regd->dfs_region), in ath11k_reg_build_regd()
675 ath11k_reg_update_rule(tmp_regd->reg_rules + i, in ath11k_reg_build_regd()
690 ath11k_reg_update_weather_radar_band(ab, tmp_regd, in ath11k_reg_build_regd()
700 tmp_regd->reg_rules[i].dfs_cac_ms, in ath11k_reg_build_regd()
704 tmp_regd->n_reg_rules = i; in ath11k_reg_build_regd()
712 new_regd = ath11k_regd_intersect(default_regd, tmp_regd); in ath11k_reg_build_regd()
713 kfree(tmp_regd); in ath11k_reg_build_regd()
719 new_regd = tmp_regd; in ath11k_reg_build_regd()