qcacmn: Add optional wifi datapath feature ipa layer
This change adds the optional wifi datapath feature to transfer data to and from modem via WLAN. By using the existing path between WLAN and IPA, this change registers new interfaces between IPA and WLAN to reserve, add, delete and release rx filters, which are required for setting up CCE filter rules. These filters help to determine which packets need to be routed to IPA specific REO rings. Change-Id: I17c2ab77ae343f15d6b79fa02bb70ed62294089c CRs-Fixed: 3403314
This commit is contained in:

committed by
Madan Koyyalamudi

parent
d1d1ea0482
commit
aab63b2b96
@@ -8423,6 +8423,9 @@ static void dp_peer_setup_get_reo_hash(struct dp_vdev *vdev,
|
||||
} else if (vdev->opmode == wlan_op_mode_sta &&
|
||||
dp_ipa_is_mdm_platform()) {
|
||||
*reo_dest = IPA_REO_DEST_RING_IDX + 1;
|
||||
} else if (vdev->opmode == wlan_op_mode_sta &&
|
||||
(!dp_ipa_is_mdm_platform())) {
|
||||
dp_debug("opt_dp: default reo ring is set");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15150,6 +15153,11 @@ static struct cdp_ipa_ops dp_ops_ipa = {
|
||||
#ifdef QCA_ENHANCED_STATS_SUPPORT
|
||||
.ipa_update_peer_rx_stats = dp_ipa_update_peer_rx_stats,
|
||||
#endif
|
||||
#ifdef IPA_OPT_WIFI_DP
|
||||
.ipa_rx_super_rule_setup = dp_ipa_rx_super_rule_setup,
|
||||
.ipa_pcie_link_up = dp_ipa_pcie_link,
|
||||
.ipa_pcie_link_down = dp_ipa_pcie_link_down,
|
||||
#endif
|
||||
#ifdef IPA_WDS_EASYMESH_FEATURE
|
||||
.ipa_ast_create = dp_ipa_ast_create,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user