Adding support for new IMM: IP_PACKET_INIT_EX
The new IMM enables different fields configuration,
extending the older IP_PACKET_INIT.
Change-Id: Icac62d09d4694ab5634fda41579c9de8e4c3afc3
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Update metadata register to pick up metadata value with vlan id
from header of packets.
Change-Id: I04fb0ae5a348c316220cb4667252892397560859
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
Includes agg_byt_limit update for ioctl_v2
Change-Id: I21121b10857f0742297694cc2230cdb782b14360
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add a new IOCTL that will allow userspace modules to
get and set the v4/v6 mtu for a specific rmnet interface
for IPA driver and IPACM to use.
Change-Id: Iaf0685ef7095960ddd1cd3fff803956a18e0a942
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add support for sharing page tables between IPA ETH
context bank and ETH context bank. In case of shared
CB no need to map ETH buffers.
Fix double mapping in case of two buffers lay on the same
page (non shared CB mode).
Change-Id: Ic52479da3c26a2db4075c260044428a0ef93bb6a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add assert on all gsi stop channel cases to capture the issue
ahead of time.
Change-Id: I044f192c63a724e00a9559bcb44260f0763ff824
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Fixing updating of hw_type_index and max_num_smmu_cb
in ipa pre-init
Change-Id: I5de017dbe07dae85ec1ec74f5589a150a663216c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Change includes updating non-napi rx_buff size configured
from netmngr through ext_ioctl_v2.
Change-Id: I76656ff898b69872bdb62806f45bf6ee23f0627f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Call internal IPA API instead of external API that are
stubbed as not used externally.
Change-Id: I9ad9c8c3dc5139ca3236371aeb59fb6712cb2dee
Signed-off-by: Amir Levy <alevy@codeaurora.org>
We observe the IPA RX stall due to the DEAGGR_ERR_IRQ
of PACKET_SIZE > FRAME_SIZE on rndis.
In IPA, some of de-aggregation error handling checks
are dependent on the syspipe_err_detection config bit.
Adding IGNORE_MIN_PKT_ERR bit for rndis as well based
on recommendations.
Change-Id: I4bbbfed62802cb0244013a402f99456f2573181a
During usb client disconnect, ep suspend bit was
set on usb consumer pipe which was not removing
during usb client reconnect and causing stall
on the pipe. Now Removing ep suspend during
client disconnect.
Change-Id: I5fbb646ab9eed8cc7d7def7f318a8eab144ad2ac
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Fix the ep config low lat pipes for IPA_5_1
Change-Id: Iba17b8b74e4e3b2c6a7b6bf3d8957e7ca94a5ae6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Make changes to exercise unit test on new wdi 2.4G tx pipe.
Change-Id: I8f436c1f544d1bad511fea6def0823f3bb0a703a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Make changes to add new TX pipe for 2.4G interface
Change-Id: If6879a0d4ad33aa21b447f7f70ff78f44802efc0
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
When IPA_FW is loaded via bootloader, ipa post initialization is
complete even before ipa3_write is executed. As a result
when ipa3_write is called with VLAN parameters, VLAN
info is not updated and VLAN offload fails. Fix reading the
VLAN parameters even if post initialization is complete.
Change-Id: I6f61e0ef4bfa9787b5b5d68bb323d69c443e9645
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
To support setting up ingress and egress ioctl parameters
from netmngr
Change-Id: Ib5aa503c951e6650e34dfa6ee501390a82967ab6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Changes done to return try again error if inited and disconnect
client both are set.
Change-Id: Ia15eede7cb3a5c83ffe613be9c18ef473476668c
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>