|
@@ -1761,29 +1761,21 @@ hal_rx_msdu_end_da_idx_get(hal_soc_handle_t hal_soc_hdl, uint8_t *buf)
|
|
|
return hal_soc->ops->hal_rx_msdu_end_da_idx_get(buf);
|
|
|
}
|
|
|
|
|
|
-#define HAL_RX_MSDU_END_DA_IS_VALID_GET(_rx_msdu_end) \
|
|
|
- (_HAL_MS((*_OFFSET_TO_WORD_PTR(_rx_msdu_end, \
|
|
|
- RX_MSDU_END_5_DA_IS_VALID_OFFSET)), \
|
|
|
- RX_MSDU_END_5_DA_IS_VALID_MASK, \
|
|
|
- RX_MSDU_END_5_DA_IS_VALID_LSB))
|
|
|
-
|
|
|
- /**
|
|
|
+/**
|
|
|
* hal_rx_msdu_end_da_is_valid_get: API to check if da is valid
|
|
|
* from rx_msdu_end TLV
|
|
|
- *
|
|
|
+ * @hal_soc_hdl: hal soc handle
|
|
|
* @ buf: pointer to the start of RX PKT TLV headers
|
|
|
+ *
|
|
|
* Return: da_is_valid
|
|
|
*/
|
|
|
static inline uint8_t
|
|
|
-hal_rx_msdu_end_da_is_valid_get(uint8_t *buf)
|
|
|
+hal_rx_msdu_end_da_is_valid_get(hal_soc_handle_t hal_soc_hdl,
|
|
|
+ uint8_t *buf)
|
|
|
{
|
|
|
- struct rx_pkt_tlvs *pkt_tlvs = (struct rx_pkt_tlvs *)buf;
|
|
|
- struct rx_msdu_end *msdu_end = &pkt_tlvs->msdu_end_tlv.rx_msdu_end;
|
|
|
- uint8_t da_is_valid;
|
|
|
-
|
|
|
- da_is_valid = HAL_RX_MSDU_END_DA_IS_VALID_GET(msdu_end);
|
|
|
+ struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
|
|
|
|
|
- return da_is_valid;
|
|
|
+ return hal_soc->ops->hal_rx_msdu_end_da_is_valid_get(buf);
|
|
|
}
|
|
|
|
|
|
/**
|