Lines Matching refs:chan_info
2395 struct wmi_channel *chan_info; in ath11k_wmi_send_scan_chan_list_cmd() local
2407 sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2415 len += sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2435 len = sizeof(*chan_info) * num_send_chans; in ath11k_wmi_send_scan_chan_list_cmd()
2442 chan_info = ptr; in ath11k_wmi_send_scan_chan_list_cmd()
2443 memset(chan_info, 0, sizeof(*chan_info)); in ath11k_wmi_send_scan_chan_list_cmd()
2444 len = sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()
2445 chan_info->tlv_header = FIELD_PREP(WMI_TLV_TAG, in ath11k_wmi_send_scan_chan_list_cmd()
2450 reg1 = &chan_info->reg_info_1; in ath11k_wmi_send_scan_chan_list_cmd()
2451 reg2 = &chan_info->reg_info_2; in ath11k_wmi_send_scan_chan_list_cmd()
2452 chan_info->mhz = tchan_info->mhz; in ath11k_wmi_send_scan_chan_list_cmd()
2453 chan_info->band_center_freq1 = tchan_info->cfreq1; in ath11k_wmi_send_scan_chan_list_cmd()
2454 chan_info->band_center_freq2 = tchan_info->cfreq2; in ath11k_wmi_send_scan_chan_list_cmd()
2457 chan_info->info |= WMI_CHAN_INFO_PASSIVE; in ath11k_wmi_send_scan_chan_list_cmd()
2459 chan_info->info |= WMI_CHAN_INFO_ALLOW_HE; in ath11k_wmi_send_scan_chan_list_cmd()
2461 chan_info->info |= WMI_CHAN_INFO_ALLOW_VHT; in ath11k_wmi_send_scan_chan_list_cmd()
2463 chan_info->info |= WMI_CHAN_INFO_ALLOW_HT; in ath11k_wmi_send_scan_chan_list_cmd()
2465 chan_info->info |= WMI_CHAN_INFO_HALF_RATE; in ath11k_wmi_send_scan_chan_list_cmd()
2467 chan_info->info |= WMI_CHAN_INFO_QUARTER_RATE; in ath11k_wmi_send_scan_chan_list_cmd()
2469 chan_info->info |= WMI_CHAN_INFO_PSC; in ath11k_wmi_send_scan_chan_list_cmd()
2471 chan_info->info |= WMI_CHAN_INFO_DFS; in ath11k_wmi_send_scan_chan_list_cmd()
2473 chan_info->info |= FIELD_PREP(WMI_CHAN_INFO_MODE, in ath11k_wmi_send_scan_chan_list_cmd()
2490 i, chan_info->mhz, chan_info->info); in ath11k_wmi_send_scan_chan_list_cmd()
2492 ptr += sizeof(*chan_info); in ath11k_wmi_send_scan_chan_list_cmd()