qcacmn: Add API to update cmn vdev mlme structures

Add API to update cmn vdev mlme structures,
with the addition of new members to the new mlme
vdev structure,new api's are required to update
those members which will be subsequently used the
new mlme target if layer to send commands to the firmware

Change-Id: I9618613c0ad00f78003cd32951b30b631934ba71
Dieser Commit ist enthalten in:
Akshay Kosigi
2019-02-19 11:44:40 +05:30
committet von nshrivas
Ursprung 9963d87b8e
Commit 1726ae21c5
17 geänderte Dateien mit 888 neuen und 205 gelöschten Zeilen

Datei anzeigen

@@ -1469,14 +1469,23 @@ static QDF_STATUS send_set_sta_ps_param_cmd_tlv(wmi_unified_t wmi_handle,
WMITLV_GET_STRUCT_TLVLEN
(wmi_sta_powersave_param_cmd_fixed_param));
cmd->vdev_id = param->vdev_id;
#ifdef CMN_VDEV_MGR_TGT_IF_ENABLE
cmd->param = param->param_id;
#else
cmd->param = param->param;
#endif
cmd->value = param->value;
wmi_mtrace(WMI_STA_POWERSAVE_PARAM_CMDID, cmd->vdev_id, 0);
if (wmi_unified_cmd_send(wmi_handle, buf, len,
WMI_STA_POWERSAVE_PARAM_CMDID)) {
#ifdef CMN_VDEV_MGR_TGT_IF_ENABLE
WMI_LOGE("Set Sta Ps param Failed vdevId %d Param %d val %d",
param->vdev_id, param->param_id, param->value);
#else
WMI_LOGE("Set Sta Ps param Failed vdevId %d Param %d val %d",
param->vdev_id, param->param, param->value);
#endif
wmi_buf_free(buf);
return QDF_STATUS_E_FAILURE;
}