summaryrefslogtreecommitdiff
path: root/ipacm/inc
AgeCommit message (Collapse)Author
2019-06-04Merge remote-tracking branch ↵android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseandroid10-d4-s1-releaseandroid10-d4-releaseCyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.167' into qt-r1-dev Conflicts: ipacm/src/Android.mk Bug: 134087013 Change-Id: I945efee74f60a919916d4632a3e7c83512b61245
2019-05-22Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.158' into qt-r1-dev Bug: 132954074 Change-Id: If77548c6d39e38c30b98d00abbf66810562ff72b
2019-05-17Merge "ipacm: add support on softap intra-bss hw-offload"qctecmdr
2019-05-15ipacm: add support on softap intra-bss hw-offloadSkylar Chang
Add the support to offload the intra-bss traffic between softap clients to use IPA-HW. Change-Id: I86bee6a5777375008ff54113cb1457333b7253ca
2019-05-15ipacm: support clat on non-internet PDNSkylar Chang
Seeing ipacm was using the wrong mux-id to construct modem UL clat rules which causes modem drops those non-translated ipv4 pkts. The fix is to propagate the right mux-id to LAN/WLAN instance to install the modem UL clat rules with right clat mux-id. Change-Id: Ie1e363866489fe67782b6b3abf41ff6fb2e75b22
2019-05-14ipacm: offload 11AD clientsAmir Levy
11AD protocol is operated by WIGIG driver and is connected to IPA by ipa_wigig client. This change adds data path changes to offload 11ad clients. Change-Id: I288f9587ab86d5ac52c66024982a80beeeeeb6b1
2019-04-28ipacm: reset ext prop flag and ext_prop when received SSR event.Pooja Kumari
After SSR if we receive different number of rules than bootup, still same number of rule is getting installed as bootup. Reset ext prop flag ext_prop variable after SSR to install correct number of rules. Change-Id: Ie00ca5c70a2929b3840a11965a877f79055d7d3a
2018-10-04Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.7.1.R1.09.00.00.461.057' into pi-dev Conflicts: ipacm/src/Android.mk Bug: 117197316 Change-Id: Ib75e02188e4bfc221ae7517b75182c4aa38c96d9
2018-09-18Merge tag 'LA.UM.7.1.r1-04500-sm8150.0' into pi-devDaniel Mentz
"LA.UM.7.1.r1-04500-sm8150.0" Bug: 115750368 Change-Id: I7764fe745b38c83367bf1f3aee24462a139b5dda
2018-08-15Integration in googleplexThierry Strudel
Change-Id: I4c7e433c88be06b205650d7641003d423a846469 Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-08-08ipacm: send all IPv6 framents to IPA appsMohammed Javid
In case of TCP, if the ipv6 packets are fragmented there is a possibility that the second fragment packets match TCP SYN/FIN/RST rules and packets are routed to apps. This results in connection failure as the primary fragment will be routed correctly to hotspot client. Change-Id: I482b48c4786bda180b6f5d921149fed766c91fe0
2018-08-03ipacm: Handle WLAN FW rejuvenate eventsMohammed Javid
Handle WLAN FW SSR event for FW rejuvenate scenario. Change-Id: Ieceaf20a05dd645e56e3fb3b87ffd7cb97453cb0
2018-07-25ipacm: Fix IPACM -Wall -Werror issueMohammed Javid
Done code change to fix -Wall -Werror issue. Change-Id: I1deb0e1e85944ec1fc62249c4e700f4377dcf31f Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
2018-07-21ipacm: do not post internal link up eventsMohammed Javid
Make a change to not to post internal link up events when IPACM is started from boot. Change-Id: I9438076f576271d164959996821df0b864dfe23d
2018-05-22IPACM: support ipacm restartSkylar Chang
Add support on ipacm restart to clean up existing rules in ipa-hw which is installed by ipacm and reconstruct the rulse when framework ready to offload. Change-Id: I9dba5a7d572f8f7c773a1e3495e57c2e76a93e0a
2018-03-23ipacm: add ipa_pm supportSkylar Chang
Add ipa_pm support for IPA-HW 4.0 Change-Id: I3d5e120b035c802c4da8d54cc0839771675c3d26
2018-03-05ipacm: cache framework event if IPACM not readyMohammed Javid
When set_upstream/add_downstream events received from framework, IPACM can't handle them if those events are coming earlier than the new_address netlink event. The fix is to cache those framework events in offload_manager if IPACM haven't got the netdev ip-address. Change-Id: I7826ada63fdc093632b06fba5b43c7a4cf101fb0
2018-01-25Kernel Header Changesarnav_s
Change-Id: Ia4bd7ef796a33c8ee8d89e79e55ea60ad1d17173
2017-11-24ipacm: Add flag to get previous mux idMohammed Javid
Add flag to get previous mux id and delete rule for correct PDN. Change-Id: Id55ba3d2c0c79121ccf4e8f74e017e10bf82acc7 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-11-08IPACM: clean wlan NAT ifaces during modem SSRSkylar Chang
Wlan-driver will disconnect/reconnect to IPA after modem SSR and bootup again where framework already send add_downstream to IPA and resulted in offload failed. The workaround is to self delete NAT ifaces for wlan related instances during SSR and cache the downstream event before wlan restarts. Change-Id: I178c418621862b19327f70a077623f14a69a56c6
2017-10-29IPACM: Use Metadata replacement featureAmir Levy
Enable Metadata replacement bit in modem uplink filtering rules. NAT block will replace the metadata of the packets to metadata that contains the appropriate MUX ID according to the PDN being used. This Mechanism overrides the MUX ID which is set with IPA_IOC_WRITE_QMAPID. Change-Id: If67f21d3e8cc51a7ff11b9e4192e522d2a16c90d
2017-10-26Merge "IPACM: fix downstream iface list add/del issue"qctecmdr Service
2017-10-26IPACM: fix downstream iface list add/del issueSkylar Chang
Use std string instead of memory comparison for vts test Bug: 67396342 Change-Id: I23ac0b27a1aedf340600b28f0b5d75e2e2b8b6f4
2017-10-23IPACM: change DL routing rules back to hashableShihuan Liu
Change DL routing rules back to hashable routing rules under IPA v4. Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Change-Id: Iadadc7493bf19d03d2c573d3eee495b76a58ff70
2017-10-20ipacm: Add flag -Wall -Werror and fix warningsMohammed Javid
Add flag -Wall -Werror in Android.mk and fix all the warnings and errors. Change-Id: I86de057f5cc38ec9944f4988ac87724ba00b2e52 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
2017-10-18ipacm: Disable L2TP Feature support in Android-OMohammed Javid
Remove L2TP feature support as this feature is not required in Android-O Change-Id: Ib1caaefd1aa263c63f328ee6833083144549b373 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-10-13IPA HAL: Remove Downstream IfaceTyler Wear
Empty iface and garbage iface names should return an error when passed to removeDownstream. Bug: 65612332 Crs-fixed: 2105305 Change-Id: Ib4a99bd6cefe372ac4292b53842bd76e767449a1
2017-09-14IPACM: add TCP SYN filtering rulesShihuan Liu
Add TCP SYN filtering rules to route TCP SYN packets to exception for L2TP use case. Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Change-Id: I00b5c94dee56940b4b79c5ed2f029c088d683416
2017-09-12ipacm: buffer downstream and upstream eventsSkylar Chang
Add framework event cache in offload manager class to ihandle the timing issue between android framework and wlan-driver. Note framework starts to send set_upstream/add_downstream to IPACM when link property is set however wlan-driver is not completed the IPA-HW pipe configuration because it triggered by hostapd not link property. The fix is to add cache on offload manager to start offload after wlan-driver is ready. Bug: 34361337 Change-Id: I1ec3ad30ba3beb8198bdee7a10779dcaf07c51cd
2017-09-12ipacm: fix the v6-offload issue on AndroidSkylar Chang
Remove the check on how many ipv6 addresses are received from modem interface, fix the client prefix comparison logic which contradicts with MDM requirement to only offload tethered-clients who has same prefix as modem interface. Change-Id: Ib4b2f9e67f5c92021956c3ecb963cfed7f016959
2017-08-21IPACM: Support Dual embedded & rmnet callSkylar Chang
Change DL TCP SYNC/RST/FIN ipv6 filter rules to meta-data based rules to avoid DL tcp v6 SYNC-ack back to AP in rmnet-call. Change-Id: I34b56e2bc008e744d7685ae8774705e597952960
2017-07-22IPACM: handle the timing issue on upstream_delSkylar Chang
When CNE send upstream_del event to IPACM after tethered iface down, WAN instance is unable to clean up its v4/v6 tethered list. Add the support to handle this timing issue. Change-Id: I7601c70749e0cd30ef951c99d2ea601ecc4c9201
2017-07-11IPACM: add filtering rule for unique local addressShihuan Liu
Add filtering rule for unique local IPv6 address so that packets destined to those addresses will be routed to exception. Change-Id: Ifbeacfb9bc5148d399dace97dabfe63d2939b066 Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
2017-07-09IPACM: add support for L2TPShihuan Liu
Add support for L2TP in IPACM. For WLAN->ETH direction, we use UCP to do two-pass processing to add 80 bytes header. For ETH->WLAN direction, we use UCP to do single-pass processing to remove 80 bytes header. Change-Id: I296aee0fe857a7db4fc29f87c833224d7c0ffd9d Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
2017-07-06ipacm: Set flag to handle IPA_HANDLE_WAN_UP_TETHER event only once in STA modeUtkarsh Saxena
Incase of handsoff between wifi and mobile data, IPA_HANDLE_WAN_UP_TETHER event is added twice. So filtering rule is overwritten. Set a flag and add additional check to make sure IPA_HANDLE_WAN_UP_TETHER event should be handled only once Change-Id: Icc47d0199a0a30a2b0173ef2d4be905d000ecdaf
2017-05-12IPACM: Add support on IPACM-HAL for Android-OSkylar Chang
Add API for IPACM_HAL to start tethered-traffic offload and get stats from modem and set quota. Change-Id: I7d07c4ce4e7b12c7e088dec94a3d54c7da3a4a8b
2017-04-20IPACM: remove usage of obsolote definitionsSkylar Chang
Remove usage of definitions that are going to be removed from msm_ipa.h Change-Id: I334a7db0c787a987d10fb07842c73081fdd4aa1f Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-09-16IPACM: add support for new QMI messageSkylar Chang
IPACM sends QMI_IPA_INSTALL_FILTER_RULE_EX_REQ_V01 which can hold at most 128 rules in IPA v3, while in IPA v2 it sends old QMI message QMI_IPA_INSTALL_FILTER_RULE_REQ_V01 which can hold only 64 rules. Change-Id: I8b8e3d7cbfd4adfec82edbeca9ca082480211e12 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-29IPACM: add STA offload support on Android platformSkylar Chang
Add support on wlan AP+STA mode to use IPA offload data path on Android platform. Change-Id: I1516aa5d152c3d473a0e6b7368f96c10f0f2fb84
2016-08-26IPACM: adjust ip type maintenance logicSkylar Chang
Adjust the maintenance logic of interface ip type so that IPACM won't fail to install IPv6 default filtering rules. Change-Id: I1955d991633e0f7d88964e1a47e5c00b7df134b1 Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-25Merge "IPACM: add wlan2 and wlan3 in xml file"Linux Build Service Account
2016-08-25Merge "IPACM: ignore invalid new neighbor message"Linux Build Service Account
2016-08-25Merge "ipacm: changes related to IP Passhthrough"Linux Build Service Account
2016-08-23ipacm: changes related to IP PasshthroughSridhar Ancha
In IP passthrough, WAN interface will be assigned a private ip address. NAT rules related this IP need to be added to the HW so that there will not be any exceptions. Give provision in XML using which QCMAP indicates passthrough mode. Whenever passthrough mode is enabled and the private ip matches with wan ip, nat rules will be added to the HW. Change-Id: I7e82b6f55391da20f5c5db9e00bc83508b7f8788
2016-08-23IPACM: add wlan2 and wlan3 in xml fileSkylar Chang
Add wlan2 and wlan3 in IPACM_cfg.xml so that these two interfaces will be supported by IPACM. Change-Id: I166a933e0ded9a9ce47b9f0e335f549ec75551bf Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-23IPACM: ignore invalid new neighbor messageSkylar Chang
Ignore new neighbor message for IPv6 address with old IPv6 prefix. Change-Id: Iaf4d614902d49f9987527166075c72a30eb5c60b
2016-08-02IPACM: call ioctl IPA_IOC_PUT_RT_TBLSkylar Chang
Call ioctl IPA_IOC_PUT_RT_TBL after calling ioctl IPA_IOC_GET_RT_TBL to maintain correct ref_cnt of routing table. Change-Id: I1f8893190c78a2749d64699809fff0ccba80943a
2016-05-11IPACM: increase modem UL filtering rule cacheSkylar Chang
Increase the cache of modem UL filtering rules to cope with more modem UL rules in new modem build. Change-Id: I4e5d8c55505b9c917284bc449589a47f4c706037
2016-04-11IPACM: Add Ethernet bridging central controllerValery Gorohovsky
Add central controller for Ethernet bridging. Change-Id: Icb5657f78324e6fe342ba7da18c2b054f678ce96 Signed-off-by: Valery Gorohovsky <valeryg@codeaurora.org>
2016-04-11IPACM: add structure of two message queuesSkylar Chang
Add the structure of two messsage queues in IPACM, one for external events, one for internal events. Internal event queue always has priority over external event queue. Change-Id: I99878b0ce1f112cc72acde3e38d716cb2542303c