Add a test suite to test Neutrino 3 hardware offload
Change-Id: I399fdc79dcf0da408ffe41e5638aff1f95461898
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add debugfs support for NTN3 stats.
Collect stats from uC add print from debugfs.
Change-Id: Iaf31beedb7403ee924a170f3b6c45ce0b78b7680
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add NTN3 gsi scratch and protocol.
Add NTN3 support in ipa_eth.
Change-Id: I7dde0f21711617770ea31e325db803108d929565
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Make changes to add support for data warning limit.
Change-Id: Ifb80a4b5c8d2c15e39e75c084d149ab754613481
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Return failure when default wan rt table installation fails.
Change-Id: Ia050a06ac7d99ad1dd097b8a88dc7d0133d2825f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Make changes to ensure NAPI is scheduled only once.
Make changes to use right register
GSI_EE_n_CNTXT_SRC_IEOB_IRQ_CLR_k for clearing interrupt.
Change-Id: I8de97f584ac4915d59b6716e7dff0c181a48cd1e
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
If active client is zero, clk is disabled and SRAM
memory read cause for crash. Enable clk before SRAM
based NAT table read.
Change-Id: I29bd035e0251d3f9959e9af4be53a1fd2ef7f710
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Make changes to update the right pipe mask for tethering
stats. Also the dst_mask now points only to producer pipes i.e
bit 0 indicates the first producer pipe. Make changes to
right shift by first producer pipe number.
Change-Id: I43776ce96fdda5711e73689040c15a2c46bb6c2f
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Make changes to do polling in same NAPI context after
NAPI is rescheduled as we can be stuck forever in
same NAPI context.
Make changes to not assert in case clock is not active
when handling TX interrupt as the packet would have been
processed already as part of NAPI reschedule.
Change-Id: I65c87fa31899a745ff99cc7708eed79927263815
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
To acheieve better performance use separate event ring
for WAN producer.
Change-Id: I79fcb275f4d578acce7ffedbd85f991646cbfd90
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Make changes to enable APQ based target out of 5_1.
Enable IPA MPM module. Make changes to init MPM
from IPA driver to avoid cycling dependency.
Change-Id: Id1e28198305c785d93a39b9093aaa230dfbb9b55
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This is a new feature starting from IPA 5.0.
ULSO - uplink segmentation offload implements
HW IP packets segmentation.
Change-Id: I1d0b70eeb323e4a52c582b5d5d0017817bd14944
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Channel and event ring doorbell base addresses are PCIe root
complex dependent. Move away from that dependency by using newly
introduced APIs to query those values from MHI driver.
Change-Id: Iac1fcf625287e4b50daf5785106eac414d161826
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
As per the IMM document:
"rule id value of 0x3FF is required
(if not set correctly, filtering stats may be updated)"
for both flt_rule_id and rt_rule_id.
This change assignes hardcoded value to these fields
and avoides API user from changing them.
Change-Id: I132e1171adfbd4f83d6a9307f8957a3df45f0860
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
A new field was added to the QMI force clear request message
data structure, to accommodate up to 128 possible endpoints.
If this new field is used on newer architectures,
the old field shall be ignored.
This change implements handling of the new field in the
driver code.
Change-Id: I0d75412a7a177e6307477c54c7efcef225e83f78
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Observing use after free issue during teardown WAN pipe if we
receive the incoming packet. Adding check channel in right state
before access base address.
Change-Id: I29a611693b78637811fe45abea93d9ed3e6f54e5
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Add new entries to the default WAN DL routing table
for ICMP packets. The rules will introduce
the aggregation force close flag in order to improve ICMP latency.
Change-Id: I20c8228d7d07d1ac744f85f9e68cabb75a5f21d0
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
For the kernel tests we want filtering support enabled
on the test pipes on debug builds.
This change adds new DT HW mode <4> for HW in test mode.
In this mode the test pipes will support filtering.
Change-Id: I75effad603704f41c215385c62b09e46f9a019c8
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Observing gsi assert in SSR scenario due to not decreasing the
num_of_chan_allocated count. Adding changes to decrease the count
in dealloc event ring.
Change-Id: Icc0713c25bc5566c377e46fef2a4feb3feed176a
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
disable gsi flow control for mhi flow control channel
if modem is already up.
Change-Id: I5d7f63d85fab8372bf4830d1fe1328027a1ab889
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>