History log of /hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0baec72ee58ed4ce18c00b094ea85726d264707d 16-May-2018 ssaha <ssaha@qti.qualcomm.com> TetherOffload: Address VTS failure in AdditionalStopsWithInitReturnFalse

- Currently if NAT iface is not added, IPACM cache setupstream
events but default gw index will be set only after adding
NAT iface. If IPACM receives stopOffload in between, then
it is returning input check error to framework. Add check and
clear event cache in case of stopOffload.

- Fixed variable shadowing issue in HAL.

Test: - build and boot - pass
- VtsHalTetheroffloadControlV1_0TargetTest - pass
- VTS Test AdditionalStopsWithInitReturnFalse - pass

Change-Id: I335b7834c9a7567bc5bc05f683ec789b39c1efac
Crs-fixed: 2228293
bug: 77996655
(cherry picked from commit b8c3d7ae84541f40c7b82e6c32ea1915ad4b1766)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
b5145a4ef609a462a48e05640d0998271f48edf6 25-Oct-2017 Sunmeet Gill <sgill@codeaurora.org> IPACM: fix the ipacm crash issue on SSR

On SSR scenario without tethering enable once,
ipacm crash due to uninitialized pointer,
elrInstance. Make the change to initialize it
as NULL

Test: Verified force modem SSR and ipacm didn't crash
Verified basic data and tethering use cases

Bug: 67019241

CRs-Fixed: 2132095
Change-Id: I126f44c02a8b186dd2e61392cb2d9732263165e1
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
f7f6aa6be49a5359bc3393fc574d8825d3f420a9 15-Oct-2017 Niranjan Pendharkar <npendhar@codeaurora.org> IPACM: fix downstream iface list add/del issue

Use std string instead of memory comparison for
vts test

CRs-fixed:2125887
Bug:67396342
Test: compile

Change-Id: I23ac0b27a1aedf340600b28f0b5d75e2e2b8b6f4
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit 8caa3afcb5feaa8193639c9eedee1744e5968672)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
28e7f824301c3d5724338f71bb2e5f83d7fcb79c 15-Oct-2017 Niranjan Pendharkar <npendhar@codeaurora.org> ipacm: fix the VTS error

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.

CRs-fixed:2118600
Bug:65612227
Test: compile

Change-Id: I24f410f5c5ae3a6cad0e14293f266b067f643389
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit 5cf0a7159b173f627128cf87877a3e559a558f81)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
67b2d096ba112493dff7a127e702f1e38e0c4794 25-Sep-2017 Niranjan Pendharkar <npendhar@codeaurora.org> IPACM: fix the fd leaking issue

Fix the fd leaking issue on "resetTetherStats"
and "getStats" APIs.

Test: Manual
Bug: 29337859
Bug: 32163131
Bug: 64976634
Bug: 65612126

Change-Id: I131c6ebe1ea1e14194fe4fe019eb21364032e154
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit 42959c94d518dd6c5424040b0310dbb23d9dc158)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
54c7bcf052d7a0cec20a2ecdaa64258ce1ffccbf 25-Sep-2017 Niranjan Pendharkar <npendhar@codeaurora.org> IPA HAL: Remove Downstream Iface

Empty iface and garbage iface names should return an error
when passed to removeDownstream.

Bug: 65612332
Test: compile
Crs-fixed: 2105305

Change-Id: Ib4a99bd6cefe372ac4292b53842bd76e767449a1
Signed-off-by: Tyler Wear <twear@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit f4102a5c59f994d40d22bdb9f1806d6bcc120a79)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
86a1a35809fc77ef327e812649d567ad619c7813 04-Sep-2017 Niranjan Pendharkar <npendhar@codeaurora.org> ipacm: buffer downstream and upstream events

Add framework event cache in offload manager class
to handle the timing issue between android framework
and wlan-driver. Note framework starts to send
set_upstream/add_downstream to IPACM when link
property is set however wlan-driver is not completed
the IPA-HW pipe configuration because it triggered
by hostapd not link property. The fix is to add
cache on offload manager to start offload after
wlan-driver is ready.

