Searched refs:reg_rule (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | reg.c | 1240 const struct ieee80211_reg_rule *reg_rule = NULL; in is_valid_rd() local 1250 reg_rule = &rd->reg_rules[i]; in is_valid_rd() 1251 if (!is_valid_reg_rule(reg_rule)) in is_valid_rd() 1620 const struct ieee80211_reg_rule *reg_rule; in __freq_reg_info() local 1625 reg_rule = freq_reg_info_regd(center_freq, regd, bw); in __freq_reg_info() 1626 if (!IS_ERR(reg_rule)) in __freq_reg_info() 1627 return reg_rule; in __freq_reg_info() 1630 return reg_rule; in __freq_reg_info() 1661 const struct ieee80211_reg_rule *reg_rule, in reg_rule_to_chan_bw_flags() argument 1668 freq_range = ®_rule->freq_range; in reg_rule_to_chan_bw_flags() [all …]
|
D | nl80211.c | 7502 const struct ieee80211_reg_rule *reg_rule; in nl80211_put_regdom() local 7507 reg_rule = ®dom->reg_rules[i]; in nl80211_put_regdom() 7508 freq_range = ®_rule->freq_range; in nl80211_put_regdom() 7509 power_rule = ®_rule->power_rule; in nl80211_put_regdom() 7518 reg_rule); in nl80211_put_regdom() 7521 reg_rule->flags) || in nl80211_put_regdom() 7533 reg_rule->dfs_cac_ms)) in nl80211_put_regdom() 7704 struct ieee80211_reg_rule *reg_rule) in parse_reg_rule() argument 7706 struct ieee80211_freq_range *freq_range = ®_rule->freq_range; in parse_reg_rule() 7707 struct ieee80211_power_rule *power_rule = ®_rule->power_rule; in parse_reg_rule() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|