Moving the ipanat library sources from the ipacm project to here.
The library will be compiled separately and will be common
for the ipacm and ipa-kernel-tests.
Change-Id: I01becf981e15ea0c2958423585ea487affb421d0
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Includes qmi req ipa_filter_stats_info_type_v01 for
the ipa_filter_stats_info_type_v01.
Change-Id: I015479b02c2c92f6ed048caac0d46d51f96102e8
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Added the following enhancements to page pool recycling logic.
1) Common page pool for coalescing/default pipe.
2) Common page pool will hold 5 times the rx_pool_sz (224) for page
recycling pool and 3 times for temp pool. This is done to sustain
50 stream scenarios.
Change-Id: I55adfffa101df33c46e95b0214fb7338644e8d7c
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
If only partial headers are added from inside the driver,
do not commit.
Change-Id: I7a7671fdd51d122862b0ecd2b960584d3337e0b3
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Use both local (SRAM) and system (DDR) memory
to allocate headers for further insertion.
QMAP headers and partial headers from clients
will be placed in the DDR.
Full headers from clients will be placed
in the SRAM as long as there is enough space.
Once the SRAM buffer runs out of space,
all new headers will go to the DDR.
Change-Id: Ic3913bc1eac4b8629b52c5cdbab1d144bfda776e
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Make changes to fix the stats collection.
Change-Id: Ib8ea3ca44951186ec472578fd13218bbc8c0120c
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
The return for debugfs API got changed. The fix here is to fix the
return check for IPA GSB debugfs init.
Change-Id: I4c6e97c612592763ceab66abdee99d7761c9c164
Operate the clocks in the test HW mode in the same way
as in normal HW mode.
Change-Id: I58f64e7737bf8310156ac47837eb79c91a747e97
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Add GSI profiling stats data and the GSI FW version to debug fs.
Change-Id: I5749339f5ec9656e636a512668025bb09a97a3ec
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Add AQC head_ptr_wrb_mod_threshold to gsi event scratch
and configure according to required value.
Change-Id: Ie1234d76b20fe9e17d5a0a295f748a5876ef4ddd
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Remove the gsi type pending irq check for MHI target.
We observe the HW generating the pending IEOB irq for DMA SYNC channel
as well as MHI UL channel.
Change-Id: Ib578e3e7fcf58e7cc20501994a35f14d98eda1b6
Update IPA SRAM mapping to accommodate with RQoS Q6
changes. Modem memory is increased and NAT table moved
after modem memory to allow it to expend once needed.
Change-Id: I803693f2a337abb2f7219e6de48d25a57111df5b
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Make changes to vote for right IPA clock frequency for
targets with IPAv5.1 and above.
Change-Id: I156b0ff0886133f8d46b692c99543bc9912d05b0
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Make changes to check if rmnet_ipa3_ctx is non null before
accessing it.
Change-Id: I26286cb43c2a116d78fbc072291454cc43e02ee5
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Stop only coalescing pipe if default pipe is not valid or
already tore down.
Change-Id: I9a6f65840bd6bbbb0e302d0d2c048a3e58fc88e1
Signed-off-by: Michael Adisumarta <madiusma@codeaurora.org>
Added the following enhancements to page pool recycling logic.
1) Updated page pool implementation to use list instead of array.
2) Added provision to check for configurable number of list
elements when checking for free pages.
Change-Id: I01c43be5a169c1438fb29b8179854985e199d055
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Change IPA EP 34 GSI channel allocation to channel 8,
as per the latest EP configuration table.
Change-Id: I993c799429555d29120b8181f3d10140ce0c68cf
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Update SRAM partitioning for IPA5.0 to support
Non-Hash IPv4 and IPv6 filtering rules tables in SRAM
In addition, seperate IPA5.0 and IPA5.1 SRAM partitioning.
Change-Id: I1c11212b0bb86305cd84e447eefbbf6d8f253cc0
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Rate limitting the warning if client doesn't have
callback.
Change-Id: I09b02181e4c34ecf342e150de76eace9341a0c0a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
With unified API changes, on usb channel during
resume ep suspend bit was not cleared which was set
during suspend channel. Now Removing ep suspend bit
while resuming channel.
Change-Id: Ib165299ac67d05139c7a964ac3464663d61260a1
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Add the QMI support to change the modem
Bandwidth voting throughput on APQ side
to change the IPA clk scaling.
Change-Id: I904019b4f71fde9edea90dfc62afacb8d65bbd1d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Make changes to not initialize rmnet_ctrl module
for APQ platforms. Also make changes to fix the TX instance
for MHIP pipe for 5_1.
Change-Id: I2295bf7a0703650f89f18d063297c687604888e0
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Adding wrapper API to support PM
approach for WLAN.
Change-Id: I8c234f71ff4a254dcbd9d68add893d439bcfb0cb
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>