summaryrefslogtreecommitdiff
path: root/include/linux/ipa.h (follow)
Commit message (Collapse)AuthorAge
* msm: ipa: Check ep empty before resetMohammed Javid2018-09-20
| | | | | | | | Check for q6 ep empty before issue reset via uC. Change-Id: I2101ed7485a5d688ec156fee4489c20fb8722ace Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* msm: ipa: support ipacm cleanupSkylar Chang2018-08-02
| | | | | | | | | | | | | 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 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa3: fix compatibility with ipa kernel testsAmir Levy2017-08-06
| | | | | | | | Add several defines and structs to allow IPA kernel tests running. Change-Id: I9c8f114b28aa617bdf1bfe56b44b73852a178ece Acked-by: Dmitry Kogan <dmitryk@qti.qualcomm.com> Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa: Fix WDI2.0 statsUtkarsh Saxena2017-01-23
| | | | | | | | | | | | | | 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>
* msm: ipa3: support AP+STA IPA statsSkylar Chang2016-12-13
| | | | | | | | | | 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>
* msm: ipa3: header file change for wdi-statsSkylar Chang2016-10-26
| | | | | | | | | 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>
* msm: ipa: Recycle wan bufferSunil Paidimarri2016-09-28
| | | | | | | | | Enable recycle wan buffer support in IPA driver to support napi in rmnet ipa0 net device. Change-Id: I54efe72b5cf4ecdf50c7c642a8b453c46d057e57 CRs-Fixed: 1072443 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
* Merge "msm: ipa: header change for SMMU wlan VA mapping"Linux Build Service Account2016-08-26
|\
| * msm: ipa: header change for SMMU wlan VA mappingSkylar Chang2016-08-24
| | | | | | | | | | | | | | | | | | Wlan need to pass the VA to let the IPA-driver decide when to suspend the WDI pipe in SMMU enabled scenario. Change-Id: I00ae7f088c7411c8a6420f5e7ab12276d65fd269 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | msm: ipa3: Update registers configurations for IPAv3.5/3.5.1Ghanim Fodi2016-08-21
|/ | | | | | | | | | | IPA v3.5 and v3.5.1 introduces changes to several IPA registers. Some registers have new fields, some fields are shifted and others are removed. This change updates IPAHAL to support these changes. CRs-fixed: 1055677 Change-Id: I2046318ba40beca75bdc2f40554fc9a458da5581 Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
* msm: ipa: disconnect sequence change for USB 2.0Utkarsh Saxena2016-08-02
| | | | | | | | | | | | | | | | | | | | For USB 2.0 there is a requirement to not to flush the USB endpoints after the pipes are disconnected. Otherwise this can result into NOC errors. Make a change to modify the disconnect sequence as below. 1) USB driver first disable the pipes 2) New API is provided from IPA to disable the endpoint. 3) As part of disable, make sure pipes are empty and reset the pipes. 4) USB resets its BAM and flushes the ep. 5) USB then disconnects both IPA and USB pipes. Change-Id: I917f025678e6abb03058d5be4ec42d9e6d76835f CRs-Fixed: 1038623 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com> Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
* msm: ipa: Add napi support to rmnet ipa deviceSunil Paidimarri2016-06-10
| | | | | | | | | Add napi framework to use napi API's to poll embedded data from IPA HW. Change-Id: Icb6ec9d060ca4fb02e95c1e98bded89422bb1fff CRs-Fixed: 1002026 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
* msm: ipa3: add ipa_mhi to ipa_clientsAmir Levy2016-05-24
| | | | | | | | | | | | | | As part of of IPA driver refactoring a separation has been made between IPA core driver and the IPA clients. MHI specific code in ipa_mhi.c has been transferred to a new file called ipa_mhi_client.c. IPA clients drivers are the interface between IPA core driver and external drivers. Specifically, ipa_mhi driver is the interface between the MHI driver and IPA core. CRs-fixed: 989505 Change-Id: Iebcde6d233ff8580aa83b1885f1e8a01644dd1f4 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa3: use user parameter for GSI ring lenSkylar Chang2016-04-27
| | | | | | | | | | Calculate GSI ring length based on the input parameter to setup pipe API. Change-Id: I151400624f374262a955a04d211a96c43feb6d98 CRs-Fixed: 996292 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa3: remove odu_bridge functions from ipa.hAmir Levy2016-04-07
| | | | | | | | | | | | | | | | As part of IPA driver refactoring, a separation has been made between IPA core driver and the IPA clients. odu_bridge driver has moved to the ipa_clients folder and a dedicated header file has been created in order to provide a direct interface between IPA odu_bridge client driver and other drivers without a direct interaction with the IPA core driver. This change moves odu_bridge functions and structure from ipa.h to the ipa_odu_bridge.h header. CRs-fixed: 999935 Change-Id: I1b24c4e13daaae3e63c5cacefcbda12b8cfbeeb8 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* msm: ipa: header change for wlan VA mappingSkylar Chang2016-04-07
| | | | | | | | | | wlan will pass the VA to IPA-driver to let IPA-driver access the values of rdy_ring_rp and rdy_comp_ring_wp to decive when can suspend the WDI pipe Change-Id: I73447c5557d42817ac2214532273e0de638e13d9 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa: header file change for WDI2.0Skylar Chang2016-04-07
| | | | | | | | structure changes for WDI2.0, wlan needs pass comp_ring_base_pa and comp_ring_wp_pa to ipa-uc Change-Id: Ib0cdd0c7614916e53f2731f61d0399959d4b739d Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa3: Add the ability to set dynamically HPS/DPS seq typeNadine Toledano2016-03-25
| | | | | | | | | | | HPS/DPS sequencer type is configured statically for PROD EPs according to ipa3_ep_mapping table. This change adds the ability to set a different HPS/DPS sequencer configuration for PRODs, which mainly be used in testing CRs-Fixed: 986167 Change-Id: I47dec10e757694596385f5118486603c702fe302 Signed-off-by: Nadine Toledano <nadinet@codeaurora.org>
* msm: ipa: add support for AGGR_SW_EOF_ACTIVESkylar Chang2016-03-25
| | | | | | | | | | | | Configure AGGR_SW_EOF_ACTIVE for WAN_CONS pipe in order to allow modem to close aggregation on this pipe. This is needed in order for modem to ensure a QMAP command packet always resides in the end of aggregated frame. Change-Id: I7412f1f0af8d2109853e311de815a1f1ec3220e3 CRs-Fixed: 979484 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa: snapshot of IPA changesSkylar Chang2016-03-23
| | | | | | | | This snapshot is taken as of msm-3.18 commit d5809484b (Merge "msm: ipa: fix race condition when teardown pipe" ) Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa3: support IPA driverSkylar Chang2016-03-23
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>