瀏覽代碼

qcacmn: Correct registers when populate cfr information

Correct registers when populate mcs & gI parameters to cfr_info for
KIWI.

Change-Id: I323df60ec6e30541f85032a7affaade0e1dca177
CRs-Fixed: 3121694
Wu Gao 3 年之前
父節點
當前提交
62706fd667
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      hal/wifi3.0/kiwi/hal_kiwi_rx.h

+ 8 - 8
hal/wifi3.0/kiwi/hal_kiwi_rx.h

@@ -153,42 +153,42 @@ void hal_rx_get_rtt_info_kiwi(void *rx_tlv,
 		   RESERVED_3);
 	ppdu_info->cfr_info.rx_start_ts =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_9_RX_PKT_END_DETAILS_RX_LOCATION_INFO_DETAILS,
+		   RX_LOCATION_INFO,
 		   RX_START_TS);
 
 	ppdu_info->cfr_info.rtt_cfo_measurement = (int16_t)
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_13_RX_PKT_END_DETAILS_RX_LOCATION_INFO_DETAILS,
+		   RX_LOCATION_INFO,
 		   RTT_CFO_MEASUREMENT);
 
 	ppdu_info->cfr_info.agc_gain_info0 =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_1_RX_PKT_END_DETAILS,
+		   PHYRX_PKT_END_RX_PKT_END_DETAILS,
 		   PHY_TIMESTAMP_1_LOWER_32);
 
 	ppdu_info->cfr_info.agc_gain_info1 =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_2_RX_PKT_END_DETAILS,
+		   PHYRX_PKT_END_RX_PKT_END_DETAILS,
 		   PHY_TIMESTAMP_1_UPPER_32);
 
 	ppdu_info->cfr_info.agc_gain_info2 =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_3_RX_PKT_END_DETAILS,
+		   PHYRX_PKT_END_RX_PKT_END_DETAILS,
 		   PHY_TIMESTAMP_2_LOWER_32);
 
 	ppdu_info->cfr_info.agc_gain_info3 =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_4_RX_PKT_END_DETAILS,
+		   PHYRX_PKT_END_RX_PKT_END_DETAILS,
 		   PHY_TIMESTAMP_2_UPPER_32);
 
 	ppdu_info->cfr_info.mcs_rate =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_8_RX_PKT_END_DETAILS_RX_LOCATION_INFO_DETAILS,
+		   PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS,
 		   RTT_MCS_RATE);
 
 	ppdu_info->cfr_info.gi_type =
 	HAL_RX_GET(rx_tlv,
-		   PHYRX_PKT_END_8_RX_PKT_END_DETAILS_RX_LOCATION_INFO_DETAILS,
+		   PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS,
 		   RTT_GI_TYPE);
 }
 #endif