qcacmn: Define tx_status enum in wlan_logging_sock_svc.h

Add the tx_status enum in wlan_logging_sock_svc.h so that
enum can be used for MGMT TX status mapping in wma_mgmt.c

Change-Id: I5681e6fcc39704b6be18bc68b1042e0e6b53f590
CRs-Fixed: 2491787
This commit is contained in:
Alok Kumar
2019-07-17 19:53:45 +05:30
committed by nshrivas
parent f0a42162ac
commit 9551ea2d0e
2 changed files with 19 additions and 20 deletions

View File

@@ -95,5 +95,24 @@ void wlan_pkt_stats_to_logger_thread(void *pl_hdr, void *pkt_dump, void *data)
}
#endif
/**
* enum tx_status - tx status
* @tx_status_ok: successfully sent + acked
* @tx_status_discard: discard - not sent (congestion control)
* @tx_status_no_ack: no_ack - sent, but no ack
* @tx_status_download_fail: download_fail -
* the host could not deliver the tx frame to the target
* @tx_status_peer_del: peer_del - tx completion for
* already deleted peer used for HL case
*
* This enum has tx status types
*/
enum tx_status {
tx_status_ok,
tx_status_discard,
tx_status_no_ack,
tx_status_download_fail,
tx_status_peer_del,
};
#endif /* WLAN_LOGGING_SOCK_SVC_H */