Searched refs:reg_rule (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 478 ath11k_reg_update_rule(struct ieee80211_reg_rule *reg_rule, u32 start_freq, in ath11k_reg_update_rule() argument 482 reg_rule->freq_range.start_freq_khz = MHZ_TO_KHZ(start_freq); in ath11k_reg_update_rule() 483 reg_rule->freq_range.end_freq_khz = MHZ_TO_KHZ(end_freq); in ath11k_reg_update_rule() 484 reg_rule->freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw); in ath11k_reg_update_rule() 485 reg_rule->power_rule.max_antenna_gain = DBI_TO_MBI(ant_gain); in ath11k_reg_update_rule() 486 reg_rule->power_rule.max_eirp = DBM_TO_MBM(reg_pwr); in ath11k_reg_update_rule() 487 reg_rule->flags = reg_flags; in ath11k_reg_update_rule() 493 struct cur_reg_rule *reg_rule, in ath11k_reg_update_weather_radar_band() argument 507 bw = ath11k_reg_adjust_bw(reg_rule->start_freq, in ath11k_reg_update_weather_radar_band() 513 reg_rule->start_freq, in ath11k_reg_update_weather_radar_band() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 136 const struct ieee80211_reg_rule *reg_rule; in _rtl_reg_apply_beaconing_flags() local 153 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() local 216 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 …]
|
/drivers/net/wireless/ath/ |
D | regd.c | 269 const struct ieee80211_reg_rule *reg_rule; in ath_force_clear_no_ir_chan() local 271 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()
|
/drivers/net/wireless/realtek/rtw88/ |
D | regd.c | 267 const struct ieee80211_reg_rule *reg_rule; in rtw_regd_apply_beaconing_flags() local 279 reg_rule = freq_reg_info(wiphy, in rtw_regd_apply_beaconing_flags() 281 if (IS_ERR(reg_rule)) in rtw_regd_apply_beaconing_flags() 286 if (!(reg_rule->flags & NL80211_RRF_NO_IR)) in rtw_regd_apply_beaconing_flags()
|