Searched refs:reg_rule (Results 1 – 3 of 3) sorted by relevance
517 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument521 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule()522 reg_rule->freq_range.end_freq_khz = MHZ_TO_KHZ(end_freq); in ath11k_reg_update_rule()523 reg_rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw); in ath11k_reg_update_rule()524 reg_rule->power_rule.max_antenna_gain = DBI_TO_MBI(ant_gain); in ath11k_reg_update_rule()525 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath11k_reg_update_rule()526 reg_rule->flags = reg_flags; in ath11k_reg_update_rule()532 struct cur_reg_rule *reg_rule, in ath11k_reg_update_weather_radar_band() argument546 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()552 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band()[all …]
136 const struct ieee80211_reg_rule *reg_rule; in _rtl_reg_apply_beaconing_flags() local153 reg_rule = freq_reg_info(wiphy, in _rtl_reg_apply_beaconing_flags()155 if (IS_ERR(reg_rule)) in _rtl_reg_apply_beaconing_flags()166 if (!(reg_rule->flags & NL80211_RRF_NO_IBSS)) in _rtl_reg_apply_beaconing_flags()168 if (!(reg_rule->flags & in _rtl_reg_apply_beaconing_flags()188 const struct ieee80211_reg_rule *reg_rule; in _rtl_reg_apply_active_scan_flags() local216 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()217 if (!IS_ERR(reg_rule)) { in _rtl_reg_apply_active_scan_flags()218 if (!(reg_rule->flags & NL80211_RRF_PASSIVE_SCAN)) in _rtl_reg_apply_active_scan_flags()224 reg_rule = freq_reg_info(wiphy, ch->center_freq); in _rtl_reg_apply_active_scan_flags()[all …]
269 const struct ieee80211_reg_rule *reg_rule; in ath_force_clear_no_ir_chan() local271 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); in ath_force_clear_no_ir_chan()272 if (IS_ERR(reg_rule)) in ath_force_clear_no_ir_chan()275 if (!(reg_rule->flags & NL80211_RRF_NO_IR)) in ath_force_clear_no_ir_chan()