summaryrefslogtreecommitdiff
path: root/ipacm/inc/IPACM_Conntrack_NATApp.h
AgeCommit message (Collapse)Author
2019-05-31ipacm: add support for mhi-primeSkylar Chang
Add the support for pcie modem. Change-Id: Ic97beb5ab228c40b211babd8681093c5bafebfb0
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
2016-04-11IPACM: Add support for non IPA data pathSkylar Chang
Add dummy nat rules to avoid exception for DL packets that takes non IPA HW data path. Change-Id: I008f90a9fea9e9bcff3f4adcdc499c7f897af963 Acked-by: Sunil Paidimarri <hisunil@qti.qualcomm.com> CRs-Fixed: 946920
2015-08-12IPACM: Fix the nat timeout update issueSkylar Chang
udp and tcp timeout file change notifications not received sometimes. This leads to updating conntrack entries with incorrect timeout value. Instead of depending on file change notifications, read the values before updating the entry Change-Id: Ib6d807ca7f873e86d6ed44929b63ad2fc4ac658e Acked-by: Sunil Paidimarri <hisunil@qti.qualcomm.com>
2015-04-02IPACM: First AP+STA connection is taking sw pathSkylar Chang
cache the nat connection if external AP client neighbour ip address event doest not received Add the cached connection to IPA HW table on receiving external AP client neighbour ip address event Change-Id: I92f7f934ef83cb539e340ff1f0aaaa2dd23b56f8 Acked-by: Sunil Paidimarri <hisunil@qti.qualcomm.com>
2015-01-26IPACM: restore old connections when LTE up againSkylar Chang
When LTE backhaul quickly down and up again, the old UDP connections are taking SW-path. The fix is to cache all current connection entries on Apps and retore the NAT entries if LTE comes up with same ipv4 address. Also cache the flows if IPA-NAT tbl haven't created. Change-Id: Ie7dbac071d3c977507d9dd18985340c454c48e34
2014-09-15IPACM: Fix AP+STA mode FTP loca-subnet disconnect issueSkylar Chang
In AP+STA mode, usb-client can download FTP if FTP server outside the subnet of external AP. However if the FTP server is insided the same subnet as external-AP, the FTP download will failed, also TCP UL/DL is not working properly. The fix is to construct headers/routing rules for each wifi-client which is connected to the same external AP's subnet. Change-Id: I839d33d34b4fd544381b9cf7bd2ba20b51a17551
2014-08-10IPACM: Clean the NAT rules before delete RT rulesSkylar Chang
When wlan/usb client disconnect or unplug, IPACM needs to call IPANAT API to clean NAT rules belonged to this client's IPv4 first, then clean the routing rules after. Change-Id: Ib695e9d0fd258e08481f638425bf0bf0db9b8035
2014-05-12IPANAT: fix AP+STA mode packets take SW pathSkylar Chang
Nat entries are received before neighbor event which is causing to ignoring nat entries and data is taking sw path due to nat miss. The fix is to cache the nat entries that are received before neighbor event and add them to nat table on receiving neighbor event. Change-Id: Ia5b06c995024f51f10614ff784d60315b884a475
2013-07-05IPACM/IPANAT: Fix using syslog causing crashSkylar Chang
Before IPACM/IPANAT use the same syslog circular buffer to log messages, now they write the info to different files using circular memory instead. Change-Id: I8b637be2aa12d7e4999799b4b780133446422d2a Signed-off-by: Skylar Chang <chiaweic@codeaurora.org> Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
2013-06-04 1. update timeout for both tcp and udp connectionsSkylar Chang
2. To update udp connections timeout value use ip_conntrack_udp_timeout_stream 3. To update tcp connection timeout value use ip_conntrack_tcp_timeout_established 4. Start inotify thread to read update udp/tcp timeout values" Change-Id: I383e1c9b0b142dc9ad4d630d9f4d1149ccbc97f2
2013-04-151. adding sys log supportRavi Gummadidala
2. added dynamic enabled/disable file/sys log 3. added circular file log Change-Id: I9f7de1779239d0617b6b171e3a4e40d439711185
2013-03-18Additional fixes from bringup:Ravi Gummadidala
1. On power save delete nat rules related to powersave interface station 2. Add the nat rules back on sta recover event Change-Id: If7378b03d2bb4ddfffc1ca8c2c735bf4731ec372
2013-02-28IPA configuration manager daemon and IPA NAT library.Ravi Gummadidala
These are user-space components which configure IPA (Internet Protocol Accelerator) HW using the services provided by the IPA driver (running in kernel space). NAT stands for Network Address Translation. This is the initial commit of these components. Change-Id: I0934f54c36a7134af143e4f1cd9fbb0682df52d0