소스 검색

qcacmn: Add support for sending bigger chunk CTL table bin file

removing Length check temporarily
as existing length check is not applicable for HK.
In HK, CTL bin file size for 5G is 26556 bytes and
for 2G is 5852 bytes. 1.7K is the maximum payload size supported by TLV.
To support, we add header info: seq, endflag, total_len
before each chunks. Total bin files are transferred
as multiple chunks with header info on the top.

Change-Id: I7aedf85d6ee66a99cb4b6dca464dbe02caec371b
nobelj 7 년 전
부모
커밋
f1b1c42cb2
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      wmi_unified_tlv.c

+ 0 - 7
wmi_unified_tlv.c

@@ -11012,13 +11012,6 @@ send_set_ctl_table_cmd_tlv(wmi_unified_t wmi_handle,
 	if (!param->ctl_array)
 		return QDF_STATUS_E_FAILURE;
 
-	if (param->ctl_cmd_len !=
-		WMI_HOST_NUM_CTLS_2G * WMI_HOST_NUM_BAND_EDGES_2G * 2 +
-		WMI_HOST_NUM_CTLS_5G * WMI_HOST_NUM_BAND_EDGES_5G * 2) {
-		qdf_print("CTL array len not correct\n");
-		return QDF_STATUS_E_FAILURE;
-	}
-
 	ctl_tlv_len = WMI_TLV_HDR_SIZE +
 		roundup(param->ctl_cmd_len, sizeof(A_UINT32));
 	len = sizeof(*cmd) + ctl_tlv_len;