qcacmn: Use HAL_RX_GET_64 to read cfr elements
Host failed to read some of cfr elements by HAL_RX_GET for Waikiki since their LSB is big then 32 and reading 4 bytes isn't enough. This change reads 8 bytes and then gets cfr elements properly. CRs-Fixed: 3241915 Change-Id: I0863f22a1cc0c5fd490ec3669ff6a97b27c66f15
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
2c87e51684
commit
b9951fb457
@@ -102,9 +102,9 @@
|
||||
#define PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_CHAN_CAPTURE_STATUS_MSB 2
|
||||
|
||||
#define HAL_GET_RX_LOCATION_INFO_CHAN_CAPTURE_STATUS(rx_tlv) \
|
||||
((HAL_RX_GET((rx_tlv), \
|
||||
PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS, \
|
||||
RTT_CFR_STATUS) & \
|
||||
((HAL_RX_GET_64((rx_tlv), \
|
||||
PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS, \
|
||||
RTT_CFR_STATUS) & \
|
||||
PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_CHAN_CAPTURE_STATUS_BMASK) >> \
|
||||
PHYRX_LOCATION_RX_LOCATION_INFO_DETAILS_CHAN_CAPTURE_STATUS_LSB)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user