소스 검색

qcacmn: Add support to append scan channel list

Add append bit in scan channel list command. If append bit
is set, new channels will be appended to existing channel
list else existing channel list will be over written
by new channel list.

Change-Id: I0b1ecd2b809aafe6e524a05aacd5b14c80640556
CRs-Fixed: 2159802
Om Prakash Tripathi 7 년 전
부모
커밋
cd851c6517
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      wmi_unified_tlv.c

+ 3 - 0
wmi_unified_tlv.c

@@ -2701,6 +2701,9 @@ static QDF_STATUS send_scan_chan_list_cmd_tlv(wmi_unified_t wmi_handle,
 
 	WMI_LOGD("no of channels = %d, len = %d", chan_list->nallchans, len);
 
+	if (chan_list->append)
+		cmd->flags |= APPEND_TO_EXISTING_CHAN_LIST;
+
 	cmd->pdev_id = wmi_handle->ops->convert_pdev_id_host_to_target(
 							chan_list->pdev_id);
 	cmd->num_scan_chans = chan_list->nallchans;