ULSO enabled in dts
Rndis/ecm use hpc based header insertion for ulso. HPC entry and
a linked header entry are added on init and removed on destruction
of rndis/ecm. Previously, the HPC entry was left dangling, pointing
to a deleted header entry.
Change-Id: I59ed7ed5ee8b3dd012f3b7d4104370dd6deac60a
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Three functional changes:
1) Eogre to uC header corruption (ie. first byte) fixed with this
change by adding the DUMMY consumer to the IPA's endpoint
configuration.
2) Removed the ethernet conditional from the reconfigure ep metadata
reg to override mux-id.
3) Added IPA_PROC_CTX_TLV_TYPE_HDR_ADD tlv back to the
IPA_HDR_PROC_EoGRE_HEADER_REMOVE process context message.
Change-Id: I08a1af3156724f965ccad5a6c1026ef2e62bc063
Signed-off-by: Perry Randise <prandise@codeaurora.org>
During header deletion, if there is a HPC referencing to a header,
and the header is deleted, the later commit will cause
writing garbage values to the HW during commit.
Also adding more security checks in the same flow.
Change-Id: I1f2e42673f030aca622c2b232ac5d463fefc485f
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Modify the values used for Tx tail pointer update per completion.
Change-Id: Id6ed8e9d7ca05a8b8611407f05c69633d09a9c82
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Rbase ptr and wp can be same in wrap around case, due to which
channel allocation fails and crash occurs.
Change-Id: I3546d77a0c41ea3fc5c86703bc79e6932af35404
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Fix the double free cache for the queue transfer failure.
Change-Id: Ife6abe3f4c06e6fc5c5ac15544f040d5c8cc831d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Fix the event counts from ipa-driver
to ipacm.
Change-Id: I4bd5f6deaa472bb49a7f34c20200f85323635bcf
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Support for ULSO LAN USB use case in ecm datapath.
Change-Id: Ia58e95a38f7fef660c37ba73e2a271076df1ff18
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Configure right HPS DPS sequene for QDSS PROD pipe and
configure correct channel property.
Change-Id: Ib06b30b1a12a84962fe260fa36c7e5392ef1439a
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Defines new ep config of usb in pcie use case.
Change-Id: I5041c825cef73a0f769b5a219fa25e31590ed41b
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Update metadata register to pick up metadata value with vlan id
from header of packets for AQC and RTK pipe.
Change-Id: I336adb6fac3c4a633ea5eea802097c4cdecf9e1f
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Disabling rmnet_ll and rmnet_ctl init on APQ target.
Change-Id: I070f362f0eb1ad1c51dc34cdb0eb772c250fc9f9
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Quota indication is not yet supported on WLAN Iface.
Add check to return if the request comes for WLAN Iface.
Change-Id: Ib183d0ed21a87f6f759af8d4e5bc4093dffd9374
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Removing the WARN_ON on dmesg due to security
concern to expose device address, change to
use IPA_MPM_ERR in ipc logs for debugging
reference.
Change-Id: I73d5ba9ad43cb43c7eb89801e1131482310b8464
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Changing the sleep range to 1010 - 1050 microsecond if
xdci reset is called after xdci stop.
Change-Id: Ic4aa4c98f61b45cd222b9021e46cc6c00857762c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Due to improper decrement of some IPA clients, the
active client count is greater than zero, due to
which clk not going to gated state. Now doing
proper decrement of those clients.
Change-Id: I57301cdfc34d48874d26fe0b0ee90913c5e6c44b
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Update the QDSS node for IPA_v5_0_RSRC_GRP_TYPE_DST_DPS_DMARS
to the correct values.
Change-Id: Id9e46c5b24765b69d25501dd4fba12b8a13819be
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This feature will add support for the encapsulation of Ethernet VLAN
frames in IP/GRE on uplink, while also stripping IP/GRE headers on
downlink.
Change-Id: I33025405f7a5d738be3c86a6f5ec2fdfd4e37395
Signed-off-by: Perry Randise <prandise@codeaurora.org>
While handling the suspend interrupt due aggregation timeout
possible to IEOB interrupt will be delayed. To handle this
scenario adding changes to decrement clock in delays work queue.
Change-Id: I4b9afebf5a9582f6c94aa5a9cd2eb0904b7171b8
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
The static analysis reported potential null pointer dereference
in the __ipa_add_hpc_hdr_insertion(), which is caused by potential
null pointer returned by the ipa3_id_find().
In fact the ipa3_id_find() may only return null, if the radix tree
was destroyed after a failure in the ipa3_pre_init(). But in this
case, the whole driver will fail much earlier.
Change-Id: I1a3ed08ba59c2efa9c2c5a9f9da97c4218ab9129
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
For more than one wlan clients, if other than first
gets disconnected, stats was not updating at index zero,
due to which stats were showing as zero.
Change-Id: Ie83edeb977f758420334bf30295f978532462de3
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
QCMAP queries for stats then disconnect Wlan client in case
of IPPT, so EAGAIN causes 60 retries with failure logs.
Change-Id: Ifaaeec3caed12da4765a3b9546bec84d854076c8
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>