Searched refs:max_chan_limit (Results 1 – 2 of 2) sorted by relevance
2455 u16 num_send_chans, num_sends = 0, max_chan_limit = 0; in ath12k_wmi_send_scan_chan_list_cmd() local2461 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd()2464 num_send_chans = min(arg->nallchans, max_chan_limit); in ath12k_wmi_send_scan_chan_list_cmd()
2443 u16 num_send_chans, num_sends = 0, max_chan_limit = 0; in ath11k_wmi_send_scan_chan_list_cmd() local2449 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd()2452 if (chan_list->nallchans > max_chan_limit) in ath11k_wmi_send_scan_chan_list_cmd()2453 num_send_chans = max_chan_limit; in ath11k_wmi_send_scan_chan_list_cmd()