Searched refs:reg_rule (Results 1 – 2 of 2) sorted by relevance
92 struct cur_reg_rule *reg_rule, in reg_fill_psd_info() argument95 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() argument137 struct cur_reg_rule *reg_rule, in reg_fill_channel_info() argument143 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 …]
478 const struct ieee80211_reg_rule *reg_rule; in hdd_modify_wiphy() local481 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()