In some scenarios WQ scheduling was delayed. To avoid these
issues adding changes to increase the WQ priority.
Change-Id: I597e73a354f2d136843b19a84c859fe3eb7b51e0
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Make changes to enable IPA clock only when it is required.
Change-Id: I1af79ea4f0015e8b7b9d43b18b73b58e66b12c5a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
When DDR header table was full not verifying any free offset entries
present in the list with current logic. So adding changes to use
free offset location in DDR when DDR header table was full.
Change-Id: If2d010db178e2388a83b5b63b47d3d05f2c3f7e2
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Changes to update filter index to failure indication, when wdi filter
add/remove fails from ipa driver layer
Change-Id: I3b590594befe252913dde43fe408a4cd96b9249c
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Changes to not send remove all filter indication to Q6 when modem SSR
is trigerred
Change-Id: If1c86ce41b91f4df1eab592090fbbb7c4f12e535
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
When offset gets added to base of the array, it returns
offset plus the number equal to size of the whole array.
So, correct it by passing the address of offset element
in the array.
Change-Id: I8a087ca277bdc476674c7221b5fc0920e6986570
Adding change to use strscpy to have a robust way of string
copying into another buffer, if we have unknown source string
at run time to avoid fortify_panic.
Change-Id: I16a4fce06ef9bc47b4c6c3d901984e0a7c514d38
Changes to update WDI moderation threshold for cases where WDI opt
datapath is enabled.
Change-Id: I917da8772febbd9e60dfcd66d5953401ce5fe78a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Due to missing the prefetch buff size route and filter table will
overflow if IPA HW tries to prefetch 128Bytes of additional memory when
dealing with filter/routing tables. This can result in overflowing
of memory if we map only the required size. Make changes to
add the prefetch buff size for kalama target.
Change-Id: I045e14b25e397dc800a775f0d5cc02a889fc7c21
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Changes to free memory buffer before returning failure, when WLAN
connectivity related events are ignored due to opt WLAN datapath
enablement
Change-Id: Ie747386416e3a956b5bff88387217e10b351f5e0
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Add changes to support optimized data path over wifi.
Change-Id: I1919ae5a252298d48a0461b0f7b299e6f7927019
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Added null check before accessing member variable in interface
APIs in WDI to avoid possible null pointer dereferencing
Change-Id: I862e4f137ce4a25357c20ff2ff26c761f7f3b156
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
When SRAM free header offset entries are not present it
was trying to allocate the new DDR header entry instead
of searching in DDR free header entry list, due to that
offset location in routing table was overflow and causing
invalid header offset location in the routing table
Change-Id: I5050050361e5fdf66da7f3ce9d8233f8ec892d3c
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
In cases where IPA driver is not probed, list for ipa ready cb's
is not initialized. When any client driver registers for
ipa readiness callback, it results into list corruption. Make
changes to initialize the list.
Change-Id: I922bd7bfccb175167ade907d42635d149eb11fca
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Added a logic to hold the proxy vote for before shutdown and
then unvote when a after shutdown arrives
Change-Id: I14e8e663b0e3334b214de44348d1d16dd1891ae1
Signed-off-by: Abhishek Raghuvanshi <quic_araghuva@quicinc.com>
Due to ipa hw stats structre size was high in lower value tier targets
1MB memory was getting allocated, it was impacting bootup allocations.
So making changes to reduce the ipa hw stats structure size.
Change-Id: I7d4863bf971a70ba736e78bbfadaa38b572bad74
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>
In deepsleep suspend scenario gsi hal driver will be cleaned up
and after that if we try to query the pending interrupt it will return
error, so driver shouldn't assert. Adding to changes to handle the
error scenario.
Change-Id: Ifdffa0496b41f70e00a67b6e724e48e029980449
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>