|
@@ -1754,6 +1754,20 @@ static inline uint8_t hal_get_first_wow_wakeup_packet_6450(uint8_t *buf)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+/**
|
|
|
+ * hal_rx_tlv_l3_type_get_6450() - Function to retrieve l3_type
|
|
|
+ * @buf: Network buffer
|
|
|
+ *
|
|
|
+ * Return: l3_type
|
|
|
+ */
|
|
|
+static uint32_t hal_rx_tlv_l3_type_get_6450(uint8_t *buf)
|
|
|
+{
|
|
|
+ struct rx_pkt_tlvs *pkt_tlvs = hal_rx_get_pkt_tlvs(buf);
|
|
|
+ struct rx_msdu_end *msdu_end = &pkt_tlvs->msdu_end_tlv.rx_msdu_end;
|
|
|
+
|
|
|
+ return HAL_RX_MSDU_END_L3_TYPE_GET(msdu_end);
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* hal_rx_msdu_start_get_len_6450(): API to get the MSDU length
|
|
|
* from rx_msdu_start TLV
|
|
@@ -1987,6 +2001,8 @@ static void hal_hw_txrx_ops_attach_wcn6450(struct hal_soc *hal_soc)
|
|
|
#endif
|
|
|
hal_soc->ops->hal_compute_reo_remap_ix0 =
|
|
|
hal_compute_reo_remap_ix0_6450;
|
|
|
+ hal_soc->ops->hal_rx_tlv_l3_type_get =
|
|
|
+ hal_rx_tlv_l3_type_get_6450;
|
|
|
hal_soc->ops->hal_rx_tlv_msdu_len_get =
|
|
|
hal_rx_msdu_start_get_len_6450;
|
|
|
}
|