summaryrefslogtreecommitdiff
path: root/ipacm/inc
AgeCommit message (Collapse)Author
2022-03-08Merge remote-tracking branch 'goog/qcom/release/LA.UM.9.1.C11.11.00.00.841.184'Wilson Sung
Conflicts: ipacm/inc/IPACM_Netlink.h ipacm/src/ipacm.rc Bug: 210577927 Change-Id: If2d41154f89cc49bc89267e3eea4de5cfc25e754
2021-07-27ipacm: Remove compilation dependency for in_addr_t on bionicPraveen Kurapati
Add changes to avoid compilation dependency with in_addr_t. Change-Id: I31f85385ce87e584bfb07b78b1c4eb32c7e9742a
2021-05-24Merge remote-tracking branch ↵android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devWilson Sung
'goog/qcom/release/LA.UM.9.1.C11.11.00.00.841.013' into sc-dev Bug: 188781413 Change-Id: I952940e51d1b127472a65b827d82ded0f8c350ed
2021-04-16ipacm: Adding changes to disable Eth Bridging SupportAshok Vuyyuru
In Yupik target it won't support ETH Bridging commands So disabling this feature. Change-Id: I32fc56718b92927dc18eb2d35388a46a228507b0
2020-12-22ipacm: make changes to store offload stateChaitanya Pratapa
Make changes to store offload state in a file. Change-Id: I5cbeacd2849bcdac043941d9bd491eaa62364fbc
2020-11-04ipacm: support the mac renew with same IPv4Michael Adisumarta
Add the support on IPACM to clean up old header routing rules associated with old mac after new_neighbor comign from kernel and re-construct header/routing rules for WIFI STA scenario. Change-Id: I8fa08dedbeb3127d8974529ecb82dc7c0ea0d54a
2020-10-30ipacm: add dynamic support for IPA new MTU eventsMichael Adisumarta
Handle new MTU events to replace modem PDN MTU for WANv4/v6 and replace the MTU rules if they are already installed. Change-Id: I06c16db2300ccd572a99ab316d413fcbf9197986 Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-10-02ipacm: add mechanism to cache ct eventsChaitanya Pratapa
1) Current logic is to get the conntrack dump first time when tethering is enabled. 2) Once we have the conntrack handles, add mechanism to cache CT events when upstream is not set. 3) Also make changes to reset the socket receive timeout to 0 so that nfct_catch doesn't return EAGAIN. And add check to retry when we receive EILSEQ. Change-Id: I37877c19f11abd3fdb9f7f6c96933a592e6a1490
2020-09-10ipacm: Fix reading the conntrack dumpChaitanya Pratapa
Framework uses UDP fd to query for the conntrack dump. Make changes to use UDP fd to read the conntrack dump. Also read using the fd provided from framework and not using dup fd. Change-Id: Iaeecfc0c4763325314d8f763797bd1fc7124e4db
2020-07-02ipacm: keep track of flt rule handles that are in useMichael Adisumarta
Initialize an array to keep track which filtering handles are in use to prevent a wraparound issue where we have 2 rules with the same ID leading to a problem with rule deletion. Change-Id: I940c043f486860a1a694ad3b3a183cae44d1057e Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-06-25Merge "ipacm: V6 filter count mismatch causing udp failures"qctecmdr
2020-06-23ipacm: V6 filter count mismatch causing udp failuresSivakanth Reddy Vaka
Invalid filter count being passed to modem to install DL filter rules which is creating dummy rules in filter table and udp packets are not matching to any filters Change-Id: I0f2a0dab4b1afea62eda63b4518e6592ff8be53b
2020-06-24ipacm: Remove IPV6 TCP SYN/FIN/RST rulesArmaan Siddiqui
Remove IPV6 TCP SYN/FIN/RST default filter rule to free the memory as we already add default rt-rule Change-Id: Ief0d0eedffce2b60162e6f2b63ba44c3c7e4817c
2020-06-02ipacm : Add change to update NAT entries for embedded/tethered connectionsArmaan Siddiqui
Add change to read and process conntrack entries only when WAN is up and add NAT entries accordingly when switch to tethered connections. Change-Id: Iaa31a44684082802c03402cdd1faa393a7bc85f8
2020-04-29Merge remote-tracking branch ↵ChengYou Ho
'goog/qcom/release/LA.UM.9.1.R1.10.00.00.604.035' into rvc-dev Conflicts: hal/Android.mk ipacm/src/Android.mk Bug: 152368391 Change-Id: I6bce716a03b7d9ac6f6fe09f0a2335caa39c88b8
2020-04-16Merge remote-tracking branch ↵ChengYou Ho
'goog/qcom/release/LA.UM.9.1.R1.10.00.00.604.030' into rvc-dev Conflicts: ipacm/src/Android.mk Bug: 152368391 Change-Id: Ic3575f8eeebeace340d61f8f8d78f2d1a4ebeb09
2020-03-02ipacm: convert Android.mk files to Android.bpChaitanya Pratapa
As part of soong modernisation, requirement is to use Android.bp framework instead of Android.mk. Make changes to convert Android.mk to Android.bp files. Change-Id: I8f2d40159360afd0631c0c50cb823455a45396ef
2020-02-13ipacm: Add MTU rule for every new private subnet or prefixMichael Adisumarta
Always add IPv6 frag rule on LAN pipes. Add an MTU rule based on new PDNs based on their mtu. If packets are bigger than the mtu of the new PDNS, then IPA will not offload the packets. Change-Id: I2751cc733a10a3fc79e20348644d42630fa6762c
2020-02-03Merge remote-tracking branch 'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.343'ChengYou Ho
Bug: 146759211 Change-Id: I7e90b1f60353762b17bf0d1f5583767644cea12f
2019-09-19ipacm: fix not support xlat on 2st tethered ifacePooja Kumari
Add the fix to not support xlat on 2st tethered iface Change-Id: I6a0c24731e8ba07c48ae4499f0214139d7639b79
2019-09-18Merge "ipacm: add DL filtering rule for IPV4 FIN and RST"qctecmdr
2019-09-17ipacm: add DL filtering rule for IPV4 FIN and RSTMichael Adisumarta
Add DL filtering rule to use Legacy MHI path for TCP FIN and RST. Change-Id: I42af4343c58ed7b79da677fccebdf42b62401c9a
2019-09-12ipacm: support dynamic switch sw/hw-path on APQ platformSkylar Chang
Change-Id: I7f920df8b3a3df42ce66502ad2c1abfb0d89e80e
2019-09-08ipacm: support hasting stats and quotaSkylar Chang
Supprot wlan hasting ipa stats and quota requirement. Change-Id: I24ccb03685acfb2aa194f424a02e0b3678fcbbee
2019-08-01ipacm: remove the redundant rulesSkylar Chang
Remove the redundant filter rules on mhi-prime tethered-rx pipes when modem backhaul is down. Also resolving the ipacm_hal cache recursive issue and the timing issue to clean up client's ipv6 QMI handles. Change-Id: I0ca3b44a38549ed85cb63b2b95a8c6ab429a238a
2019-07-26ipacm: add filtering rule for ICMPv6 to use Legacy MHI pathMichael Adisumarta
Add DL filtering rule to use Legacy MHI path for ICMPv6. Change-Id: I3b7925ca6d78fe80b44283e36d7d281f6cadb59f
2019-07-24ipacm: add frag rule for UDP DL MHI offloadMichael Adisumarta
Add a parameter in add_filtering_rule to specify mhi legacy path. Add filtering rule to use Legacy MHI path for UDP DL fragments. Change-Id: I955a25991c9a8bfa7d40d701e5fc2a7e91a8f28e
2019-07-18ipacm: add dynamic support for ipa coalesceAshok Vuyyuru
For each modem PDN, add dynamic IPA coalesce enable/disable support on TCP/UDP connections. Change-Id: Icb75be29e250468ded7a8b36170f4732206e8d85
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-31ipacm: add support for mhi-primeSkylar Chang
Add the support for pcie modem. Change-Id: Ic97beb5ab228c40b211babd8681093c5bafebfb0
2019-05-24ipacm: not support xlat on 2st tethered ifaceSkylar Chang
For current andorid limitation, andorid won't support 2st tethered interface have ipv6 offload , therefore make the change on offload manager to block xlat offload on 2st tethered iface. Change-Id: Id20fcc73172705b0d4f90452ec64da045d764d61
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