summaryrefslogtreecommitdiff
path: root/ipanat
AgeCommit message (Collapse)Author
2018-04-05ipacm: Add libipanat.so library for 32 bitMohammed Javid
libipanat.so library for 32 bit is missing in /vendor/lib path. Add library libipanat.so library for 32 bit. Change-Id: Icc85792d2c5717d52845747324eeed5df0ea5e2f
2018-03-14ipacm: changed for not using local c includeSkylar Chang
do the andorid.mk clean-up for those included headers/libraries. Change-Id: I7c2e2cdb61a8c757866519a47d3c26ec3f8df311
2017-11-02Merge "IPACM: Do not use deprecated strncpy function"qctecmdr Service
2017-11-01IPACM: Do not use deprecated strncpy functionGhanim Fodi
strncpy function is deprecated and should not be used. Change-Id: Icd5c080efdb53f77fad16a98928489faa493eddc
2017-10-27IPACM: disable ipacm compile on msmnileSkylar Chang
Change-Id: I15132c127dc4d1040cba6bda9d339692bb3a73ec
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-07-08ipanat: Add support for Multi PDNAmir Levy
IPAv4 HW presents new Multi PDN with NAT functionality. This change adds SW support of this feature. Change-Id: I25ff6a52261fad60ecea4be044b0e15ba55821f5
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-02-17ipacm: disable ipacm/ipanat on data.lnx.3.0Skylar Chang
Disable ipacm/ipanat compilation for all targets on data.lnx.3.0 Change-Id: Ib0be192b9cd5111299591d95aa733ff7532c59fe
2016-10-18ipacm: Fix race condition between nat delete rule and update timestampUtkarsh Saxena
NAT delete rule and Update timestamp can run in two separate parallel threads. Add pthread mutex lock around nat delete rule API to avoid race condition while accessing the NAT table memory. Change-Id: I66dac53f5f1831575d5f208519b70a3fbe802ca0
2016-09-05ipacm: Fix race condition between nat delete and update timestampUtkarsh Saxena
NAT delete functionality and Update timestamp can run in two separate threads in parallel. Add pthread mutex lock around this two functions to avoid race condition while accessing the NAT table memory. Change-Id: I6d40ae6dbe3aa9ed840c2daae8555701baa91ef2
2016-03-31IPACM: add support for CLANG compileSkylar Chang
Add support for CLANG compile Change-Id: Iced5974844c2ca8d7be7c97e261e4516de3669e6
2015-09-08IPACM: Fix a check of mmap callSivan Reinstein
When opening a NAT table, IPACM requests to mmap the nat device. The failure check needs to be against MAP_FAILED and not against NULL as a return value from mmap. Change-Id: If8f3553c8ebb08b525d77c1ec4644bd9ee829d54 Acked-by: David Arinzon <darinzon@qti.qualcomm.com>
2015-04-15IPACM: Delete nat entries from cacheSkylar Chang
On receiving connection destroy event delete nat entries from both temp and cache Acked-by: Sunil Paidimarri <hisunil@qti.qualcomm.com> Change-Id: I500430fe4ae22d74433c4d9f664869c1dc2140d8
2015-04-01msm: ipa: Compile ipacm for specific targets onlyRavinder Konka
Addition of targets for which ipacm need not compile as ipa is not present on those targets Change-Id: I976032b68c474f7c86c5ce21f65f45371b3e7171
2015-02-02IPACM: enable ipacm daemon for user buildSkylar Chang
For android build, need to also have ipacm compiled in user-image for final customer release, or no one will set rules in IPA-HW and all UL/DL traffic will take SW-path. Change-Id: If6f4f68eac2cdd5cf465cee44d2f3bb9e869978c
2015-01-06IPACM: Reset nat memory before posting init commandSkylar Chang
Reset the memory allocated for nat table before posting init command to IPH. 0th location not suppose to access by software after posting init imm command. Change-Id: I5aad855ac956ba1488cc95d0ae04c24fa8a9b361
2014-09-13Merge "ipanat: move ipaNatTable device node creation"Linux Build Service Account
2014-08-21ipanat: Add IPANT testsSkylar Chang
The IPANAT kernel-tests suite tests IPA driver IPANAT functionality. Change-Id: I11405f8a0efca33bd98dd1c0ff6ac2dd04f2942c
2014-08-13ipanat: move ipaNatTable device node creationSkylar Chang
For running ipacm/ipanat as net_admin instead of root on Android. The dev/ipaNatTable device node creation should be done in bootup time instead of dynamic allocate. Change-Id: Ice77752fa31b5d72f0fe5df23734801783e92253
2014-07-15IPANAT: fix for loop issueRavi Gummadidala
Update the previous entry value of head on removing head node from index table Change-Id: I75b71b6321800636c3e9ef506b6a40ab433b8557
2014-07-05Merge "IPANAT: remove the syslog usage"Linux Build Service Account
2014-07-02ipa-cfg-mgr: Add Android.mk files for IPACM and IPANATSkylar Chang
This change enables code compilation for both IPACM/IPANAT on Android platform and generates binaries to run standalone tests for IPA HW. Change-Id: I28764d1ecaa8d55d33088b597039fc6e42cfe7d5
2014-06-26IPANAT: remove the syslog usageSkylar Chang
Recently we found in android platform, the syslog will open lots of sockets and not close them correctly. Eventually it will exceed the max file descriptor each process could open, then leading crash. The cahnge is to avoid using syslog to log message. Change-Id: Ib7e2a669d1f0f56528d00e2cef9b10e51e04b4b0
2014-06-23IPANAT: fix IPANAT deletion issueSkylar Chang
Used different variable to back up index table next entry while deleting the head in index table to avoid overwrite. Print index table entry while dumping nat entry Change-Id: I6c389652ce0d514e0a03ff0532d90727c100bd4a
2014-06-23IPANAT: Fix checkpatch errorsSkylar Chang
To fix checkpatch Errors to proceed with futher check-ins in ipanat library. Change-Id: I9e8ff23f4bbe828dbb9ea8598b6ea29a0133adb2
2014-03-20IPACM: support 8994 linux Android buildSkylar Chang
changes are needed to make IPACM compile in Android platform as 8994 for example Change-Id: Ic3aa95cb962a5ec7cae1a622d9355afad7986a3c Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
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-24Fix loop issue in IPANAT tableSkylar Chang
while deleting nat entry from ipa nat table, we see previous index is not properly edited which is causing ipa nat table to go in bad state. Fix ti to reset the previous index value during delete operation before doing any operation Change-Id: I7a46837096124f4cf78062953988a71c50604b97 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2013-05-07To fix kw errorsRavi Gummadidala
Change-Id: I46de3b144b0d09e51455de9c62491a560e68f57d
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-12Use sanitized headers in data-ipa-cfg-mgr makefilesRavi Gummadidala
Change-Id: I43450840cb3fc8c288475c8ecb352dd3b4e6eafb
2013-03-07Additional fixes from bring-up:Ravi Gummadidala
1. added support for wlan events 2. disabled wlan power events 3. fixed issues found during testing 4. changed dump messages format of ipa nat table Change-Id: I6d2b3caeb2061db0a59ccd843606e05901533f76
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