Home
last modified time | relevance | path

Searched refs:ch_idx (Results 1 – 6 of 6) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/os_if/linux/afc/src/
H A Dwlan_cfg80211_afc.c741 int i = 0, ch_idx; in wlan_parse_afc_rsp_opclass_eirp() local
766 ch_idx = 0; in wlan_parse_afc_rsp_opclass_eirp()
769 if (ch_idx >= NUM_6GHZ_CHANNELS) { in wlan_parse_afc_rsp_opclass_eirp()
783 rsp->op_obj[i].chan_eirp[ch_idx].channel_cfi = in wlan_parse_afc_rsp_opclass_eirp()
787 rsp->op_obj[i].chan_eirp[ch_idx].eirp = in wlan_parse_afc_rsp_opclass_eirp()
789 ch_idx++; in wlan_parse_afc_rsp_opclass_eirp()
791 rsp->op_obj[i].num_channel = ch_idx; in wlan_parse_afc_rsp_opclass_eirp()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
H A Dreg_utils.c55 enum channel_enum ch_idx; in reg_chan_has_dfs_attribute_for_freq() local
58 ch_idx = reg_get_chan_enum_for_freq(freq); in reg_chan_has_dfs_attribute_for_freq()
60 if (reg_is_chan_enum_invalid(ch_idx)) in reg_chan_has_dfs_attribute_for_freq()
70 if (pdev_priv_obj->cur_chan_list[ch_idx].chan_flags & in reg_chan_has_dfs_attribute_for_freq()
H A Dreg_services_common.c4205 enum channel_enum ch_idx; in reg_get_nol_channel_state() local
4208 ch_idx = reg_get_chan_enum_for_freq(freq); in reg_get_nol_channel_state()
4210 if (reg_is_chan_enum_invalid(ch_idx)) in reg_get_nol_channel_state()
4213 chan_state = reg_get_chan_state(pdev, ch_idx, in_6g_pwr_mode, false); in reg_get_nol_channel_state()
4368 enum channel_enum ch_idx; in reg_get_channel_state_for_pwrmode() local
4372 ch_idx = reg_get_chan_enum_for_freq(freq); in reg_get_channel_state_for_pwrmode()
4374 if (reg_is_chan_enum_invalid(ch_idx)) in reg_get_channel_state_for_pwrmode()
4384 state = reg_get_chan_state(pdev, ch_idx, in_6g_pwr_type, true); in reg_get_channel_state_for_pwrmode()
4417 enum channel_enum ch_idx; in reg_get_channel_state_from_secondary_list_for_freq() local
4420 ch_idx = reg_get_chan_enum_for_freq(freq); in reg_get_channel_state_from_secondary_list_for_freq()
[all …]
H A Dreg_services_common.h2449 uint16_t reg_convert_enum_to_6g_idx(enum channel_enum ch_idx);
2499 static inline uint16_t reg_convert_enum_to_6g_idx(enum channel_enum ch_idx) in reg_convert_enum_to_6g_idx() argument
/wlan-driver/qcacld-3.0/core/sme/src/rrm/
H A Dsme_rrm.c901 uint8_t ch_idx; in sme_rrm_issue_scan_req() local
1106 ch_idx = sme_rrm_ctx->currentIndex; in sme_rrm_issue_scan_req()
1107 for (; ch_idx < sme_rrm_ctx->channelList.numOfChannels; ch_idx++) { in sme_rrm_issue_scan_req()
1108 if ((ch_idx + 1) < in sme_rrm_issue_scan_req()
1111 &freq_list[ch_idx], in sme_rrm_issue_scan_req()
1122 &freq_list[ch_idx], in sme_rrm_issue_scan_req()
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_cfg80211.c1738 enum channel_enum ch_idx = wlan_reg_get_chan_enum_for_freq(freq); in wlan_hdd_get_adjacent_chan_freq() local
1740 if (reg_is_chan_enum_invalid(ch_idx)) in wlan_hdd_get_adjacent_chan_freq()
1743 if (upper && (ch_idx < (NUM_CHANNELS - 1))) in wlan_hdd_get_adjacent_chan_freq()
1744 ch_idx++; in wlan_hdd_get_adjacent_chan_freq()
1745 else if (!upper && (ch_idx > CHAN_ENUM_2412)) in wlan_hdd_get_adjacent_chan_freq()
1746 ch_idx--; in wlan_hdd_get_adjacent_chan_freq()
1750 return WLAN_REG_CH_TO_FREQ(ch_idx); in wlan_hdd_get_adjacent_chan_freq()