Changes to read lan coalenscing feature from config and enable the
feature only if config is present
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Change-Id: I939b05e9e7fd146b4649e9dd803e5da6fb58ce72
Adding change to use netif_device_detach instead of netif
_stop_queue to avoid the network stack to trigger a watch
dog timeout if queue is stopped.
Change-Id: Ie24dd0b1451d3dc201ebe5d773c7cb382984e2cc
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
During RNDIS teardown, there are many warning stack prints taking
place. As a result, the composition switch timing is experiencing
a delay longer than the 3 seconds allocated by the userspace timer
when the composition request begins, causing a timeout with the
userspace.With this change we are now using kernel APIs.
Change-Id: Ibbf840fa1764cf3fa2497bd5a642b1aa6e7e1b44
In 2x Pine unload/load scenarios wdi map count never resetting to
zero, so next addr keep on increasing and crossing the geometry range.
So Adding changes to reset next addr to domain end addr.
Change-Id: I1d4762c1a907564001f4451eb9978ddbeea1d269
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
During adding/deleting header rule found invalid entry not
freeing the header proc memory allocation due to that IPA
context bank page table was full, later it was failed
to map pages. To avoid this issue adding change to
free the memory in failed scenarios.
Change-Id: I8e5fd68d35579b4638e91590f5df876aa9d256a6
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Make buffer threshold raw notifier generic to multiple clients.
Change-Id: I99e7e57c0e9388b01c338cb5f6424481995b0924
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Changing the naming convention from spearhead to tlpd.
Change-Id: I13568df4a01848c212dd22f00298ca4a7b781bff
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Make changes to chain the skbs using the next field to
avoid stack recursion when freeing the SKB.
Change-Id: Iaa956faf3f204696965387268ddb9091677c6256
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Adding changes to enable HOLB discard for Apps WAN default and
WAN coalescing pipes for >= IPA_HW_5_5. Also, enable drop stats
by default for the above in LA only and >= IPA_HW_5.5
Change-Id: I34f8028c0bcee46caddb74b9574791fa862abc64
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Make changes to use the new API signatures per the latest
kernel upgrade.
Change-Id: I92bdb6aa7ecd4bf2bc343f7bbff871dd680198b7
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Add rule to flt and route packets from WAN_PROD to WAN_CONS.
Change-Id: Ic580a844a3d1693b3343b3181deafefd874eeb2e
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Solve compile issues for the new branch.
Change-Id: Ic2f7cf29ee810b67c664b7c92cc62a8000412152
Signed-off-by: Michael Adisumarta <quic_madisuma@quicin.com>
Make changes to enable IPA driver for pineapple. Fixed
compilation errors related to kernel upgrade.
Change-Id: Iecbe152fe0b6860616a9a63504d57b92a70ef72e
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Add correct API for getting ep mapping.
Change-Id: I8223dbe3a11b0e89f3d7eb9cfdfc658e259ed73a
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Adding changes to retry with GFP_KENREL flag when memory allocation
fails with GFP_ATOMIC flag. Panic the device if after max retries
also memory allocation fails.
Change-Id: Ic9ad827757de92715be5acc5645b7e860b4bd0e4
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
1. Move the kernel and UAPI header files from the kernel project t the dataipa
2. Add python script which sanitizes and copies UAPI headers
3. Add kernel and UAPI header libraries export to Android makefiles
4. Refactor the driver code to use the internal headers
5. Refactor the driver code export symbols without the IPA framework
6. Merge ipa_clients and rndis modules into the main IPA module
Change-Id: Ie633f291aefe559ff2c39b26a5a9765371399edc
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Making cflags of ipanat and ipa-kernel-test modules compatible with the
android variant.
Change-Id: I5509317638a85432c37b76675a5c8aeb5862ec15
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Use vmalloc for O-4 allocations to avoid failures.
Change-Id: Ia44050830c0fb59fcf2f8a9337bb8473aebcf81b
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Reduce GSI stop channel delay to reduce the time taken to
stop the channels in case there is a retry.
Change-Id: Id86c44239eafecf3dea10bcb13e10e2499421e4d
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Addded change to enable support for hamilton chipset as part of
pinnacles.
Change-Id: Ie8f58c1b385780e778b80f7581c81e2f1a7b6b44
Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
Adding Changes which support to make use of the RX CMN PAGE and TEMP POOL SZ
FACTOR based on DT entries made in target DTSI in addition to the current
support in which these entries being used from the IPA Driver itself.
Change-Id: I93a9820254ee9bb06e437afd0abea980605c043c
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Modified the condition to handle IPA_CLIENT_APPS_LAN_COAL_CONS packets
without the EOT flag. By adding this condition we handled the condition
where coalescing is enabled and a fragment packet is being processed.
Change-Id: I0c6c5866c894da8eefb09d78278da3271b840c3d
Adding changes to use ipa_fwmk ipa_is_vlan_mode API's
instead of ipa3_is_vlan_mode in ipa_clients to fix
compilation error.
Change-Id: Id5b4d713ef6b609d40935131148d501ed20eb855
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
Includes header file definitions and code changes for page recycling stats
on default, coalescing and low latency data pipes.
Change-Id: Iaf208c74da19cc46c88bb224c41182c8514da9b5
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
The max header size changed from 64 to 255, which caused increase
in size of structs containing headers (struct ipa_hdr_add). Fixing the stack buffer
allocation size in the ioctl to avoid buffer overflow.
Note for the future: This function allocates number of buffers
on the stack, but uses only one on each call. It would be better
to refactor it, to use only one buffer, in order to minimize
stack allocations.
Change-Id: Id79efe7901ebf85dab4c0ba09cc7bb852cf22a97
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
* Reduce stack usage in functions for KBDEV
* Adjust pre-processor directives to a kernel change
Signed-off-by: Eliad Ben Yishay <quic_ebenyish@quicinc.com>
Change-Id: I4e434c486c25496889199269d722c195094edb74
Adding changes to get rid of extraneous parenthesis
and a ifdef flag to not compile if it is not required
to avoid compilation failures or unused function errors.
Change-Id: I6f337ff63aad4f5e5a7201d4ba0d47898f237e09