Commit gráf

427 Commit-ok

Szerző SHA1 Üzenet Dátum
Ilia Lin
bab7ef34de ipahal: Add IMM modify method
Change-Id: I409864f882287624ea4ab01c15881d046d320396
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-03-03 17:10:42 +02:00
Ilia Lin
b5a39c2051 ipa: Adding support for IP_PACKET_INIT_EX IMM
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>
2021-03-03 17:06:25 +02:00
Bojun Pan
4eb2c50ac8 msm:ipa: fix the enum issue on WDI3 reg prop
Use WLAN2 enum on WDI3 protocol.

Change-Id: I1e8f331f61aac7a72fb032ad4ea365a4d0b4c1d3
2021-02-26 16:40:00 -08:00
qctecmdr
d2ed022dbb Merge "msm: ipa3: fix IPA KW p1 errors" 2021-02-25 19:13:50 -08:00
Michael Adisumarta
4e725130da msm: ipa3: fix IPA KW p1 errors
Fixing KW error on LA.VENDOR.1.0

Change-Id: Ie19fc08b9b35581eb6e52b126ccccb20c9ee3f32
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-25 12:11:12 -08:00
Akshay Pandit
9496877331 msm: ipa3: Update metadata register based on vlan id from packets
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>
2021-02-22 13:14:55 +05:30
qctecmdr
fca54c539f Merge "msm: ipa3: Fix the agg_byte_limit update for ioctl_v2" 2021-02-19 22:17:25 -08:00
qctecmdr
ef2c61e385 Merge "msm: ipa: Add new IOCTLs to get and set MTU" 2021-02-19 00:52:06 -08:00
qctecmdr
c6f25b87fe Merge "msm: ipa: fix the IPA clock vote on non-NAPI case" 2021-02-19 00:18:29 -08:00
qctecmdr
cd5c9b4563 Merge "msm: ipa3: immediately return after rx_len is cached." 2021-02-18 23:44:43 -08:00
Michael Adisumarta
6be04c2b1f msm: ipa3: Fix the agg_byte_limit update for ioctl_v2
Includes agg_byt_limit update for ioctl_v2

Change-Id: I21121b10857f0742297694cc2230cdb782b14360
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-18 18:00:42 -08:00
Michael Adisumarta
f8830cf940 msm: ipa: Add new IOCTLs to get and set MTU
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>
2021-02-18 14:59:55 -08:00
Bojun Pan
35baeb24e7 msm: ipa: fix the IPA clock vote on non-NAPI case
Fix the potiental addition reference counts issue.

Change-Id: Ib01707ab00db7413c46eee7ccb8d74460344d047
2021-02-17 14:04:04 -08:00
qctecmdr
1bcd04848d Merge "msm: ipa: add shared CB support for ETH" 2021-02-17 07:38:40 -08:00
qctecmdr
786b87e54b Merge "msm: ipa3: fix the aggregation disablement" 2021-02-17 04:29:12 -08:00
Michael Adisumarta
0ae88365be msm: ipa3: fix the aggregation disablement
Fixing aggregation disablement on LOW_LAT_CTRL pipe

Change-Id: Ic5705783209d9a158c03429c7f4638ea8a9646b1
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-16 19:16:35 -08:00
qctecmdr
c23adff2eb Merge "msm: ipa: enable SYSPIPE_ERR_DETECTION bit for deaggr_err" 2021-02-16 19:13:54 -08:00
Amir Levy
b20a8dd907 msm: ipa: add shared CB support for ETH
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>
2021-02-15 06:30:16 -08:00
qctecmdr
0c35df3986 Merge "msm: ipa: fix usage of ipa driver API" 2021-02-14 09:57:34 -08:00
qctecmdr
29a5ecae64 Merge "msm: ipa: update gsi config for RTK" 2021-02-12 22:19:17 -08:00
qctecmdr
f89c49b162 Merge "msm: ipa: assert on gsi stop channel failure" 2021-02-12 21:10:14 -08:00
Bojun Pan
ac12b70a3c msm: ipa: update gsi config for RTK
1. Change the RTK doorbell to MSI doorbell.
2. Update RTK element size to 32B.

