To support 2 new low latency data pipes for LA.
Change-Id: Icb001633adcf379d752371d83c55b76193452df8
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Add IOCTLs for adding and deleting uc activation entries.
Amend Socksv5 add\delete entry algorithm to allow IPv6 NAT
and Socksv5 entries to co-exist in activation table.
Add debugfs entry to dump uc activation table.
Change-Id: I5382a393cb2890cd6c6ee4dc73eadf16c603294a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
On some targets RNDIS function uses BAM to BAM transport,
and is handled by the f_qc_rndis driver. This change
adds RNDIS support using IPA over BAM2BAM.
This is snapshot of the qcrndis driver as of msm-4.9
'commit e4c6a37f8770697d4 ("msm: vidc: avoid OOB
write while accessing memory")'.
Change-Id: I34e9ab6ca25ea515a36ffd54216a09177e5fa746
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
remove QMAP aggregation to Support Cv2X on WAN
pipe by for standalone usecases.
Change-Id: Iea68c9428ec653f192ec03e4a03da1556a77f5fe
Signed-off-by: sivakanth reddy vaka <svaka@codeaurora.org>
Add following changes,
- Include dependent files.
- Handle buffer recycling in new kernel.
- Add WLAN endpoints for IPA_v2_6.
- Fix indentation errors.
- Add structure, api changes in QMI files compatible
with kernel 4.14.
- Add changes to support late clk initialization.
- Add IPA_v2_6 support for platform probing.
- Add locking mechanism as per the new kernel.
Change-Id: I6f153398f9a11026744c076a67a609cf7af807ba
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Add the support to create ipa-uc activation
table and pass the index to user-space module
to configure the v4nat/v6ct rules associated
with the uc-activation table index.
Change-Id: I14b4007dd80b64fb4a151b6b1413bea0c3a468f6
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Add the header file changes for socksv5
info passed from other modules.
Change-Id: Ifa0d37fe09931969dd616c585ee1f08a86827b84
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Add changes to support PCIe addr for WDI2 over GSI
Change-Id: I9084e735b5eb4a75cefc2daeaa22340a5014b2b4
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Only one RmNET instance is supported till now, so
there was a check to not to support additional
protocol in ipa usb driver.
With respect to auto use case requirement we need to
support two rmnet instance, newly added rmnet_cv2x
along with legacy rmnet.
Modify code to support additional rmnet_cv2x teth
interface with respect to protocol, pm states.
Change-Id: I83984de859919a395f1115c8e2a37004d01f0688
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
ipa_disable_apps_wan_cons_deaggr() has different declarations when
CONFIG_IPA or CONFIG_IPA3 are not set. Thus fix the declaration to
align with CONFIG_IPA or CONFIG_IPA3 enabled one.
Change-Id: Ic09cac2484c9cfbcd0833583c05c6fc19a3c2aed
Signed-off-by: jiad <jiad@codeaurora.org>
For clients who use IPA LAN rx data path we added our API
to see if we have NAPI enabled. This feature is only enabled
in later versions of the kernel but the API is to support it
moving forward.
Change-Id: I6cdac1d2aa01fc28916a6adad8ecfc8a2bcc7b65
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add uC debug stats support for AQC/loadable modules.
Change-Id: I21cd3807c8e8973065b79f4ec43a0da382595653
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Enable the page recycling on IPA WAN DL data path.
Change-Id: I25856082f51fd348e3331ebb031e422a1e627143
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Update the FnR stats related changes for IPA 4.5.
Change-Id: I3f34b5d58862636cba39cff3403102fb7884f769
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Support new IPA coalescing pipe IPA_WAN_COAL_CONS. If coalescing
is enabled, this pipe will become the default pipe and be setup with
its own transfer ring but share an event ring with WAN_CONS. Also adds
a new coalescing ifdef and support coalescing in the RT rule.
Change-Id: I4d09aaa030c427271f59461897354e3a7cf7a563
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Change DL/UL WAN pipe configurations for CS offload.
Add new 8 bytes qmap header for DL CS offload.
Add a CS offload enum for QMAP_DL cS offload.
Change-Id: If23ed20a797db143da6dca61fa4c3080a347af1d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Instead of passing events from IPA driver to Rmnet IPA
to control napi operations, Rmnet_IPA passes the napi
struct to IPA driver and IPA driver controls it directly.
This allows flexibility to call any napi APIs from IPA driver.
Change-Id: I3bd82cb6ad28b7663b8209c32f855ddb62e16e52
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Adapt EE area IPA registers to the H/W changes
at IPA version 4.5. This includes e.g. the IPA
interrupt registers.
CRs-Fixed: 2303588
Change-Id: If8ad2fafb0cca0e591c40105a17dcb5c9e2a5256
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
IPA4.5 introduce changes to IPA headers register configuration.
Length, size and offset fields now are wider and utilizes more
bits across the different register. This change adapt the
configuration accordingly.
CRs-Fixed: 2303588
Change-Id: Ib0d2c30519d8bc12bc1bf0a6ee82ad6388c7173c
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
IPA 4.5 time scheme changed to the following:
* Time-stamps are now based on QTIME component.
It is chip level component and keeps ticking even
if IPA is power collapsed.
* Time Counters now works with different discrete
granularity configurable levels based on XO clock
CRs-Fixed: 2291180
Change-Id: Idb5d9d37156c0f1d1f6700baa928f78c30b0769d
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Support header/filter, routing rules
cleanup when user-space module
crashed like ipacm and also cached
the wlan client connect messages
for ipacm to query.
Change-Id: Ib09cbe0e9114aa5a5673898ff796de7e7944af35
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Add new registers and update old registers along with
tables/functions associated with those register to support
ipa 4.2 that is present in SM6150.
Change-Id: I17ae10aa8fe45b774b16b731334c8d3fe13a89e5
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Add IOCTL for reading LAN interfaces VLAN mode from
user space.
Change-Id: I85634b21adf2b1b79feb1b282597289e89ad1df1
Signed-off-by: Amir Levy <alevy@codeaurora.org>
This change fixes a compilation error with missing semicolon
and having an used function when the config flag CONFIG_IPA3
is not enabled for SDM855.
Change-Id: Ic5a51c548c55ce8fb2a83cf22944484e445e31f2
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This is a snapshot of the IPA driver as of msm-4.9
commit '089d1cb5176d3cf8a99eb744027c11b91dba00c9'.
Change-Id: If7d19da967c2851c56b971769d6ff2c38f07465f
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>