Home
last modified time | relevance | path

Searched refs:reg_rule (Results 1 – 2 of 2) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
H A Dreg_build_chan_list.c92 struct cur_reg_rule *reg_rule, in reg_fill_psd_info() argument
95 master_list[chan_enum].psd_flag = reg_rule->psd_flag; in reg_fill_psd_info()
97 master_list[chan_enum].psd_eirp = reg_rule->psd_eirp; in reg_fill_psd_info()
116 struct cur_reg_rule *reg_rule, in reg_fill_psd_info() argument
137 struct cur_reg_rule *reg_rule, in reg_fill_channel_info() argument
143 reg_fill_psd_info(chan_enum, reg_rule, master_list); in reg_fill_channel_info()
144 master_list[chan_enum].tx_power = reg_rule->reg_power; in reg_fill_channel_info()
145 master_list[chan_enum].ant_gain = reg_rule->ant_gain; in reg_fill_channel_info()
148 if (reg_rule->flags & REGULATORY_CHAN_NO_IR) { in reg_fill_channel_info()
153 if (reg_rule->flags & REGULATORY_CHAN_RADAR) { in reg_fill_channel_info()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_regulatory.c478 const struct ieee80211_reg_rule *reg_rule; in hdd_modify_wiphy() local
481 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in hdd_modify_wiphy()
482 if (!IS_ERR(reg_rule)) { in hdd_modify_wiphy()
485 if (!(reg_rule->flags & NL80211_RRF_DFS)) { in hdd_modify_wiphy()
491 if (!(reg_rule->flags & NL80211_RRF_PASSIVE_SCAN)) { in hdd_modify_wiphy()
497 if (!(reg_rule->flags & NL80211_RRF_NO_IBSS)) { in hdd_modify_wiphy()
504 MBM_TO_DBM(reg_rule->power_rule.max_eirp); in hdd_modify_wiphy()