qcacmn: Handle RX exception from IPA on WDS-EXT netdev

When WDS_EXT feature is enable, Host needs to redirect
the data packets to WDS extended netdevice.

Change is added the support for forwarding the RX packets
when received from IPA as an exception by deriving the
correct netdevice interface.

Change-Id: I083a1acc72023f3ebe6ea36ec05a5706f89c16bc
CRs-Fixed: 3597357
This commit is contained in:
Gaurav Saini
2023-09-11 14:34:54 +05:30
committed by Rahul Choudhary
parent f58bde59f4
commit b64de0cf4a
11 changed files with 200 additions and 3 deletions

View File

@@ -362,6 +362,19 @@ int dp_ipa_pcie_link_up(struct cdp_soc_t *soc_hdl);
void dp_ipa_pcie_link_down(struct cdp_soc_t *soc_hdl);
#endif
#ifdef QCA_SUPPORT_WDS_EXTENDED
/**
* dp_ipa_rx_wdsext_iface() - Forward RX exception packets to wdsext interface
* @soc_hdl: data path SoC handle
* @peer_id: Peer ID to get respective peer
* @skb: socket buffer
*
* Return: bool
*/
bool dp_ipa_rx_wdsext_iface(struct cdp_soc_t *soc_hdl, uint8_t peer_id,
qdf_nbuf_t skb);
#endif
/**
* dp_ipa_rx_intrabss_fwd() - Perform intra-bss fwd for IPA RX path
*