|
@@ -360,6 +360,24 @@ static uint32_t hal_rx_mpdu_get_to_ds_6290(uint8_t *buf)
|
|
|
|
|
|
return HAL_RX_MPDU_GET_TODS(mpdu_info);
|
|
return HAL_RX_MPDU_GET_TODS(mpdu_info);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * hal_rx_mpdu_get_fr_ds_6290(): API to get the from ds info
|
|
|
|
+ * from rx_mpdu_start
|
|
|
|
+ *
|
|
|
|
+ * @buf: pointer to the start of RX PKT TLV header
|
|
|
|
+ * Return: uint32_t(fr_ds)
|
|
|
|
+ */
|
|
|
|
+static uint32_t hal_rx_mpdu_get_fr_ds_6290(uint8_t *buf)
|
|
|
|
+{
|
|
|
|
+ struct rx_pkt_tlvs *pkt_tlvs = (struct rx_pkt_tlvs *)buf;
|
|
|
|
+ struct rx_mpdu_start *mpdu_start =
|
|
|
|
+ &pkt_tlvs->mpdu_start_tlv.rx_mpdu_start;
|
|
|
|
+
|
|
|
|
+ struct rx_mpdu_info *mpdu_info = &mpdu_start->rx_mpdu_info_details;
|
|
|
|
+
|
|
|
|
+ return HAL_RX_MPDU_GET_FROMDS(mpdu_info);
|
|
|
|
+}
|
|
struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
|
|
struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
|
|
/* init and setup */
|
|
/* init and setup */
|
|
hal_srng_dst_hw_init_generic,
|
|
hal_srng_dst_hw_init_generic,
|
|
@@ -415,6 +433,7 @@ struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
|
|
hal_rx_get_mpdu_mac_ad4_valid_6290,
|
|
hal_rx_get_mpdu_mac_ad4_valid_6290,
|
|
hal_rx_mpdu_start_sw_peer_id_get_6290,
|
|
hal_rx_mpdu_start_sw_peer_id_get_6290,
|
|
hal_rx_mpdu_get_to_ds_6290,
|
|
hal_rx_mpdu_get_to_ds_6290,
|
|
|
|
+ hal_rx_mpdu_get_fr_ds_6290,
|
|
};
|
|
};
|
|
|
|
|
|
struct hal_hw_srng_config hw_srng_table_6290[] = {
|
|
struct hal_hw_srng_config hw_srng_table_6290[] = {
|