qcacmn: add support to send dscp-to-up map to FW

Add support to send DSCP-to-UP map table values to
FW over WMI cmd to update its corresponding map table.

Change-Id: I92c1464881282ead00714d0b115cffd34dc9ba1f
CRs-Fixed: 2617045
此提交包含在:
Vevek Venkatesan
2020-02-06 16:19:52 +05:30
提交者 nshrivas
父節點 9195497a5f
當前提交 f6c3329e23
共有 4 個檔案被更改,包括 100 行新增3 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -65,4 +65,26 @@ wmi_extract_get_elna_bypass_resp(struct wmi_unified *wmi_handle, void *resp_buf,
struct get_elna_bypass_response *resp);
#endif /* WLAN_FEATURE_ELNA */
#ifdef WLAN_SEND_DSCP_UP_MAP_TO_FW
/**
* wmi_unified_send_dscp_tip_map_cmd() - Send dscp-to-tid map values cmd
* @wmi_handle: wmi handle
* @dscp_to_tid_map: array of dscp_tid map values
*
* Send dscp-to-tid map values to FW.
*
* Return: QDF_STATUS
*/
QDF_STATUS
wmi_unified_send_dscp_tip_map_cmd(struct wmi_unified *wmi_handle,
uint32_t *dscp_to_tid_map);
#else
static inline QDF_STATUS
wmi_unified_send_dscp_tip_map_cmd(struct wmi_unified *wmi_handle,
uint32_t *dscp_to_tid_map)
{
return QDF_STATUS_SUCCESS;
}
#endif /* WLAN_SEND_DSCP_UP_MAP_TO_FW */
#endif /* _WMI_UNIFIED_FWOL_API_H_ */