mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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
This commit is contained in:
parent
24895ade0c
commit
a78f35577e
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue