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
这个提交包含在:
Alok Kumar
2019-07-17 19:53:45 +05:30
提交者 nshrivas
父节点 f0a42162ac
当前提交 9551ea2d0e
修改 2 个文件,包含 19 行新增20 行删除

查看文件

@@ -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 */

查看文件

@@ -50,26 +50,6 @@
#define MAX_NUM_PKT_LOG 32
/**
* struct 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
* alreay 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,
};
#define LOGGING_TRACE(level, args ...) \
QDF_TRACE(QDF_MODULE_ID_HDD, level, ## args)