qcacmn: Increase max value of unit test arguments to 100

Increase the maximum value of unit test arguments to 100 to include
support DL OFDMA RU allocations for testing / debug.

Change-Id: I33ed8d53931e33cc00069653ea38b543339203c0
CRs-Fixed: 2175616
This commit is contained in:
Shaakir Mohamed 2018-01-19 15:49:23 -08:00 • committed by snandini
commit a8489d50b9
2 changed files with 4 additions and 4 deletions

View file

@ -15678,7 +15678,7 @@ static QDF_STATUS send_unit_test_cmd_tlv(wmi_unified_t wmi_handle,
WMI_LOGI("%s: MODULE ID: %d\n", __func__, cmd->module_id);
WMI_LOGI("%s: TOKEN: %d\n", __func__, cmd->diag_token);
WMI_LOGI("%s: %d num of args = ", __func__, wmi_utest->num_args);
for (i = 0; (i < wmi_utest->num_args && i < WMI_MAX_NUM_ARGS); i++) {
for (i = 0; (i < wmi_utest->num_args && i < WMI_UNIT_TEST_MAX_NUM_ARGS); i++) {
unit_test_cmd_args[i] = wmi_utest->args[i];
WMI_LOGI("%d,", wmi_utest->args[i]);
}
@ -16558,7 +16558,7 @@ static QDF_STATUS send_power_dbg_cmd_tlv(wmi_unified_t wmi_handle,
(param->num_args * sizeof(uint32_t)));
cmd_args = (uint32_t *) (buf_ptr + WMI_TLV_HDR_SIZE);
WMI_LOGI("%s: %d num of args = ", __func__, param->num_args);
for (i = 0; (i < param->num_args && i < WMI_MAX_NUM_ARGS); i++) {
for (i = 0; (i < param->num_args && i < WMI_UNIT_TEST_MAX_NUM_ARGS); i++) {
cmd_args[i] = param->args[i];
WMI_LOGI("%d,", param->args[i]);
}