diff --git a/dp/inc/cdp_txrx_cmn.h b/dp/inc/cdp_txrx_cmn.h index 700751fa43..c917cda7b8 100644 --- a/dp/inc/cdp_txrx_cmn.h +++ b/dp/inc/cdp_txrx_cmn.h @@ -139,7 +139,7 @@ enum { }; /* - * BW types of used for RX PPDU + * BW types used for RX PPDU */ enum rx_tlv_bw { RX_TLV_BW_20MHZ, diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index 418f83abe5..1f1bd59690 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -2290,6 +2290,10 @@ dp_rx_rates_stats_update(struct dp_soc *soc, qdf_nbuf_t nbuf, DP_PEER_EXTD_STATS_UPD(txrx_peer, rx.rx_rate, mcs); + /* In 11b mode, the nss we get from tlv is 0, invalid and should be 1 */ + if (pkt_type == DOT11_B) + nss = 1; + /* here pkt_type corresponds to preamble */ ratekbps = dp_getrateindex(sgi, mcs,