[PATCH 1/2] ath10k: Make CE layer bus agnostic

2017-06-27 Thread Govind Singh
Remove bus specific dependencies from CE layer to have common CE layer across multiple targets. This is required for adding support for WCN3990 chipset support as WCN3990 chipset uses SNOC bus interface with Copy Engine endpoint. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- d

[PATCH 2/2] ath10k: Add copy engine register MAP for wcn3990 target

2017-06-27 Thread Govind Singh
Copy engine is a host to target communication interface between wlan firmware and wlan wcn3990 platform driver. Add copy engine register map for wcn3990 wlan module. This add support for the copy engine source/destination ring configuration for wcn3990 chipset. Signed-off-by: Govind Singh <g

[PATCH 2/2] ath10k: Populate RSC counter to firmware

2017-12-08 Thread Govind Singh
the packet in PN check if received packet sequence no is less than current RSC counter during group keys(GTK) exchange. Tested on QCA6174 HW3.0 with firmware version RM.4.4.1.c1-00035-QCARMSWP-1. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/mac.c

[PATCH 1/2] mac80211: Populate RSC counter in set_key method

2017-12-08 Thread Govind Singh
Send RSC counter to driver in set_key method, so that FW/driver can drop the packet in PN check if received packet sequence no is less than current RSC counter during group keys(GTK) exchange. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- include/net/mac80211.h | 6 -

[PATCH 03/10] ath10k: Add support for 64 bit HTT in-order indication msg

2017-12-21 Thread Govind Singh
WCN3990 target use 64bit msdu address in htt in-order indication message. Add support for 64 bit msdu address in HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND message. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/htt.h| 12 +- drivers/net/wirele

[PATCH 01/10] ath10k: Add hw param for 64-bit address support

2017-12-21 Thread Govind Singh
From: Rakesh Pillai <pill...@qti.qualcomm.com> WCN3990 target supports 37-bit addressing mode. In order to accommodate extended address support, add hw param to indicate if the target supports addressing above 32-bits. Signed-off-by: Rakesh Pillai <pill...@qti.qualcomm.com> Signed-of

[PATCH 06/10] ath10k: Add support for htt_data_tx_desc_64 descriptor