Bug: 34361337
Test: manual

Change-Id: I1ec3ad30ba3beb8198bdee7a10779dcaf07c51cd
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit b1ae04ccb105ea03dcfc0e4a6a5fb9404eb79127)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
cb31a1775075041d9f8c060ca606ae211bd67436 01-Sep-2017 Niranjan Pendharkar <npendhar@codeaurora.org> ipacm: fix the v6-offload issue on Android

Remove the check on how many ipv6 addresses
are received from modem interface, fix the
client prefix comparison logic which contradicts
with MDM requirement to only offload
tethered-clients who has same prefix as
modem interface.

Test: as follows
- built
- flashed
- booted
- started tethering and watched for packets via:
"adb shell tcpdump -n -i wlan0 -l"

Bug: 34361337

Change-Id: Ib4b2f9e67f5c92021956c3ecb963cfed7f016959
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
(cherry picked from commit 4031d6a7e2dec3f13805f45b082790ac2e9a496c)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
202589a3dab4221d8962895885fba801df0bc374 24-Aug-2017 Thierry Strudel <tstrudel@google.com> msm8998: Update to 07.00.00.279.357

msm8998: from vendor/qcom/opensource/data-ipa-cfg-mgr
c1e3b7f Promotion of data.lnx.6.4.9-00069.
dc73d54 IPA HAL: Input Checks
d863529 Promotion of data.lnx.6.4.9-00061.
030a953 ipacm: Add flag -Wall -Werror and fix warnings
5851418 Promotion of data.lnx.6.4.9-00055.
d029272 Merge "ipacm: fix the heap-use-after-free issue on bootup"
19606a4 Merge "ipacm: ignore removeDownstream request if netdev down"
69e5c0f ipacm: fix the heap-use-after-free issue on bootup
26beced ipacm: ignore removeDownstream request if netdev down

Test: build, boot, sanity checks
Bug: 64986220
Change-Id: I95154ea39cbb9b8d6b00e32097c2de6c31368253
Signed-off-by: Thierry Strudel <tstrudel@google.com>
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
8044ecbdf166591df6fcde2faea36a0b7b541d4f 10-Aug-2017 Niranjan Pendharkar <npendhar@codeaurora.org> Revert "ipacm: ignore removeDownstream request if netdev down"

This reverts commit b2c20467fe5158224a66d7f06d4ab078480f7d23.

Test: as follows
- built
- flashed
- booted
- VTS tests pass without a SIM card (modulo 2 tests)
Bug: 36682246
Bug: 64479437

Change-Id: I9c75979c4ac249f8c4783da4daad96f2a0f6c4e8
(cherry picked from commit 33f30f9b664de96d58ecbbb5831aae8d477badd1)
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
b2c20467fe5158224a66d7f06d4ab078480f7d23 26-Jul-2017 Niranjan Pendharkar <npendhar@codeaurora.org> ipacm: ignore removeDownstream request if netdev down

Simply return sucess to HAL client if receiving the
removeDownstream request when netdev already down

Bug: 34361337
Test: manual
CRs-fixed: 2077823
Change-Id: I92ee1713635f23ddb19042b32f2790350591b069
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp
582b9e5c388f74eeafad876c81492c81bf1f3945 24-May-2017 Thierry Strudel <tstrudel@google.com> msm8998: Update to 07.00.00.279.162

msm8998: from vendor/qcom/opensource/data-ipa-cfg-mgr
f554a9b Promotion of data.lnx.6.4.9-00026.
dc61b57 IPACM: Add support on IPACM-HAL for Android-O
e7ba062 hal: deal with unsatisfied dependencies
0b00b18 hal: 1.0: Initial commit

Test: build, boot, sanity checks
Bug: 62038492
Change-Id: I04f1afb807fb1e43dc52f87963b0713716bc0586
Signed-off-by: Thierry Strudel <tstrudel@google.com>
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/IPACM_OffloadManager.cpp