|
@@ -3219,12 +3219,6 @@ hal_rx_msdu_flow_idx_get(hal_soc_handle_t hal_soc_hdl,
|
|
|
return hal_soc->ops->hal_rx_msdu_flow_idx_get(buf);
|
|
|
}
|
|
|
|
|
|
-#define HAL_RX_MSDU_END_FLOW_IDX_TIMEOUT_GET(_rx_msdu_end) \
|
|
|
- (_HAL_MS((*_OFFSET_TO_WORD_PTR(_rx_msdu_end, \
|
|
|
- RX_MSDU_END_5_FLOW_IDX_TIMEOUT_OFFSET)), \
|
|
|
- RX_MSDU_END_5_FLOW_IDX_TIMEOUT_MASK, \
|
|
|
- RX_MSDU_END_5_FLOW_IDX_TIMEOUT_LSB))
|
|
|
-
|
|
|
/**
|
|
|
* hal_rx_msdu_flow_idx_timeout: API to get flow index timeout
|
|
|
* from rx_msdu_end TLV
|
|
@@ -3232,14 +3226,13 @@ hal_rx_msdu_flow_idx_get(hal_soc_handle_t hal_soc_hdl,
|
|
|
*
|
|
|
* Return: flow index timeout value from MSDU END TLV
|
|
|
*/
|
|
|
-static inline bool hal_rx_msdu_flow_idx_timeout(uint8_t *buf)
|
|
|
+static inline bool
|
|
|
+hal_rx_msdu_flow_idx_timeout(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;
|
|
|
- bool timeout;
|
|
|
+ struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
|
|
|
|
|
- timeout = HAL_RX_MSDU_END_FLOW_IDX_TIMEOUT_GET(msdu_end);
|
|
|
- return timeout;
|
|
|
+ return hal_soc->ops->hal_rx_msdu_flow_idx_timeout(buf);
|
|
|
}
|
|
|
|
|
|
/**
|