qcacmn: Fix the nss geting from tlv being invalid in 11b mode
Only in 11b mode, exclusive of other legacy modes(11ag) will the NSS obtained from the TLV header be invalid, which is 0 and cannot be resolved. This change will set nss to 1 in 11b. Change-Id: I93e8bdb125764fb0247265da328929ecc837fb84 CRs-Fixed: 3275793
Цей коміт міститься в:

зафіксовано
Madan Koyyalamudi

джерело
c31daef130
коміт
195e4c7d1b
@@ -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,
|
||||
|
Посилання в новій задачі
Заблокувати користувача