From 3948e3f769f86cd245a85b1b8ae55c180739378f Mon Sep 17 00:00:00 2001 From: Subrat Mishra Date: Thu, 25 Jul 2019 14:37:43 +0530 Subject: [PATCH] qcacmn: Add Smart Antenna TX completion stats Add Smart Antenna Tx completion feedback feilds to cdp_tx_completion_ppdu_user structure Change-Id: I1978e70591897b40d43b314f35d9460b5ba7c43d CRs-Fixed: 2476518 --- dp/inc/cdp_txrx_cmn_struct.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index cfd2109e808a..0081d395d649 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -1198,6 +1198,11 @@ struct cdp_tx_sojourn_stats { * @cookie: cookie to used by upper layer * @is_ppdu_cookie_valid : Indicates that ppdu_cookie is valid * @ppdu_cookie: 16-bit ppdu_cookie + * @sa_is_training: smart antenna training packets indication + * @rssi_chain: rssi chain per bandwidth + * @sa_tx_antenna: antenna in which packet is transmitted + * @sa_max_rates: smart antenna tx feedback info max rates + * @sa_goodput: smart antenna tx feedback info goodput */ struct cdp_tx_completion_ppdu_user { uint32_t completion_status:8, @@ -1256,6 +1261,11 @@ struct cdp_tx_completion_ppdu_user { struct cdp_stats_cookie *cookie; uint8_t is_ppdu_cookie_valid; uint16_t ppdu_cookie; + uint8_t sa_is_training; + uint32_t rssi_chain[CDP_RSSI_CHAIN_LEN]; + uint32_t sa_tx_antenna; + uint32_t sa_max_rates; + uint32_t sa_goodput; }; /**