Add IOCTL for reading LAN interfaces VLAN mode from
user space.
Change-Id: I85634b21adf2b1b79feb1b282597289e89ad1df1
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Support header/filter, routing rules
cleanup when user-space module
crashed like ipacm and also cached
the wlan client connect messages
for ipacm to query.
Change-Id: Ib09cbe0e9114aa5a5673898ff796de7e7944af35
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
IPA core driver will receive at boot information about which LAN
interfaces should support VLAN. rndis_ipa and ecm_ipa will query
that info and will register the correct header accordingly.
Change-Id: I9cf0875e94373e06aa6a4200d629e5934199a345
CRs-Fixed: 2156924
Signed-off-by: Amir Levy <alevy@codeaurora.org>
for WLAN
This is an API for getting IPA SMMU status, this API
will currently report if IPA SMMU is enabled or not
for WLAN Context Bank.
Change-Id: I9dec309c74043e259aa01ba9a49d9537e9d92208
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
IPAv4 HW presents new IPv6 connection tracking functionality.
This change adds SW support of this feature.
Change-Id: I7545af08f090405db80bbd8c10223ca7521080d9
Acked-by: Dmitry Kogan <dmitryk@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
TZ now locks all PCIe accesses by default, This API allows to
dynamically unlock specific memory regions over PCIe bus. The unlock
mechanism is required by MHI and WLAN drivers.
Change-Id: Ia44fe2ad4b7b6fe4efef7807e60f24b6f12e4398
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
On device bootup and embedded call scenario,
need vote for LOWSVS.
Change-Id: Ie733d0aa4e5b57fa9a478fa0f285fe0ba4d81b58
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This change configures IPA to perform speculative IPv6 connection
tracking calculation on producer pipes and differentiate between
NAT exceptions and IPv6CT exceptions.
Change-Id: Ia742649a08b0d3eaac651c3a1a556677b3acc76a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add structure changes for querying WDI-stats, wlan needs
register the callback functions for IPA to query WDI stats
and sets the quota limit on STA mode.
Change-Id: I62de66e9b0bb1eeeac3c94d1ac1037285811b631
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Add IPA stats support on AP+STA mode when
CNE queries. Also add metering funtionality
on WIFI interface to stop the data transfer
when quota reached on WIFI-case.
Change-Id: I85da89f681170acf21674a8f1a34778014c92892
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
BAM support is not required in IPA3 driver as GSI
is being used instead. Removal of BAM specific
code significantly simplifies and reduces the IPA3 code.
Change-Id: I8c27da3b9b04aacf4308d283419cfa431235bfcf
Acked-by: Dmitry Kogan <dmitryk@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
On sdm845, an IPA endpoint can be used for more than one configuration,
where each configuration has its own set of parameters. Therefore, the
endpoint configuration cannot be saved as an array according to endpoint
index.
CRs-Fixed: 1097871
Change-Id: I74e1a61e5785a0a80c5e164dd4cf8e98e385cb17
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
New stat param "num_qmb_int_handled" is added to rx_ch_stats
by IPA uC in WDI2.0. This results in a size mismatch and
WDI stats feature is broken. Make a change to update the
new param "num_qmb_int_handled" in rx_ch_stats structure.
Also make a change to read all the rx_ch_stats to avoid
printing stale values.
Change-Id: I5d141f531f1cfdab0bd0056041e22acb26657960
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
This is a snapshot of IPA from kernel msm-4.4 based on
commit ebc2a18351d4 ("msm: ipa: WA to get PA of sgt_tbl from wlan")
CRs-Fixed: 1077422
Change-Id: I97cf9ee9c104ac5ab5bc0577eb9413264b08a7a5
Signed-off-by: Amir Levy <alevy@codeaurora.org>