qcacmn: Fix timestamp parsing from TLV for kiwi

For KIWI target, 64-bit timestamp is reported
in the PHY TLVs. use the first 32-bits timestamp
value for the radiotap header.

Change-Id: Ia7d7a6913e4cdca3a1432cc5edbb0348ec8a6857
CRs-Fixed: 3096680
This commit is contained in:
Rakesh Pillai
2021-12-17 19:36:19 +05:30
committed by Madan Koyyalamudi
parent 1c27daa164
commit b93b4af698

View File

@@ -455,12 +455,10 @@ hal_rx_status_get_tlv_info_generic_be(void *rx_tlv_hdr, void *ppduinfo,
ppdu_info->rx_status.chan_num,
ppdu_info->rx_status.chan_freq);
}
#ifdef DP_BE_NOTYET_WAR
// TODO - timestamp is changed to 64-bit for wcn7850
ppdu_info->com_info.ppdu_timestamp =
HAL_RX_GET(rx_tlv, RX_PPDU_START,
PPDU_START_TIMESTAMP);
#endif
PPDU_START_TIMESTAMP_31_0);
ppdu_info->rx_status.ppdu_timestamp =
ppdu_info->com_info.ppdu_timestamp;
ppdu_info->rx_state = HAL_RX_MON_PPDU_START;