qcacmn: Process smart antenna fields from tlv

Process smart antenna fields from tlv
HTT_PPDU_STATS_USR_COMPLTN_COMMON_TLV in tx
completion path and export it to tx_completion.

Change-Id: If14e711b0aee8e583fd329f3c3915904649ffe47
CRs-Fixed: 2491429
diff --git a/dp/wifi3.0/dp_rx_mon_status.c b/dp/wifi3.0/dp_rx_mon_status.c
index 463bd60..ddad467 100644
--- a/dp/wifi3.0/dp_rx_mon_status.c
+++ b/dp/wifi3.0/dp_rx_mon_status.c
@@ -401,6 +401,7 @@
 	uint32_t ppdu_rx_rate = 0;
 	uint32_t nss = 0;
 	uint32_t rix;
+	uint16_t ratecode;
 
 	if (!peer || !ppdu)
 		return;
@@ -415,7 +416,8 @@
 				   nss,
 				   ppdu->u.preamble,
 				   ppdu->u.bw,
-				   &rix);
+				   &rix,
+				   &ratecode);
 
 	if (!ratekbps)
 		return;
@@ -426,9 +428,7 @@
 	ppdu_rx_rate = dp_ath_rate_out(peer->stats.rx.avg_rx_rate);
 	DP_STATS_UPD(peer, rx.rnd_avg_rx_rate, ppdu_rx_rate);
 	ppdu->rx_ratekbps = ratekbps;
-	ppdu->rx_ratecode = CDP_TXRX_RATECODE(ppdu->u.mcs,
-					      nss,
-					      ppdu->u.preamble);
+	ppdu->rx_ratecode = ratecode;
 
 	if (peer->vdev)
 		peer->vdev->stats.rx.last_rx_rate = ratekbps;