Searched refs:ch_idx (Results 1 – 6 of 6) sorted by relevance
741 int i = 0, ch_idx; in wlan_parse_afc_rsp_opclass_eirp() local766 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()
55 enum channel_enum ch_idx; in reg_chan_has_dfs_attribute_for_freq() local58 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()
4205 enum channel_enum ch_idx; in reg_get_nol_channel_state() local4208 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() local4372 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() local4420 ch_idx = reg_get_chan_enum_for_freq(freq); in reg_get_channel_state_from_secondary_list_for_freq()[all …]
2449 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
901 uint8_t ch_idx; in sme_rrm_issue_scan_req() local1106 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()
1738 enum channel_enum ch_idx = wlan_reg_get_chan_enum_for_freq(freq); in wlan_hdd_get_adjacent_chan_freq() local1740 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()