Change-Id: Iec9301e30b51841c139b97abeaa6354a88fdef59
2021-02-11 15:08:17 -08:00
Bojun Pan
d21d7ca509 msm: ipa: assert on gsi stop channel failure
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>
2021-02-11 15:07:58 -08:00
Michael Adisumarta
8619f98b41 msm: ipa3: fix the hw_type_index in ipa pre-init
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>
2021-02-11 12:50:18 -08:00
qctecmdr
6a476e89a2 Merge "msm: ipa: fix updating the rx_buff size from netmngr" 2021-02-11 07:40:30 -08:00
qctecmdr
d68dfd51ff Merge "msm: ipa3: Remove suspend bit for ep consumer" 2021-02-10 21:21:40 -08:00
Michael Adisumarta
cff624a76c msm: ipa: fix updating the rx_buff size from netmngr
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>
2021-02-10 11:15:17 -08:00
Amir Levy
64ea36b4fc msm: ipa: fix usage of ipa driver API
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>
2021-02-10 15:37:48 +02:00
Bojun Pan
64c82cf841 msm: ipa: enable SYSPIPE_ERR_DETECTION bit for deaggr_err
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
2021-02-09 16:51:11 -08:00
Piyush Dhyani
35fd44b9e8 msm: ipa3: Remove suspend bit for ep consumer
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>
2021-02-09 23:21:57 +05:30
Ashok Vuyyuru
7aa1dc1510 msm: ipa4: Enhanced flow control changes
Adding changes to support enhanced flow control.

Change-Id: Id656319703a27f5073c6fd129fb4202a37b49aad
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2021-02-09 17:13:28 +05:30
qctecmdr
a4dc1b2178 Merge "msm: ipa: add new unit test case for wdi 2.4G Tx pipe" 2021-02-08 10:19:18 -08:00
qctecmdr
4e84082c57 Merge "msm: ipa: add new TX pipe for wdi 2.4G interface" 2021-02-08 09:44:07 -08:00
qctecmdr
38d2ee460a Merge "msm: ipa3: fix low lat prod/cons channel config" 2021-02-07 21:00:57 -08:00
Michael Adisumarta
77c87454bc msm: ipa3: fix low lat prod/cons channel config
Fix the ep config low lat pipes for IPA_5_1

Change-Id: Iba17b8b74e4e3b2c6a7b6bf3d8957e7ca94a5ae6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-07 11:31:29 -08:00
qctecmdr
b9d424a20e Merge "msm: ipa3: adding new wwan extended_v2 ioctl" 2021-02-06 12:34:18 -08:00
Michael Adisumarta
e9bb16b440 msm: ipa: add new unit test case for wdi 2.4G Tx pipe
Make changes to exercise unit test on new wdi 2.4G tx pipe.

Change-Id: I8f436c1f544d1bad511fea6def0823f3bb0a703a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-05 16:43:06 -08:00
Michael Adisumarta
3b01837536 msm: ipa: add new TX pipe for wdi 2.4G interface
Make changes to add new TX pipe for 2.4G interface

Change-Id: If6879a0d4ad33aa21b447f7f70ff78f44802efc0
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-05 11:29:30 -08:00
qctecmdr
fe7afbed79 Merge "msm: ipa: Fix reading the VLAN parameters" 2021-02-03 20:05:48 -08:00
Akshay Pandit
5228ce9529 msm: ipa: Add support for auto
cv2x endpoint configuration changes

Change-Id: Idcb36a43375fc29d68c68a7ba207e95dccc3518c
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-02-03 08:40:51 +05:30
qctecmdr
c2c52bff46 Merge "msm: ipa: Return error if inited and disconnect flag is set" 2021-02-02 03:20:55 -08:00
Michael Adisumarta
7de33f54a1 msm: ipa: Fix reading the VLAN parameters
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>
2021-02-01 18:18:20 -08:00
Michael Adisumarta
528d18939c msm: ipa3: adding new wwan extended_v2 ioctl
To support setting up ingress and egress ioctl parameters
from netmngr

Change-Id: Ib5aa503c951e6650e34dfa6ee501390a82967ab6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2021-02-01 17:45:49 -08:00
qctecmdr
0b3c307ac4 Merge "msm: ipa: remove the ODL pipe for MHI configuration" 2021-02-01 17:01:33 -08:00
Armaan Siddiqui
ec0c63cf86 msm: ipa: Return error if inited and disconnect flag is set
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>
2021-02-01 14:43:38 +05:30
qctecmdr
93215f82d4 Merge "msm: ipa: fix race condition on PM vote on sys pipes" 2021-01-30 01:17:04 -08:00
qctecmdr
2c287970e1 Merge "msm: ipa: update WAN DL pipe for MHI configurations" 2021-01-30 00:46:47 -08:00
qctecmdr
fba764fba9 Merge "msm: ipa: update the ethernet client to proper CB" 2021-01-28 08:26:41 -08:00
qctecmdr
2b8660500a Merge "msm: ipa: IPA driver changes for H/w fnr stats" 2021-01-28 06:27:41 -08:00
qctecmdr
73d27ba533 Merge "msm: ipa: Add support to L2TP over UDP" 2021-01-28 05:55:30 -08:00