qcacmn: Add method to configure TID queues flush

This enables the option to configure when a peer's
TID queue needs to be flushed. This is required to
discard packets that are no longer useful to the application.

Change-Id: I558debff043fc0c8038e5f5f2c815b64c90e1561
CRs-Fixed: 3130422
This commit is contained in:
Madhvapathi Sriram
2022-05-06 13:56:42 +05:30
committed by Madan Koyyalamudi
parent f666bb4d71
commit f4bfa6616b
10 changed files with 422 additions and 2 deletions

View File

@@ -934,6 +934,18 @@ QDF_STATUS
wmi_unified_peer_flush_tids_send(wmi_unified_t wmi_handle,
uint8_t peer_addr[QDF_MAC_ADDR_SIZE],
struct peer_flush_params *param);
#ifdef WLAN_FEATURE_PEER_TXQ_FLUSH_CONF
/**
* wmi_unified_peer_txq_flush_config_send() - peer txq flush policy config in fw
* @wmi_handle: wmi handle
* @pr: peer txq flush config parameters
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_unified_peer_txq_flush_config_send(wmi_unified_t wmi_handle,
struct peer_txq_flush_config_params *pr);
#endif
/**
* wmi_unified_peer_delete_all_send() - send PEER delete all command to fw