Age | Commit message (Collapse) | Author |
|
We may run into issues if we start the ipacm in post-fs due
data folder was not mounted. Adding changes to start ipacm
in post-fs-data.
Change-Id: I28e003a8630d56efb198dda0144434da3dcfba77
|
|
Check the MHI exception rule handles before installing the rules.
If they are nonzero, they they should be deleted first before
installing again.
Change-Id: I59ad4381ed3424677467efa094ecce61219d69e6
|
|
Disable ipacm for msmnile_au target.
Change-Id: I55101d9812fdfe0c4ceba6ab39070e58e4eea29b
Signed-off-by: Raghavendar rao l<rlomte@codeaurora.org>
|
|
Changes done to enable ipacm for monaco Low Level
RAM target.
Change-Id: Id62eea7bfa929c027ff5cf7afbe6d00fb54f5afd
|
|
Using defined flag support removed in latest branch. So adding changes
to use right check when using the version check.
Change-Id: Ia832ce763156e07fc5475e4de4d11522b2fe732c
|
|
|
|
In Yupik target it won't support ETH Bridging commands
So disabling this feature.
Change-Id: I32fc56718b92927dc18eb2d35388a46a228507b0
|
|
|
|
|
|
Remove libhwbinder & libhidltransport references
Change-Id: Ife1f1d572f1386e63ca1b9559f218e2689017ca3
|
|
Change the MTU rule to use the correct equation bitmap
to specify ihl_offset_range16 on IPA version older than 3.0
Change-Id: I615534cf76d673ef929ca415b2b905d5119100f8
|
|
Avoid incrementing number of tethered clients twice when xlat is enabled.
For WLAN if wan is up prior to DOWNSTREAM_ADD, number of tethered clients
is incremented twice.
Due to current andorid limitation, andorid won't support 2nd tethered
interface. Hence, handle_uplink_filter_rule is not processed due to
incorrect counter.
Change-Id: I5419434158248139cd936e3873506f7ae706f231
|
|
|
|
Make changes to store offload state in a file.
Change-Id: I5cbeacd2849bcdac043941d9bd491eaa62364fbc
|
|
Make changes to add null pointer checks in LanToLan instance to avoid any
potential ipacm issues.
Change-Id: I7331bf3e9b2d777872b6dfc03fa811d2a2925d8d
|
|
|
|
Add stringify for these new events so CMD_queue will
print the right events for ipacm logs.
Change-Id: I5061b328bbf5f0af47b96450b501102f92701c46
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
|
|
Clean the icmp v6 rule when backhaul
type is ipv6.
Change-Id: I5b158f5cbfb6846fc21a9556462c23a0d0f7b2d2
|
|
|
|
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
|
|
For backhaul keeping down and up,
seeing v4/v6 routing rules are not
cleam up and resulted in routing tbl
blow-up in ipa-hw. Made the fix to
clean up routing rules accordingly.
Change-Id: Iadbb0841d7f1d0eb9944e029b79a04cb4503a496
|
|
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>
|
|
When tunneling is enabled from the device, same NAT
entry will be translate from Public to tunneled IP
and then to Private IP. In case we try to add the entry
to HW, HW ends up translating it to Private IP and
connection fails. Make change to add dummy NAT entries
for tunneled connections.
Change-Id: I340189e2a0db71dd04316a704116e045d6622063
|
|
Disable ipacm on msm8937 target as IPA
hw is not present.
Change-Id: I2477f9b976798a9c91e37e14e122f0e411546b8a
|
|
Currently in case of XLAT if ADD_DOWNSTREAM event comes
before XLAT_CONNECT event then num_offload_v4_tethered_iface
is not incremented and it will have incorrect value. Increment
num_offload_v4_tethered_iface var if XLAT comes after downstream
is up.
Change-Id: I79814a526b1112d7004fa1959a519475c02fe834
|
|
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
|
|
|
|
Move the individual flt rule status check outside the
IOCTl fail check to seperate the rules that failed when
IPACM sends more than one rule.
Change-Id: I4a2c51374bbedced687e23041104a1bc33627c55
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
|
|
Reset the rt table handle every time we modify a new rule.
Add brackets to if else conditions that were always getting hit.
Change-Id: Iebca2ee3cdf4713285e6bedc151e428fd99d2f5c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
|
|
|
|
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
|
|
Changes done to enable ipacm for bengal go Low Level
RAM target.
Change-Id: I987b94791eeb1ff94d08221a0ceeec26c55e69e4
|
|
Delete Wan iface instance if rx tx property of
the interface is NULL.
Change-Id: Ib0ab2619fd5ae3596558007ab2d44a601fa73093
|
|
|
|
Create same process HAL to avoid double registrations
Change-Id: I47fb46b727d0c66006f65a06586c11e4c42c3ea9
|
|
ENOMSG is returned when the conntrack message received
has a non zero pid value. Idea is to handle only messages
coming from Kernel which has 0 pid value.
Change-Id: Ib1934c82595b980016e98646f34797f9001c51ab
|
|
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>
|
|
|
|
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
|
|
Remove IPV6 TCP SYN/FIN/RST default filter rule to free the
memory as we already add default rt-rule
Change-Id: Ief0d0eedffce2b60162e6f2b63ba44c3c7e4817c
|
|
Add null ptr check to avoid dereferencing issues.
Change-Id: I0ead7ae6f3ecb684383f26580afc9e96f2b4b131
|
|
|
|
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
|
|
Make changes to provide upstream interface name to netmgr
whenever tethering is enabled.
Change-Id: Id0cb3d0e34c1b324785da12f49c4f8502adabc6b
|
|
Starting from HST and HSP, WLAN doesn't restart when Q6 is restarting.
So there is no need to resetting the NAT ifaces for Q6 SSR.
Make a change to skip posting IPA_SSR_NOTICE to WLAN iface.
Change-Id: I32fc1528d67912a7e90d716cc51378c64d50ba70
|
|
|
|
Add changes to enable DEBUG flag to enable ipacm-diag logging.
Change-Id: I15e75c41a8a3096c41167c0194bbbb39e861056f
|
|
Make changes to ensure index is not going out of bounds
when installing ipv6 coalescing rules.
Change-Id: Ib35964152e71dd129431e5eece9629b69defe86d
|
|
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
|
|
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
|