mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Fix incorrect Rx Rate info
Fix incorrect Rx Rate info by anding the value with 7. Change-Id: Ie6c6b768e90b51bd9bce46b5437af1e03f043570 CRs-Fixed: 2460190
This commit is contained in:
parent
bcb10e6676
commit
2d24c56394
1 changed files with 2 additions and 0 deletions
|
|
@ -661,6 +661,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
|
|||
VHT_SIG_A_INFO_0, STBC);
|
||||
value = HAL_RX_GET(vht_sig_a_info,
|
||||
VHT_SIG_A_INFO_0, N_STS);
|
||||
value = value & VHT_SIG_SU_NSS_MASK;
|
||||
if (ppdu_info->rx_status.is_stbc && (value > 0))
|
||||
value = ((value + 1) >> 1) - 1;
|
||||
ppdu_info->rx_status.nss =
|
||||
|
|
@ -674,6 +675,7 @@ hal_rx_status_get_tlv_info_generic(void *rx_tlv_hdr, void *ppduinfo,
|
|||
VHT_SIG_A_INFO_0, STBC);
|
||||
value = HAL_RX_GET(vht_sig_a_info,
|
||||
VHT_SIG_A_INFO_0, N_STS);
|
||||
value = value & VHT_SIG_SU_NSS_MASK;
|
||||
if (ppdu_info->rx_status.is_stbc && (value > 0))
|
||||
value = ((value + 1) >> 1) - 1;
|
||||
ppdu_info->rx_status.nss =
|
||||
|
|
|
|||
Loading…
Reference in a new issue