Lines Matching refs:ch
645 struct wifi_pos_channel_power *ch; in wifi_pos_process_ch_info_req() local
685 ch = ch_list->chan_info; in wifi_pos_process_ch_info_req()
696 freq = ch[i].ch_power.center_freq; in wifi_pos_process_ch_info_req()
713 ch[i].ch_power.center_freq = valid_channel_list[i]; in wifi_pos_process_ch_info_req()
714 ch[i].ch_power.chan_num = wlan_reg_freq_to_chan( in wifi_pos_process_ch_info_req()
715 pdev, ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req()
716 ch[i].ch_power.tx_power = in wifi_pos_process_ch_info_req()
719 ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req()
720 ch[i].is_dfs_chan = wlan_reg_is_dfs_for_freq( in wifi_pos_process_ch_info_req()
722 ch[i].ch_power.center_freq); in wifi_pos_process_ch_info_req()
725 ch[i].ch_power.center_freq, in wifi_pos_process_ch_info_req()
726 &ch[i]); in wifi_pos_process_ch_info_req()
742 ch_info, i, ch[idx].ch_power.center_freq); in wifi_pos_process_ch_info_req()
747 ch_info[i].chan_id = ch[idx].ch_power.chan_num; in wifi_pos_process_ch_info_req()
748 ch_info[i].mhz = ch[idx].ch_power.center_freq; in wifi_pos_process_ch_info_req()
749 ch_info[i].band_center_freq1 = ch[idx].band_center_freq1; in wifi_pos_process_ch_info_req()
754 ch[idx].ch_power.tx_power); in wifi_pos_process_ch_info_req()
756 ch[idx].ch_power.tx_power); in wifi_pos_process_ch_info_req()
758 if (ch[idx].is_dfs_chan) in wifi_pos_process_ch_info_req()
761 if (ch[idx].phy_mode) in wifi_pos_process_ch_info_req()
762 REG_SET_CHANNEL_MODE(&ch_info[i], ch[idx].phy_mode); in wifi_pos_process_ch_info_req()
767 ch[idx].is_dfs_chan, ch[idx].phy_mode); in wifi_pos_process_ch_info_req()