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
这个提交包含在:
@@ -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)
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户