2017-12-21 Thread Govind Singh
descriptor fields. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/htt.h| 38 +++- drivers/net/wireless/ath/ath10k/htt_tx.c | 294 --- drivers/net/wireless/ath/ath10k/mac.c| 2 +- 3 files changed, 307 insertions(

[PATCH 02/10] ath10k: Update rx descriptor for WCN3990 target

2017-12-21 Thread Govind Singh
WCN3990 rx descriptor uses different offset of msdu start, msdu end, ppdu end, rx pkt end and rx frag info. To accommodate different offsets, define respective fields in rx descriptor of WCN3990 target. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/

[PATCH 07/10] ath10k: Add hw param for rx ring size support

2017-12-21 Thread Govind Singh
WCN3990 uses larger ring size in comparison to existing ring size value. Add rx ring size hw param for supporting different rx ring size across multiple target. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 13 + drive

[PATCH 10/10] ath10k: Add support for 64 bit ce descriptor

2017-12-21 Thread Govind Singh
data. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/ce.c | 630 +- drivers/net/wireless/ath/ath10k/ce.h | 48 ++- drivers/net/wireless/ath/ath10k/pci.c | 6 +- 3 files changed, 587 insertions(+), 97 del

[PATCH 05/10] ath10k: Add support for 64 bit HTT frag descriptor

2017-12-21 Thread Govind Singh
WCN3990 target uses 64 bit frag descriptor and more fields in TSO flag. Add support for 64 bit HTT frag descriptor. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/htt.c| 2 +- drivers/net/wireless/ath/ath10k/htt.h| 32 ++- drive

[PATCH 00/10] *** HTT/CE changes for WCN3990 ***

2017-12-21 Thread Govind Singh
are validated on QCA6174 and WCN3990 target. Govind Singh (9): ath10k: Update rx descriptor for WCN3990 target ath10k: Add support for 64 bit HTT in-order indication msg ath10k: Add support for 64 bit htt rx ring cfg ath10k: Add support for 64 bit HTT frag descriptor ath10k: Add support

[PATCH 08/10] ath10k: Add paddrs_ring_64 support for 64bit target

2017-12-21 Thread Govind Singh
hw param flag. Use u64 type while popping paddr from the rx hash table for 64bit target. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/htt.c| 1 + drivers/net/wireless/ath/ath10k/htt.h| 15 - drivers/net/wireless/ath/ath10k/ht

[PATCH 04/10] ath10k: Add support for 64 bit htt rx ring cfg

2017-12-21 Thread Govind Singh
it in runtime based on target_64bit hw param flag. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/htt.c| 4 +- drivers/net/wireless/ath/ath10k/htt.h| 42 +++-- drivers/net/wireless/ath/ath10k/htt_tx.c | 145 +++-

[PATCH 09/10] ath10k: Use dma_addr_t for ce buffers to support 64bit target

2017-12-21 Thread Govind Singh
CE send and receive API's are using u32 ring address, which truncates the address for target with 64bit addressing range. Use dma_addr_t for ce buffers to support target with extended addressing range. Signed-off-by: Govind Singh <govi...@qti.qualcomm.com> --- drivers/net/wireless/ath/

Re: [PATCH 07/12] ath10k: Add MSA handshake QMI mgs support

2018-05-14 Thread Govind Singh
Hi Bjorn, Thanks for the review. On 2018-05-12 00:13, Bjorn Andersson wrote: On Sun 25 Mar 22:40 PDT 2018, Govind Singh wrote: HOST allocates 2mb of region for modem and WCN3990 secure access and provides the address and access control to target for secure access. Add MSA handshake request

Re: [PATCH 04/12] ath10k: add support to start and stop qmi service

2018-05-14 Thread Govind Singh
On 2018-05-11 23:13, Bjorn Andersson wrote: On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote: Add support to start qmi service to configure the wlan firmware component and register event notifier to communicate with the WLAN firmware over qmi communication interface. Signed-off-by: Govind

Re: [PATCH 03/12] ath10k: Add ath10k QMI client driver

2018-05-14 Thread Govind Singh
Hi Bjorn, Thanks for the review. On 2018-05-11 22:55, Bjorn Andersson wrote: On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote: Add QMI client driver for Q6 integrated WLAN connectivity subsystem. This module is responsible for communicating WLAN control messages to FW over QUALCOMM MSM

[PATCH v2] ath10k: Replace bit shifts with the BIT() macro for rx desc bits

2018-05-09 Thread Govind Singh
Use the BIT() macro from 'linux/bitops.h' to define the rx desc bit flags to have consistency with new definitions. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/rx_desc.h | 136 +++--- 1 file changed, 69 insertions(+), 67 del

Re: [PATCH] ath10k: Replace bit shifts with the BIT() macro for rx desc bits

2018-05-09 Thread Govind Singh
On 2018-05-09 13:10, Marcus Folkesson wrote: Hello Govind, On Wed, May 09, 2018 at 10:18:04AM +0530, Govind Singh wrote: Use the BIT() macro from 'linux/bitops.h' to define the rx desc bit flags to have consistency with new definitions. Signed-off-by: Govind Singh <govi...@codeaurora.

Re: [PATCH 06/12] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-05-08 Thread Govind Singh
On 2018-05-08 02:12, Bjorn Andersson wrote: On Sun 25 Mar 22:40 PDT 2018, Govind Singh wrote: Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh <govi...@codeaurora.org> Please use ./scripts/get_maintai

[PATCH] ath10k: Replace bit shifts with the BIT() macro for rx desc bits

2018-05-08 Thread Govind Singh
Use the BIT() macro from 'linux/bitops.h' to define the rx desc bit flags to have consistency with new definitions. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/rx_desc.h | 134 +++--- 1 file changed, 67 insertions(+), 67 del

Re: [PATCH v3 00/12] *** Add support for wifi QMI client driver ***

2018-05-08 Thread Govind Singh
On 2018-05-08 23:07, Bjorn Andersson wrote: On Sun 25 Mar 22:37 PDT 2018, Govind Singh wrote: Add QMI client driver for Q6 integrated WLAN connectivity subsystem. This module is responsible for communicating WLAN control messages to FW over QMI interface. “QUALCOMM Messaging Interface”(QMI

Re: [PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-06-08 Thread Govind Singh
On 2018-06-06 04:55, Brian Norris wrote: Hi, On Tue, Jun 05, 2018 at 06:07:32PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages to wifi fw QMI service using QMI

Re: [PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-06-08 Thread Govind Singh
On 2018-06-06 04:55, Brian Norris wrote: Hi, On Tue, Jun 05, 2018 at 06:07:32PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages to wifi fw QMI service using QMI

[PATCH] ath10k: Handle resource init failure case

2018-06-13 Thread Govind Singh
Return type of resource init method is not assigned. Handle resource init failures for graceful exit. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/snoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers

Re: [PATCH net-next] ath10k: make some functions static

2018-06-04 Thread Govind Singh
On 2018-06-04 17:34, Niklas Cassel wrote: On Mon, Jun 04, 2018 at 01:27:43PM +0300, Kalle Valo wrote: Wei Yongjun writes: > Fixes the following sparse warnings: > > drivers/net/wireless/ath/ath10k/snoc.c:823:5: warning: > symbol 'ath10k_snoc_get_ce_id_from_irq' was not declared. Should it be

[PATCH v2 1/6] ath10k: Add qmi service helpers for wcn3990 qmi client

2018-06-05 Thread Govind Singh
WLAN qmi server running in Q6 exposes host to target cold boot qmi handshakes. Add WLAN QMI service helpers for ath10k wcn3990 qmi client. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 2072 + .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 677

[PATCH v2 2/6] ath10k: Add support to create boardname for non-bmi target

2018-06-05 Thread Govind Singh
From: Rakesh Pillai Add support to create the boardname for non-bmi targets like WCN3990, which uses qmi for bdf download. This boardname is used to parse the board data from board-2.bin. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 14

[PATCH v2 0/6] *** Add support for wifi QMI client driver ***

2018-06-05 Thread Govind Singh
xed region support to support unload use-case. Unified logging. Testing: Tested all qmi handshakes, driver load/unload and STA/SAP sanity testing. Tested HW: SDM845(WCN3990) Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1 Govind Singh (5): ath10k: Add qmi service helpe

[PATCH v2 3/6] dt: bindings: add bindings for msa memory region

2018-06-05 Thread Govind Singh
Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 1 file changed, 4 insertions(+)

[PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-06-05 Thread Govind Singh
WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1 and SDM845 MTP device. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig | 13 +- drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless/ath/ath10k/core.c |6 +- drivers/net/wireless/ath/ath10k/core.h |2 + drivers

[PATCH v2 5/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-06-05 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index

[PATCH v2 4/6] ath10k: Add debug mask for QMI layer

2018-06-05 Thread Govind Singh
Add debug mask to control debug info of ath10k qmi messaging layer. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 0afca5c106b6

RE: [RFC v3 03/11] ath10k: per target configurablity of various items

2018-01-08 Thread Govind Singh
oC. BR, Govind -Original Message- From: Kalle Valo [mailto:kv...@codeaurora.org] Sent: Monday, January 8, 2018 7:12 PM To: Erik Stromdahl <erik.stromd...@gmail.com> Cc: linux-wirel...@vger.kernel.org; ath10k@lists.infradead.org; Rakesh Pillai <pill...@qti.qualcomm.com>; Govin

[PATCH] ath10k: Fix log message for hif power on failure

2018-02-04 Thread Govind Singh
HIF power-on failure is applicable to each underlying bus type. Fix log message for hif power on failure. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wirele

[PATCH 13/13] dt: bindings: add bindings for wcn3990 wifi block

2018-02-15 Thread Govind Singh
Add device tree binding documentation details for wcn3990 wifi block present in Qualcomm SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh <govi...@codeaurora.org> --- .../bindings/net/wireless/qcom,ath10k.txt | 35 ++ 1

[PATCH 11/13] ath10k: Check all CE for data if irq summary is not retained

2018-02-15 Thread Govind Singh
rrupts if the target does not retain interrupt summary after the execution of interrupt handler. Signed-off-by: Rakesh Pillai <pill...@codeaurora.org> Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/ce.h | 10 +++--- drivers/net/wireless/ath/

[PATCH 12/13] ath10k: Vote for hardware resources for WCN3990

2018-02-15 Thread Govind Singh
Add clock and regulator votes for WCN3990 WLAN chipset. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 352 - drivers/net/wireless/ath/ath10k/snoc.h | 19 ++ 2 files changed, 370 insertions(+), 1 de

[PATCH 10/13] ath10k: Add support to get target info from hif ops

2018-02-15 Thread Govind Singh
From: Rakesh Pillai <pill...@codeaurora.org> wcn3990 does not use bmi. Add support to get target info from hif ops. Signed-off-by: Rakesh Pillai <pill...@codeaurora.org> Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/core.c | 8 +++

[PATCH 09/13] ath10k: Modify hif tx paddr to dma_addr_t type

2018-02-15 Thread Govind Singh
Change type of hif sg tx paddr to dma_addr_t for supporting target having addressing mode greater than 32 bit. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/hif.h | 2 +- drivers/net/wireless/ath/ath10k/pci.c | 8 2 files changed, 5 inse

[PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-02-15 Thread Govind Singh
When an IOMMU device is available on the platform bus, allocate an IOMMU domain and attach the wlan target to it. WCN3990 target can then attach an DMA I/O virtual address space to scan out of bound transactions. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wirele

[PATCH 05/13] ath10k: Map HTC services to tx/rx pipes for wcn3990

2018-02-15 Thread Govind Singh
Add mapping of HTC endpoint services supported by wcn3990 target to tx/rx pipe. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 168 + 1 file changed, 168 insertions(+) diff --git a/drivers/net/wireless/ath/

[PATCH 08/13] ath10k: Add hif rx methods for wcn3990

2018-02-15 Thread Govind Singh
Add hif rx methods in rx path for wcn3990 target. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 171 + 1 file changed, 153 insertions(+), 18 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/sno

[PATCH 07/13] ath10k: Add hif tx methods for wcn3990

2018-02-15 Thread Govind Singh
Add hif tx/tx-complete methods for wcn3990 target. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 123 - 1 file changed, 120 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/sno

[PATCH 02/13] ath10k: add resource init and deinit for WCN3990

2018-02-15 Thread Govind Singh
get WMI [CE4] :host->target HTT [CE5] :reserved [CE6] :Target autonomous HIF_memcpy [CE7] :reserved [CE8] :reserved [CE9] :target->host HTT [CE10] :target->host HTT [CE11] :target -> host PKTLOG Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wi

[PATCH 03/13] ath10k: Add hif start/stop methods for wcn3990 snoc layer

2018-02-15 Thread Govind Singh
Add hif start/stop callback for allocating/freeing buffers on tx/rx pipe and enabling/disabling the tx/rx pipe interrupts. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 189 - 1 file changed, 187 insertions

[PATCH 01/13] ath10k: platform driver for WCN3990 SNOC WLAN module

2018-02-15 Thread Govind Singh
-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/Kconfig | 8 ++ drivers/net/wireless/ath/ath10k/Makefile | 4 + drivers/net/wireless/ath/ath10k/snoc.c | 153 +++ drivers/net/wireless/ath/ath10k/snoc.h | 76

[PATCH 00/13] ***Set4: Add support of WCN3990 bus layer support ***

2018-02-15 Thread Govind Singh
t->target WMI [CE4] :host->target HTT [CE5] :reserved [CE6] :Target autonomous HIF_memcpy [CE7] :reserved [CE8] :reserved [CE9] :target->host HTT [CE10] :target->host HTT [CE11] :target -> host PKTLOG Govind Singh (11): ath10k: platform driver for

[PATCH 06/13] ath10k: Add hif power-up/power-down methods

2018-02-15 Thread Govind Singh
Add hif power-up/power-down methods for wcn3990 target. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/snoc.c | 61 ++ 1 file changed, 61 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drive

[PATCH 04/13] ath10k: Add HTC services for WCN3990

2018-02-15 Thread Govind Singh
WCN3990 target uses 3 Copy engine(CE1/CE9/CE10) in RX path and CE 11 for pktlog. Add data path HTC ep services and PKTLOG services for WCN3990. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/htc.c | 6 ++ drivers/net/wireless/ath/ath10k/htc

RE: [PATCH 13/13] dt: bindings: add bindings for wcn3990 wifi block

2018-02-15 Thread Govind Singh
>> You've omitted the "qcom," you specify above. Thanks, Julian, I will correct this in v2 revision. Thanks, Govind -Original Message- From: ath10k [mailto:ath10k-boun...@lists.infradead.org] On Behalf Of Julian Calaby Sent: Thursday, February 15, 2018 7:36 PM To: Go

[PATCH v2] dt: bindings: add bindings for wcn3990 wifi block

2018-02-15 Thread Govind Singh
Add device tree binding documentation details for wcn3990 wifi block present in Qualcomm SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh <govi...@codeaurora.org> --- .../bindings/net/wireless/qcom,ath10k.txt | 35 ++ 1

Re: [PATCH v2 0/6] *** Add support for wifi QMI client driver ***

2018-06-18 Thread Govind Singh
Hi Brian, On 2018-06-19 07:47, Brian Norris wrote: Hi Govind, One more side note: this series is called v2, but I see an older v3. What's up with that? Earlier was typo(v3), it was first version. Pls ignore the same. On Tue, Jun 05, 2018 at 06:03:04PM +0530, Govind Singh wrote: Add QMI

Re: [PATCH v2 0/6] *** Add support for wifi QMI client driver ***

2018-06-19 Thread Govind Singh
Hi Kalle, On 2018-06-19 12:43, Kalle Valo wrote: Govind Singh writes: 3) once supported pd info in known to Q6, tftp client in Q6 establishes the connection with tftp server in Q6 for user pd loading. This sentence doesn't make sense, should it be that the tftp client in Q6 establishes

Re: [PATCH v2 0/6] *** Add support for wifi QMI client driver ***

2018-06-18 Thread Govind Singh
On 2018-06-19 07:47, Brian Norris wrote: Hi Govind, One more side note: this series is called v2, but I see an older v3. What's up with that? Earlier was typo, it was first version. On Tue, Jun 05, 2018 at 06:03:04PM +0530, Govind Singh wrote: Add QMI client driver for Q6 integrated WLAN

[PATCH v5 0/6] *** Add support for wifi QMI client handshakes ***

2018-08-15 Thread Govind Singh
river load/unload and STA/SAP sanity testing. Tested HW: SDM845(WCN3990) Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1 Govind Singh (5): ath10k: Add qmi service helpers for wcn3990 qmi client dt: bindings: add bindings for msa memory region firmware: qcom: scm: Add WLAN VMID f

[PATCH v5 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-08-15 Thread Govind Singh
between remote processors with underlying transport layer based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART). Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig |1 + drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless

[PATCH v5 2/6] ath10k: Add support to create boardname for non-bmi target

2018-08-15 Thread Govind Singh
From: Rakesh Pillai Add support to create the boardname for non-bmi targets like WCN3990, which uses qmi for bdf download. This boardname is used to parse the board data from board-2.bin. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 8

[PATCH v5 3/6] dt: bindings: add bindings for msa memory region

2018-08-15 Thread Govind Singh
Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt| 6 ++ 1 file changed, 6 insertions(+)

[PATCH v5 1/6] ath10k: Add qmi service helpers for wcn3990 qmi client

2018-08-15 Thread Govind Singh
WLAN qmi server running in Q6 exposes host to target cold boot qmi handshakes. Add WLAN QMI service helpers for ath10k wcn3990 qmi client. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 2072 + .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 677

[PATCH v5 4/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-08-15 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index

[PATCH v5 5/6] ath10k: Add debug mask for QMI layer

2018-08-15 Thread Govind Singh
Add debug mask to control debug info of ath10k qmi messaging layer. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 0afca5c106b6

Re: [PATCH v4 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-08-14 Thread Govind Singh
Thanks Brian for the review. On 2018-08-14 01:36, Brian Norris wrote: Hi Govind, On Mon, Jul 23, 2018 at 06:04:28PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages

[PATCH 2/2] ath10k: Enable pktlog for WCN3990 target

2018-08-27 Thread Govind Singh
WCN3990 target uses separate htc service for pktlog. Add pktlog service request and support for pktlog rx path handling. Testing: Tested on WCN3990 and QCA6174 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Signed-off-by: Govind Singh

[PATCH 0/2] ath10k: Enable pktlog for WCN3990 chipset

2018-08-27 Thread Govind Singh
WCN3990 target uses separate htc service(ATH10K_HTC_SVC_ID_HTT_LOG_MSG) for pktlog. Add pktlog service request and support for pktlog rx path handling. Tested HW: WCN3990 and QCA6174. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Govind Singh (2

[PATCH 1/2] ath10k: Introduce CE_ATTR_POLL attribute for polling pipe

2018-08-27 Thread Govind Singh
and control the interrupt based on the flag which can be set in ce_attr. Testing: Tested on WCN3990 and QCA6174 HW. Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1, WLAN.RM.4.4.1-00109-QCARMSWPZ-1 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/ce.c | 18

[PATCH v4 4/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-07-23 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index

[PATCH v4 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-23 Thread Govind Singh
between remote processors with underlying transport layer based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART). Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig |1 + drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless

[PATCH v4 0/6] *** Add support for wifi QMI client handshakes ***

2018-07-23 Thread Govind Singh
Switched to ath10k bdf download infra(board-2.bin) Added MSA fixed region support to support unload use-case. Unified logging. Testing: Tested all qmi handshakes, driver load/unload and STA/SAP sanity testing. Tested HW: SDM845(WCN3990) Tested FW: WLAN

[PATCH v4 1/6] ath10k: Add qmi service helpers for wcn3990 qmi client

2018-07-23 Thread Govind Singh
WLAN qmi server running in Q6 exposes host to target cold boot qmi handshakes. Add WLAN QMI service helpers for ath10k wcn3990 qmi client. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 2072 + .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 677

[PATCH v4 5/6] ath10k: Add debug mask for QMI layer

2018-07-23 Thread Govind Singh
Add debug mask to control debug info of ath10k qmi messaging layer. Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/debug.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h index 0afca5c106b6

[PATCH v4 3/6] dt: bindings: add bindings for msa memory region

2018-07-23 Thread Govind Singh
Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt| 6 ++ 1 file changed, 6 insertions(+)

[PATCH v4 2/6] ath10k: Add support to create boardname for non-bmi target

2018-07-23 Thread Govind Singh
From: Rakesh Pillai Add support to create the boardname for non-bmi targets like WCN3990, which uses qmi for bdf download. This boardname is used to parse the board data from board-2.bin. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 8

Re: [PATCH v3 3/6] dt: bindings: add bindings for msa memory region

2018-07-23 Thread Govind Singh
Hi Rob, On 2018-07-11 20:57, Rob Herring wrote: On Fri, Jul 06, 2018 at 02:30:43PM +0530, Govind Singh wrote: Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- ..

Re: [PATCH v3 0/6] *** Add support for wifi QMI client handshakes ***

2018-07-23 Thread Govind Singh
Hi Niklas, Thanks for the review. On 2018-07-19 23:21, Niklas Cassel wrote: On Fri, Jul 06, 2018 at 02:26:17PM +0530, Govind Singh wrote: Add QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This module is responsible for communicating WLAN control messages to FW over QMI

Re: [PATCH v2 3/6] dt: bindings: add bindings for msa memory region

2018-07-04 Thread Govind Singh
On 2018-07-03 21:31, Mark Rutland wrote: On Tue, Jul 03, 2018 at 06:42:24PM +0300, Kalle Valo wrote: Brian Norris writes: > + Rob > > On Tue, Jun 05, 2018 at 06:06:16PM +0530, Govind Singh wrote: >> Add device tree binding documentation details of msa >> memory region

[PATCH v3 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-06 Thread Govind Singh
between remote processors with underlying transport layer based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART). Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/Kconfig |1 + drivers/net/wireless/ath/ath10k/Makefile |4 +- drivers/net/wireless

Re: [PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-06 Thread Govind Singh
On 2018-07-03 20:45, Kalle Valo wrote: Niklas Cassel writes: On Tue, Jun 05, 2018 at 06:07:32PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages to wifi fw QMI service

[PATCH v3 1/6] ath10k: Add qmi service helpers for wcn3990 qmi client

2018-07-06 Thread Govind Singh
WLAN qmi server running in Q6 exposes host to target cold boot qmi handshakes. Add WLAN QMI service helpers for ath10k wcn3990 qmi client. Signed-off-by: Govind Singh --- .../net/wireless/ath/ath10k/qmi_wlfw_v01.c| 2072 + .../net/wireless/ath/ath10k/qmi_wlfw_v01.h| 677

[PATCH v3 0/6] *** Add support for wifi QMI client handshakes ***

2018-07-06 Thread Govind Singh
y testing. Tested HW: SDM845(WCN3990) Tested FW: WLAN.HL.2.0-01192-QCAHLSWMTPLZ-1 Govind Singh (5): ath10k: Add qmi service helpers for wcn3990 qmi client dt: bindings: add bindings for msa memory region firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface ath10k: A

Re: [PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-06 Thread Govind Singh
On 2018-07-03 23:36, Kalle Valo wrote: Govind Singh writes: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer is responsible for communicating qmi control messages to wifi fw QMI service using QMI messaging protocol. Qualcomm MSM Interface(QMI

[PATCH v3 2/6] ath10k: Add support to create boardname for non-bmi target

2018-07-06 Thread Govind Singh
From: Rakesh Pillai Add support to create the boardname for non-bmi targets like WCN3990, which uses qmi for bdf download. This boardname is used to parse the board data from board-2.bin. Signed-off-by: Rakesh Pillai Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/core.c | 8

[PATCH v3 4/6] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-07-06 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index

[PATCH v3 3/6] dt: bindings: add bindings for msa memory region

2018-07-06 Thread Govind Singh
Add device tree binding documentation details of msa memory region for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh --- .../bindings/net/wireless/qcom,ath10k.txt | 13 + 1 file changed, 13 insertions(+)

Re: [PATCH v2 6/6] ath10k: Add QMI message handshake for wcn3990 client

2018-07-06 Thread Govind Singh
Hi Niklas, Thanks for the review. I have addressed most of the comments in v3 version. On 2018-06-20 04:21, Niklas Cassel wrote: On Tue, Jun 05, 2018 at 06:07:32PM +0530, Govind Singh wrote: Add WCN3990 QMI client handshakes for Q6 integrated WLAN connectivity subsystem. This layer

Re: [PATCH v3 0/6] *** Add support for wifi QMI client handshakes ***

2018-07-10 Thread Govind Singh
On 2018-07-11 07:54, Bjorn Andersson wrote: On Tue 10 Jul 18:26 PDT 2018, Brian Norris wrote: Hi, Hi Brian, On Fri, Jul 06, 2018 at 02:26:17PM +0530, Govind Singh wrote: [..] > https://github.com/andersson/tqftpserv FWIW, as of today, the tqftpserv implementation is missing a

RE: [PATCH 01/13] ath10k: platform driver for WCN3990 SNOC WLAN module

2018-03-01 Thread Govind Singh
Singh <govi...@codeaurora.org> Cc: linux-wirel...@vger.kernel.org; ath10k@lists.infradead.org Subject: Re: [PATCH 01/13] ath10k: platform driver for WCN3990 SNOC WLAN module Govind Singh <govi...@codeaurora.org> writes: > WCN3990 is integrated 802.11ac chipset with SNOC bus interfa

RE: [PATCH] ath10k: Enable IOMMU support for WCN3990 target

2018-03-01 Thread Govind Singh
rt/ aperture_end) as this is only working combination for me.. BR, Govind -Original Message- From: ath10k [mailto:ath10k-boun...@lists.infradead.org] On Behalf Of Arnd Bergmann Sent: Thursday, March 1, 2018 3:40 PM To: Kalle Valo <kv...@codeaurora.org> Cc: Govind Singh <go

[PATCH v2 13/13] dt: bindings: add bindings for wcn3990 wifi block

2018-04-10 Thread Govind Singh
Add device tree binding documentation details for wcn3990 wifi block present in Qualcomm SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh <govi...@codeaurora.org> --- .../bindings/net/wireless/qcom,ath10k.txt | 31 ++ 1

[PATCH 04/12] ath10k: add support to start and stop qmi service

2018-03-25 Thread Govind Singh
Add support to start qmi service to configure the wlan firmware component and register event notifier to communicate with the WLAN firmware over qmi communication interface. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi.c

[PATCH 02/12] dt: bindings: add bindings for ath10k qmi client

2018-03-25 Thread Govind Singh
Add device tree binding documentation details for ath10k qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". Signed-off-by: Govind Singh <govi...@codeaurora.org> --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 8 1 file changed, 8 insertion

[PATCH v3 00/12] *** Add support for wifi QMI client driver ***

2018-03-25 Thread Govind Singh
t; <---- QMI FW ready indication--- Govind Singh (12): ath10k: Add qmi service for wlan qmi client dt: bindings: add bindings for ath10k qmi client ath10k: Add WCN3990 QMI client driver ath10k: add support to start and stop qmi service ath10k: Add suppo

[PATCH 03/12] ath10k: Add ath10k QMI client driver

2018-03-25 Thread Govind Singh
Add QMI client driver for Q6 integrated WLAN connectivity subsystem. This module is responsible for communicating WLAN control messages to FW over QUALCOMM MSM Interface (QMI). Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/Kconfig | 2 +- drive

[PATCH 01/12] ath10k: Add qmi service for wlan qmi client

2018-03-25 Thread Govind Singh
WLAN qmi server running in Q6 dsp exposes host to target cold boot qmi handshake. Add WLAN QMI service helpers for WLAN serivice. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi_svc_v01.c | 2323 + drivers/net/wirele

[PATCH 05/12] ath10k: Add support of QMI indication message

2018-03-25 Thread Govind Singh
Add support of indication qmi message to communicate with wlan qmi server. Indication message request describes client capability and in response client gets the state of wlan qmi service. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi.

[PATCH 06/12] firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface

2018-03-25 Thread Govind Singh
Add WLAN related VMID's to support wlan driver to set up the remote's permissions call via TrustZone. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- include/linux/qcom_scm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/qcom_scm.h b/include

[PATCH 07/12] ath10k: Add MSA handshake QMI mgs support

2018-03-25 Thread Govind Singh
HOST allocates 2mb of region for modem and WCN3990 secure access and provides the address and access control to target for secure access. Add MSA handshake request/response messages. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi.c

[PATCH 11/12] ath10k: Add wlan mode on/off qmi message

2018-03-25 Thread Govind Singh
Add qmi message required for enabling and disabling target to qmi server running in Q6. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi.c | 226 +- drivers/net/wireless/ath/ath10k/qmi.h | 62 ++ 2 files c

[PATCH 10/12] ath10k: add bdf/cal indication support

2018-03-25 Thread Govind Singh
Add support for bdf download and cold boot calibration trigger qmi message support. Signed-off-by: Govind Singh <govi...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/qmi.c | 195 ++ drivers/net/wireless/ath/ath10k/qmi.h | 10 ++ 2 files change

  1   2   3   >