summaryrefslogtreecommitdiff
path: root/ipacm
AgeCommit message (Collapse)Author
2018-03-20Merge remote-tracking branch ↵Daniel Mentz
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.203' into pi-dev Bug: 75978020 Change-Id: I503e76e40f576092c05012990f194bc8bcba4996
2018-03-16Merge remote-tracking branch ↵Daniel Mentz
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.190' into pi-dev Bug: 74413741 Change-Id: I115d1024c15ded49efed78df6d8b6f9ad5ddc2f9
2018-03-07Merge "ipacm: set upstream flag if downstream IP addr event come later"qctecmdr Service
2018-03-06ipacm: set upstream flag if downstream IP addr event come laterMohammed Javid
If IPA_ADDR_EVENT for downstream event comes after IPA_WAN_UP_TETHER event, upstream flag is not getting set. So later even after receiving downstream event UL rules will not be installed. Set upstream flag after receiving IPA_WAN_UP_TETHER event Change-Id: I96c23b0e2e8aea20b5cdbf67a7f4d0d50b75e6db
2018-03-06Merge "ipacm: clean upstream if STA disconnected earlier"qctecmdr Service
2018-03-06Merge "ipacm: Support dynamic backhaul switch between LTE and STA"qctecmdr Service
2018-03-06Merge "ipacm: Fix KW issue"qctecmdr Service
2018-03-05ipacm: clean upstream if STA disconnected earlierMohammed Javid
If STA is disconnected, since interface is already down so clean upstream is not getting handled. Handle wan down event when interface is going down. Change-Id: I03d041db10eb072ef87d5f0c8ad88436e9744ab3
2018-03-05ipacm: Support dynamic backhaul switch between LTE and STAMohammed Javid
Support dynamic backhaul switch between LTE and STA if framework failed to clean up previous backhaul settings Change-Id: I5b330f81ad5594c5e4c84730cdb414ee722818c3
2018-03-05ipacm: put rndis under wifi using SW-pathSkylar Chang
When device in WIFI backhaul, make usb-tethering not ipa-offload because of the wifi-stats issue and wlan-team will only support WDI enable when WIFI + SoftAP enable at the same time Change-Id: I6b4ce88ec16fa49d5c0ba269b30cae6845af6ae1
2018-03-01ipacm: Fix KW issueMohammed Javid
Fix KW issue and remove conditional check which is always true. Change-Id: I902b56c3eab262798813e3c9c6d920665e5ecb99
2018-02-20ipacm: 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-02-01Fix .h files: <inaddr.h>, __kernel_sockaddr_storageDaniel Mentz
The header file inaddr.h appears to not exist on Linux systems. Bionic does not provide __kernel_sockaddr_storage, because it renames this struct to sockaddr_storage. Change-Id: I3e3ae084e1ab400b6dea3dd6f4fde2b83674162c
2018-01-25Kernel Header Changesarnav_s
Change-Id: Ia4bd7ef796a33c8ee8d89e79e55ea60ad1d17173
2018-01-24Revert "data-ipa-cfg-mgr: fix compilation issues due to kernel changes"Srinivas Rao Narne
This reverts commit eb9f260cdade1bc33908b3fb30a5590e1dae9715. Change-Id: I33c799851200f63cbb305bf8af190b1de7312831
2018-01-11data-ipa-cfg-mgr: fix compilation issues due to kernel changesRoopesh Rajashekharaiah Nataraja
Change-Id: Ibb7c366f95afc50c9e505162d9538f0c05c20041
2018-01-01IPACM: fix GetIPAVer called too earlyAmir Levy
GetIPAVer() was called before IPA driver file was opened. Move call to a later stage at init. Change-Id: I48b68269a0711dbece4dc20da680e6863ed1aa67
2017-12-20ipacm: update UL filter rule with src IP addressMohammed Javid
With current design UL rule is updated with dst address. Update UL rule with src address. Change-Id: I65831406335549aba38a6c716af3383a6d0915f5
2017-12-19ipacm: Change error value for set quotaMohammed Javid
Currently IPA send common error FAIL_TRY_AGAIN to framework in case of IOCTL fails. Change error value for set quota based on error received from modem. Change-Id: I7e31cb27892bed733d71173e9cc479a06b3f462f
2017-12-17ipacm: fix the AP+STA crash issueSkylar Chang
In AP+STA mode, wlan-drvier won't register extended property to specify which qmux-ID to use for multi-PDN use-case, make the change to avoid executing this logic in AP+STA mode. Change-Id: I73c5e771a06f20951a600672312172096b10ffcb
2017-12-13ipacm: KW fixMohammed Javid
Prevent dereference of NULL pointer. Change-Id: I3eb0773b661bdb654e8f9cc9b888e6a0d2944689
2017-12-11ipacm: KW fixMohammed Javid
Remove conditional check if condition is always true and fix KW issues. Change-Id: Ic031c5c0f229a49a7ede0c4be8e5365e6e9edf65 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-11-30ipacm:Add check to configure default flt rule only onceMohammed Javid
If header_partial_default_wan_v4 flag is true handle_route_add_evt method is getting called twice and default filter rule is installed twice. Add check to prevent it. Change-Id: I9bae2952a63daad72fabc565ef29153a0c0e4c71
2017-11-27ipacm: Configure uplink rule for IPA V2 and V3 with correct MSB LSB orderMohammed Javid
Order of MSB and LSB is different for IPA V2 and IPA V3. Configure uplink rule with correct order of MSB and LSB. Change-Id: Ia283b633752e69994aa5be946dfce75f471c616b Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
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-22Merge "ipacm: KW fix"qctecmdr Service
2017-11-20Merge "ipacm: Fix to not filter_notify request"qctecmdr Service
2017-11-20ipacm: KW fixMohammed Javid
KW fix to prevent use of banned functions. Change-Id: I75b01f4359b863159fc40966ed423002a0fa7929 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
2017-11-17ipacm: Fix to not filter_notify requestUtkarsh Saxena
Make changes to not to send filter_notify request with 0 rules when there are no filter rules installed. Change-Id: I9306066a3383340057bdb08c913fcc3c8a7264c7
2017-11-10ipacm: fix the KW issueSkylar Chang
Instead of using strncpy, change to use stnlcpy to resolve the KW issues. Change-Id: Ia26b1e8e5d5aba1a9e9dc469e1cd97b2e508d542
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-11-02Merge "IPACM: Use Metadata replacement feature"qctecmdr Service
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-27IPACM: disable ipacm compile on msmnileSkylar Chang
Change-Id: I15132c127dc4d1040cba6bda9d339692bb3a73ec
2017-10-27IPACM: fix the ipacm crash issue on SSRSkylar Chang
On SSR scenario without tethering enable once, ipacm crash due to uninitialized pointer, elrInstance. Make the change to initialize it as NULL. Bug: 67019241 Change-Id: I126f44c02a8b186dd2e61392cb2d9732263165e1
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-21IPACM: enable IPACM_HALSkylar Chang
Enable IPACM_HAL and compile IPANAT and IPACM Change-Id: I46fa07e92bce06b22da1dea179cc4359b9fcb214
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-18Merge "ipacm: ignore removeDownstream request if netdev down"qctecmdr Service
2017-10-18IPACM: fix ipacm crash issueShihuan Liu
Fix ipacm crash issue in Ethernet bridging use case. Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Change-Id: I0ff8951b37cd30bce32ea17de9ee2fd9708b48af
2017-10-18ipacm: ignore removeDownstream request if netdev downSkylar Chang
Simply return sucess to HAL client if receiving the removeDownstream request when netdev already down Bug: 34361337 Change-Id: I92ee1713635f23ddb19042b32f2790350591b069 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-10-17ipacm: Fix invalid source pipe indexMohammed Javid
Source pipe index may returned invalid. Check it for valid return before sending it to Q6. Change-Id: I5a37deb40a48321af97db9626998e8065878ee7d
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-10-02Merge "ipacm: fix the crash when modem SSR"qctecmdr Service
2017-10-02ipacm: fix the VTS errorSkylar Chang
On VTS IPACM_HAL unit-test, since wlan tethering devive won't up, therefore the addDownsream events are all cached in IPACM_HAL and keep accumulated until reaching IPACM's max cached and seeing test-case starts failing. The fix is to clean up the cache on Stopoffload. Bug: 65612227 Change-Id: I24f410f5c5ae3a6cad0e14293f266b067f643389
2017-10-02ipacm: fix the crash when modem SSRSkylar Chang
Make ipacm offload manager continues to read msg from IPA-driver instead of posting dummy event to IPACM main thread. Bug: 65676825 Change-Id: Ic838762ba7a0a06dd1690f4198099428a988901a
2017-10-01Merge "IPACM: fix the fd leaking issue"qctecmdr Service