Browse Source

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 years ago
parent
commit
f1b1c42cb2
1 changed files with 0 additions and 7 deletions
  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;