|
@@ -585,6 +585,23 @@ static uint32_t hal_rx_tid_get_8074v2(hal_soc_handle_t hal_soc_hdl,
|
|
|
|
|
|
return HAL_RX_NON_QOS_TID;
|
|
return HAL_RX_NON_QOS_TID;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * hal_rx_hw_desc_get_ppduid_get_8074v2(): retrieve ppdu id
|
|
|
|
+ * @hw_desc_addr: hw addr
|
|
|
|
+ *
|
|
|
|
+ * Return: ppdu id
|
|
|
|
+ */
|
|
|
|
+static uint32_t hal_rx_hw_desc_get_ppduid_get_8074v2(void *hw_desc_addr)
|
|
|
|
+{
|
|
|
|
+ struct rx_mpdu_info *rx_mpdu_info;
|
|
|
|
+ struct rx_pkt_tlvs *rx_desc = (struct rx_pkt_tlvs *)hw_desc_addr;
|
|
|
|
+
|
|
|
|
+ rx_mpdu_info =
|
|
|
|
+ &rx_desc->mpdu_start_tlv.rx_mpdu_start.rx_mpdu_info_details;
|
|
|
|
+
|
|
|
|
+ return HAL_RX_GET(rx_mpdu_info, RX_MPDU_INFO_0, PHY_PPDU_ID);
|
|
|
|
+}
|
|
struct hal_hw_txrx_ops qca8074v2_hal_hw_txrx_ops = {
|
|
struct hal_hw_txrx_ops qca8074v2_hal_hw_txrx_ops = {
|
|
|
|
|
|
/* init and setup */
|
|
/* init and setup */
|
|
@@ -650,6 +667,7 @@ struct hal_hw_txrx_ops qca8074v2_hal_hw_txrx_ops = {
|
|
hal_rx_get_mpdu_sequence_control_valid_8074v2,
|
|
hal_rx_get_mpdu_sequence_control_valid_8074v2,
|
|
hal_rx_is_unicast_8074v2,
|
|
hal_rx_is_unicast_8074v2,
|
|
hal_rx_tid_get_8074v2,
|
|
hal_rx_tid_get_8074v2,
|
|
|
|
+ hal_rx_hw_desc_get_ppduid_get_8074v2,
|
|
};
|
|
};
|
|
|
|
|
|
struct hal_hw_srng_config hw_srng_table_8074v2[] = {
|
|
struct hal_hw_srng_config hw_srng_table_8074v2[] = {
|