Ver código fonte

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
Rakesh Pillai 3 anos atrás
pai
commit
b93b4af698
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2 4
      hal/wifi3.0/be/hal_be_generic_api.h

+ 2 - 4
hal/wifi3.0/be/hal_be_generic_api.h

@@ -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;