mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
qcacmn: fix incorrect NSS value in host RX stats
Revert change "Limit maxinum nss number as 2 for MCL platform" and align with WIN function: hal_rx_msdu_start_nss_get_8074v2(). besides, only increase rx.nss[NSS - 1] when NSS is > 0 and rx packet type is 11N/AC/AX. Change-Id: I0a64f00a3d252c806216cc3196e71290f111c88a CRs-Fixed: 2429329
This commit is contained in:
parent
3f43a6924b
commit
e661127fa1
2 changed files with 10 additions and 7 deletions
|
|
@ -55,16 +55,11 @@ hal_rx_msdu_start_nss_get_6390(uint8_t *buf)
|
|||
struct rx_msdu_start *msdu_start =
|
||||
&pkt_tlvs->msdu_start_tlv.rx_msdu_start;
|
||||
uint8_t mimo_ss_bitmap;
|
||||
uint32_t ss_index;
|
||||
|
||||
mimo_ss_bitmap = HAL_RX_MSDU_START_MIMO_SS_BITMAP(msdu_start);
|
||||
ss_index = qdf_get_hweight8(mimo_ss_bitmap);
|
||||
|
||||
/* Hot fix only, maxinum nss number for MCL set to 1 (nss 2)*/
|
||||
if ((ss_index > 1) && (ss_index <= 3))
|
||||
ss_index = 1;
|
||||
return qdf_get_hweight8(mimo_ss_bitmap);
|
||||
|
||||
return ss_index;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue