mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Fix offset for rssi stats from PPDU stats
Initial 12 bytes offset from rx_tlv is not necssary for calucating the rssi related stats. Change-Id: Ic52945e4c44b1d0755629b73737d00ff1c727c53
This commit is contained in:
parent
2b75d6df39
commit
a4fa1ef85d
1 changed files with 3 additions and 3 deletions
|
|
@ -860,15 +860,15 @@ hal_rx_status_get_tlv_info(void *rx_tlv, struct hal_rx_ppdu_info *ppdu_info)
|
|||
HAL_RX_OFFSET(PHYRX_RSSI_LEGACY_3,
|
||||
RECEIVE_RSSI_INFO_PRE_RSSI_INFO_DETAILS);
|
||||
|
||||
ppdu_info->rx_status.rssi_comb = HAL_RX_GET(rssi_info_tlv,
|
||||
ppdu_info->rx_status.rssi_comb = HAL_RX_GET(rx_tlv,
|
||||
PHYRX_RSSI_LEGACY_35, RSSI_COMB);
|
||||
ppdu_info->rx_status.bw = HAL_RX_GET(rssi_info_tlv,
|
||||
ppdu_info->rx_status.bw = HAL_RX_GET(rx_tlv,
|
||||
#if !defined(QCA_WIFI_QCA6290_11AX)
|
||||
PHYRX_RSSI_LEGACY_35, RECEIVE_BANDWIDTH);
|
||||
#else
|
||||
PHYRX_RSSI_LEGACY_0, RECEIVE_BANDWIDTH);
|
||||
#endif
|
||||
ppdu_info->rx_status.preamble_type = HAL_RX_GET(rssi_info_tlv,
|
||||
ppdu_info->rx_status.preamble_type = HAL_RX_GET(rx_tlv,
|
||||
PHYRX_RSSI_LEGACY_0, RECEPTION_TYPE);
|
||||
ppdu_info->rx_status.he_re = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue