qcacmn: Define set params for no host to target conversion
Currently if ENABLE_HOST_TO_TARGET_CONVERSION is defined, host pdev/vdev set params can be translated to target pdev/vdev set params through APIs convert_host_pdev_param_tlv,convert_host_vdev_param_tlv. If ENABLE_HOST_TO_TARGET_CONVERSION is not defined, host pdev/vdev set params in common code is sent to firmware directly, which is incorrect. Define pdev/vdev set params in such away they represents host params on ENABLE_HOST_TO_TARGET_CONVERSION enabled and target params on ENABLE_HOST_TO_TARGET_CONVERSION disabled. Change-Id: I5718c76c351b2d7904d8bf8b603073ffcb0a039d CRs-Fixed: 3321556
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c1bece57dd
commit
7a737732fe
@@ -163,7 +163,7 @@ spatial_reuse_send_pd_threshold(struct wlan_objmgr_pdev *pdev,
|
||||
if (sr_supported) {
|
||||
qdf_mem_zero(&vdev_param, sizeof(vdev_param));
|
||||
vdev_param.vdev_id = vdev_id;
|
||||
vdev_param.param_id = WMI_VDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD;
|
||||
vdev_param.param_id = wmi_vdev_param_set_cmd_obss_pd_threshold;
|
||||
vdev_param.param_value = val;
|
||||
return wmi_unified_vdev_set_param_send(wmi_handle, &vdev_param);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user