RE: [PATCH] ath10k: add option for chip-id based BDF selection

2020-10-26 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, October 27, 2020 4:21 AM > To: Rakesh Pillai > Cc: Abhishek Kumar ; Kalle Valo > ; ath10k ; LKML > ; linux-wireless wirel...@vger.kernel.org>; Brian Norris > Subject: Re: [PATCH] ath10k: add o

RE: [PATCH] ath10k: add option for chip-id based BDF selection

2020-10-27 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, October 27, 2020 8:26 PM > To: Rakesh Pillai > Cc: Abhishek Kumar ; Kalle Valo > ; ath10k ; LKML > ; linux-wireless wirel...@vger.kernel.org>; Brian Norris > Subject: Re: [PATCH] ath10k: add o

[PATCH] ath10k: Fix the parsing error in service available event

2020-10-27 Thread Rakesh Pillai
svc_avail tlv: -71 The wmi service available event parsing should not return error for the newly added optional TLV. Fix this parsing for service available event message. Tested-on: WCN3990 hw1.0 SNOC Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 3 +++ 1 file

RE: [PATCH] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Wednesday, October 28, 2020 8:07 PM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; LKML ; Abhishek > Kumar ; Brian Norris > Subject: Re: [PATCH] ath10k: Fix the parsing error in

RE: [PATCH] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Wednesday, October 28, 2020 9:33 PM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; LKML ; Abhishek > Kumar ; Brian Norris > Subject: Re: [PATCH] ath10k: Fix the parsing error in

[PATCH v2] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
svc_avail tlv: -71 The wmi service available event parsing should not return error for the newly added optional TLV. Fix this parsing for service available event message. Tested-on: WCN3990 hw1.0 SNOC Fixes: cea19a6ce8bf ("ath10k: add WMI_SERVICE_AVAILABLE_EVENT support") Signed-off-

RE: [PATCH v2] ath10k: Fix the parsing error in service available event

2020-10-28 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Thursday, October 29, 2020 12:15 AM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; LKML ; Abhishek > Kumar ; Brian Norris > Subject: Re: [PATCH v2] ath10k: Fix the parsing er

[PATCH v3] ath10k: Fix the parsing error in service available event

2020-11-15 Thread Rakesh Pillai
EVENT support") Signed-off-by: Rakesh Pillai --- Changes from v2: - Add code documentation explaining the necessity of variable initialization for the logic to work. --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 4 +++- drivers/net/wireless/ath/ath10k/wmi.c | 9 +++-- drivers/ne

RE: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection

2020-11-24 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, November 24, 2020 6:27 AM > To: Abhishek Kumar > Cc: Kalle Valo ; Rakesh Pillai > ; LKML ; ath10k > ; Brian Norris ; > linux-wireless ; David S. Miller > ; Jakub Kicinski ; netdev > > Subjec

RE: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection

2020-11-24 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, November 24, 2020 9:56 PM > To: Rakesh Pillai > Cc: Abhishek Kumar ; Kalle Valo > ; LKML ; ath10k > ; Brian Norris ; > linux-wireless ; David S. Miller > ; Jakub Kicinski ; netdev > > Subjec

RE: [PATCH v2 1/1] ath10k: add option for chip-id based BDF selection

2020-12-03 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, December 1, 2020 12:49 AM > To: Rakesh Pillai > Cc: Abhishek Kumar ; Kalle Valo > ; LKML ; ath10k > ; Brian Norris ; > linux-wireless ; David S. Miller > ; Jakub Kicinski ; netdev > > Subjec

RE: [PATCH v3] ath10k: add option for chip-id based BDF selection

2020-12-07 Thread Rakesh Pillai
drivers/net/wireless/ath/ath10k/core.c | 41 +++++++--- > 1 file changed, 30 insertions(+), 11 deletions(-) Reviewed-by: Rakesh Pillai Thanks, Rakesh Pillai. ___ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k

[PATCH] ath10k: Remove voltage regulator votes during wifi disable

2020-12-10 Thread Rakesh Pillai
regulator votes are there only when wlan is enabled. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 97 +- 1 file changed, 49 insertions(+), 48 deletions(-) diff --git a/drivers

RE: [PATCH] ath10k: Remove voltage regulator votes during wifi disable

2020-12-10 Thread Rakesh Pillai
> -Original Message- > From: Brian Norris > Sent: Thursday, December 10, 2020 11:44 PM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; Linux Kernel ; > Doug Anderson ; kua...@chromium.org; > Youghandhar Chintala > Subject:

[PATCH v2] ath10k: Remove voltage regulator votes during wifi disable

2020-12-11 Thread Rakesh Pillai
regulator votes are there only when wlan is enabled. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- Changes from v1: - Remove the CE pipe init failure handling. Posted as a different patch --- drivers/net/wireless/ath/ath10k/snoc.c | 92

[PATCH] ath10k: Fix error handling in case of CE pipe init failure

2020-12-11 Thread Rakesh Pillai
N3990") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index fd41f25..daae470 100644 --- a/drivers/net/wireless/ath/ath

RE: [PATCH 0/3] mac80211: Trigger disconnect for STA during recovery

2020-12-16 Thread Rakesh Pillai
> From: Ben Greear > > On 12/15/20 9:21 AM, Youghandhar Chintala wrote: > > From: Rakesh Pillai > > > > Currently in case of target hardware restart ,we just reconfig and > > re-enable the security keys and enable the network queues to start > > data tra

RE: [PATCH v2 0/2] ath10k: Fixes during subsystem recovery

2021-01-15 Thread Rakesh Pillai
> -Original Message- > From: Kalle Valo > Sent: Tuesday, December 22, 2020 12:07 AM > To: Rakesh Pillai > Cc: ath10k@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2 0/2] ath10k: Fixes during subsystem

RE: [PATCH v2 0/2] ath10k: Fixes during subsystem recovery

2021-02-26 Thread Rakesh Pillai
> -Original Message- > From: Rakesh Pillai > Sent: Friday, January 15, 2021 6:56 PM > To: 'Kalle Valo' > Cc: 'ath10k@lists.infradead.org' ; 'linux- > wirel...@vger.kernel.org' ; 'linux- > ker...@vger.kernel.org' > Sub

RE: [RFC 2/7] ath10k: Add support to process rx packet in thread

2021-03-25 Thread Rakesh Pillai
> -Original Message- > From: Felix Fietkau > Sent: Tuesday, March 23, 2021 1:16 PM > To: Ben Greear ; Brian Norris > > Cc: Johannes Berg ; Rajkumar Manoharan > ; Rakesh Pillai ; ath10k > ; linux-wireless wirel...@vger.kernel.org>; Linux Kernel ; >

Re: [PATCH v2] ath10k: skip sending quiet mode cmd for WCN3990

2018-12-14 Thread Rakesh Pillai
Hi Kalle, I tested this patch on WCN3990 and did basic STA mode sanity. I do not see any crash with this fix. Thanks, Rakesh Pillai. On 2018-12-14 17:26, Kalle Valo wrote: Kalle Valo writes: From: Rakesh Pillai HL2.0 firmware does not support setting quiet mode. If the host driver

[PATCH v2 1/2] ath10k: Handle bundled tx completion for management frames

2019-01-24 Thread Rakesh Pillai
WCN3990 supports sending tx completion for multiple management frames bundled together in a single event. Add support to handle the bundled tx completion event for WCN3990. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath

[PATCH v2 0/2] ath10k: Handle bundle tx completion for management pkts

2019-01-24 Thread Rakesh Pillai
tricky typecasting. - Fixed compilation warnings. Rakesh Pillai (2): ath10k: Handle bundled tx completion for management frames ath10k: Enable bundle tx compl for management frames in WCN3990 drivers/net/wireless/ath/ath10k/wmi-ops.h | 13 +++ drivers/net/wireless/ath/ath10k/wmi-tlv.c | 65

[PATCH v2 2/2] ath10k: Enable bundle tx compl for management frames in WCN3990

2019-01-24 Thread Rakesh Pillai
the host capability flags when host sends the wmi init command, to indicate the host capability to handle bundled tx completion for management frames. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2

[PATCH] ath10k: fix dma unmap direction for management frames

2019-01-24 Thread Rakesh Pillai
-QCAHLSWMTPLZ-1 Fixes: 38a1390e02b7 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/mac.c | 4 ++-- drivers/net/wireless/ath/ath10k/wmi.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k

[PATCH] ath10k: Fix hw-restart crash inject mode for WCN3990

2019-01-29 Thread Rakesh Pillai
injected via debugfs. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless

[PATCH] ath10k: Fix shadow register implementation for WCN3990

2019-01-29 Thread Rakesh Pillai
Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/ce.c | 26 +- drivers/net/wireless/ath/ath10k/ce.h | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/ce.c b/drivers/net/wireless/ath/ath10k/ce.c ind

Re: [PATCH v2] ath10k: Set DMA address mask to 35 bit for WCN3990

2019-01-30 Thread Rakesh Pillai
that mentioned in the commit message. Both, the driver and the target deals with the 35-bit addresses only. 36th and 37th bit are used by the firmware for internal use only. Thanks, Rakesh Pillai. On 2019-01-31 00:27, Bjorn Andersson wrote: On Mon 03 Sep 09:37 PDT 2018, Rakesh Pillai wrote: WC

Re: [PATCH] ath10k: Enable Factory Test Mode for WCN3990

2019-02-08 Thread Rakesh Pillai
Hi Kalle, I have checked the patch, and it is fine. Thanks, Rakesh Pillai. On 2019-02-08 19:46, Kalle Valo wrote: Rakesh Pillai wrote: The support to put WCN3990 firmware into Factory test mode is not present currently. The WCN3990 firmware can operate in Factory test mode based on the

Re: [PATCH] ath10k: Fix shadow register implementation for WCN3990

2019-02-08 Thread Rakesh Pillai
Hi Kalle, I have checked the patch, and it is fine. Thanks, Rakesh Pillai. On 2019-02-08 19:47, Kalle Valo wrote: Rakesh Pillai wrote: WCN3990 supports shadow registers write operation support for copy engine for regular operation in powersave mode. Since WCN3990 is a 64-bit target, the

[PATCH] ath10k: Fix descriptor size in ce tx completion for WCN3990

2019-02-11 Thread Rakesh Pillai
-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/ce.c | 64 +++- drivers/net/wireless/ath/ath10k/ce.h | 2 ++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/ce.c b/drivers/net/wireless/ath/ath10k/ce.c index

[PATCH] ath10k: Report low ack rssi based on the reason code

2019-02-13 Thread Rakesh Pillai
mac80211 only if the reason code is valid. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 ++ drivers/net/wireless/ath/ath10k/wmi.c | 9 ++--- drivers/net/wireless/ath/ath10k/wmi.h | 12

[PATCH] ath10k: wait for vdev delete response from firmware

2019-02-14 Thread Rakesh Pillai
: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c| 4 +++- drivers/net/wireless/ath/ath10k/core.h| 6 -- drivers/net/wireless/ath/ath10k/mac.c | 14 ++ drivers/net/wireless/ath/ath10k/wmi-tlv.c | 12

[PATCH] ath10k: Enhance logging for vdev pdev & peer set param

2019-02-14 Thread Rakesh Pillai
Tested FW: WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1 WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b

[PATCH] mac80211: Restore vif beacon interval if start ap fails

2019-02-15 Thread Rakesh Pillai
working value of beacon interval. Tested on ath10k using WCN3990. Fixes: 0c317a02ca98 ("cfg80211: support virtual interfaces with different beacon intervals") Signed-off-by: Rakesh Pillai --- net/mac80211/cfg.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ne

[PATCH v2] ath10k: wait for vdev delete response from firmware

2019-02-17 Thread Rakesh Pillai
: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- Changes from v1: - Unlock conf_mutex in vdev delete failure case. --- drivers/net/wireless/ath/ath10k/core.c| 4 +++- drivers/net/wireless/ath/ath10k/core.h| 6 -- drivers/net/wireless/ath/ath10k/mac.c | 15

[PATCH] ath10k: Add peer param map for tlv and non-tlv

2019-02-18 Thread Rakesh Pillai
during the init. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- This change is dependent on the below patchset ath10k: add support for controlling tx power to a station (https://patchwork.kernel.org/patch/9562405/) --- drivers/net/wireless/ath/ath10k

[PATCH] ath10k: Add peer delete response event

2019-02-20 Thread Rakesh Pillai
response event and wait for the event after deleting every peer from host driver to synchronize with firmware. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Dundi Raviteja Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c| 3

[PATCH] ath10k: Fix channel info parsing for non tlv target

2019-03-08 Thread Rakesh Pillai
this issue. Tested HW: WCN3990 QCA9887 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 10.2.4-1.0-00037 Fixes: 13104929d2ec ("ath10k: fill the channel survey results for WCN3990 correctly") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-

Re: [PATCH] ath10k: fill the channel survey results for WCN3990 correctly

2019-03-08 Thread Rakesh Pillai
Hi Greg, Yes, the commit 13104929d2ec ("[PATCH]ath10k: fill the channel survey results for WCN3990 correctly") causes a regression for the non-tlv targets since the common wmi channel info structure was extended in this particular commit. The -EPROTO error is a result of this, since the wmi

[PATCH 2/2] ath10k: Fix NSS tx stats for legacy rates

2019-03-11 Thread Rakesh Pillai
code provided by the firmware. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: e88975ca37d1 ("ath10k: dump tx stats in rate table format") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/htt_rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/2] ath10k: Fix rate table updation in tx stats

2019-03-11 Thread Rakesh Pillai
rate table updation for tx stats. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: e88975ca37d1 ("ath10k: dump tx stats in rate table format") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/htt_rx.c | 4 +++- 1 file changed, 3 insertions(+),

[PATCH 0/2] Fix tx stats inconsistencies

2019-03-11 Thread Rakesh Pillai
The rate table indexes and the NSS values are incorrect, causing the tx stats to be displayed incorrectly. This patchset fix these issues in the tx stats displayed via debugfs. Rakesh Pillai (2): ath10k: Fix rate table updation in tx stats ath10k: Fix NSS tx stats for legacy rates drivers

[PATCH] ath10k: Fix encoding for protected management frames

2019-04-02 Thread Rakesh Pillai
: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: 1807da49733e "ath10k: wmi: add management tx by reference support over wmi" Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v2] ath10k: Report low ack rssi based on the reason code

2019-04-03 Thread Rakesh Pillai
mac80211 only if the reason code is valid. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- Changes from v1: - Added reason code in tlv structure, so that it does not break non-tlv wmi event parsing. --- drivers/net/wireless/ath/ath10k/wmi-tlv.c

Re: FW: [PATCH v2] ath10k: Report low ack rssi based on the reason code

2019-04-04 Thread Rakesh Pillai
with the respective FW. struct wmi_peer_kick_ev_arg is used only for internal ath10k operations only. Thanks, Rakesh Pillai. ___ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k

Re: [PATCH 1/2] ath10k: Fix rate table updation in tx stats

2019-05-02 Thread Rakesh Pillai
Hi Kalle, This set of patches is dependent on https://patchwork.kernel.org/patch/10831319/ I can send out v2 for this patchset, marking the dependency, if needed. Thanks, Rakesh Pillai. On 2019-05-03 11:30, Kalle Valo wrote: Rakesh Pillai wrote: The index for updating rate table, which

Re: Regression with commit "ath10k: fill the channel survey results for WCN3990 correctly"

2019-08-21 Thread Rakesh Pillai
Hi Ben, Can you please check https://patchwork.kernel.org/patch/10844513/ ? This change fixes the below mentioned regression. A different structure is made for tlv specific event handling. Thanks, Rakesh Pillai. On 2019-08-21 14:06, Ben Greear wrote: On 08/21/2019 01:56 PM, Ben Greear wrote

[PATCH] ath10k: Correct the DMA direction for management tx buffers

2020-01-20 Thread Rakesh Pillai
+0x11c/0x1a8 [ath10k_core] [] process_one_work+0x16c/0x31c Fix the incorrect DMA direction during the wmi management tx buffer cleanup. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: dc405152bb6 ("ath10k: handle mgmt tx completion event") Signed-off-by: Rak

[PATCH 3/3] ath10k: Add support for targets without trustzone

2020-03-24 Thread Rakesh Pillai
Add the support to attach and map iommu domain for targets which do not have the support of TrustZone. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 119 - drivers/net

[PATCH 1/3] dt-bindings: ath10k: Add wifi-firmware subnode for wifi node

2020-03-24 Thread Rakesh Pillai
Add a wifi-firmware subnode for the wifi node. This wifi-firmware subnode is needed for the targets which do not support TrustZone. Signed-off-by: Rakesh Pillai --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a

[PATCH 2/3] ath10k: Setup the msa resources before qmi init

2020-03-24 Thread Rakesh Pillai
Move the msa resources setup out of qmi init and setup the msa resources as a part of probe before the qmi init is done. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 5 drivers/net/wireless/ath

[PATCH 0/3] Add support to handle targets without TrustZone

2020-03-24 Thread Rakesh Pillai
-TrustZone targets is mandatory. Rakesh Pillai (3): dt-bindings: ath10k: Add wifi-firmware subnode for wifi node ath10k: Setup the msa resources before qmi init ath10k: Add support for targets without trustzone .../bindings/net/wireless/qcom,ath10k.txt | 14 ++ drivers/net/wireless/ath

[PATCH v2 0/3] Add support to handle targets without TrustZone

2020-03-25 Thread Rakesh Pillai
-TrustZone targets is mandatory. Changes from v1: - Rebase and fix compilation errors on latest ath10k tree tip Rakesh Pillai (3): dt-bindings: ath10k: Add wifi-firmware subnode for wifi node ath10k: Setup the msa resources before qmi init ath10k: Add support for targets without trustzone

[PATCH v2 1/3] dt-bindings: ath10k: Add wifi-firmware subnode for wifi node

2020-03-25 Thread Rakesh Pillai
Add a wifi-firmware subnode for the wifi node. This wifi-firmware subnode is needed for the targets which do not support TrustZone. Signed-off-by: Rakesh Pillai --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a

[PATCH v2 2/3] ath10k: Setup the msa resources before qmi init

2020-03-25 Thread Rakesh Pillai
Move the msa resources setup out of qmi init and setup the msa resources as a part of probe before the qmi init is done. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 5 +++ drivers/net/wireless/ath

[PATCH v2 3/3] ath10k: Add support for targets without trustzone

2020-03-25 Thread Rakesh Pillai
Add the support to attach and map iommu domain for targets which do not have the support of TrustZone. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 118 - drivers/net

[PATCH v3 0/3] Add support to handle targets without TrustZone

2020-04-15 Thread Rakesh Pillai
-TrustZone targets is mandatory. Changes from v2: - Correct the name of the firmware structure added in ath10k Rakesh Pillai (3): dt-bindings: ath10k: Add wifi-firmware subnode for wifi node ath10k: Setup the msa resources before qmi init ath10k: Add support for targets without trustzone

[PATCH v3 2/3] ath10k: Setup the msa resources before qmi init

2020-04-15 Thread Rakesh Pillai
Move the msa resources setup out of qmi init and setup the msa resources as a part of probe before the qmi init is done. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 5 +++ drivers/net/wireless/ath

[PATCH v3 1/3] dt-bindings: ath10k: Add wifi-firmware subnode for wifi node

2020-04-15 Thread Rakesh Pillai
Add a wifi-firmware subnode for the wifi node. This wifi-firmware subnode is needed for the targets which do not support TrustZone. Signed-off-by: Rakesh Pillai --- .../devicetree/bindings/net/wireless/qcom,ath10k.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a

[PATCH v3 3/3] ath10k: Add support for targets without trustzone

2020-04-15 Thread Rakesh Pillai
Add the support to attach and map iommu domain for targets which do not have the support of TrustZone. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 118 - drivers/net

RE: Ath10k reboot regression with v5.7-rc1 on dragonboard 845c

2020-04-29 Thread Rakesh Pillai
Hi Mani, Reply inline Thanks, Rakesh Pillai > -Original Message- > From: ath10k On Behalf Of > Manivannan Sadhasivam > Sent: Thursday, April 30, 2020 11:10 AM > To: Govind Singh > Cc: Amit Pundir ; John Stultz > ; ath10k@lists.infradead.org; > bjorn.anders

[PATCH] ath10k: Remove msdu from idr when management pkt send fails

2020-05-04 Thread Rakesh Pillai
Fixes: 1807da49733e ("ath10k: wmi: add management tx by reference support over wmi") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 7 ++- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 15 +++ 2 files changed, 21 insertions(+), 1 deletion(-)

[PATCH] ath10k: Skip handling del_server during driver exit

2020-05-05 Thread Rakesh Pillai
processing of del_server event when the driver is unloading. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Fixes: ba94c753ccb4 ("ath10k: add QMI message handshake for wcn3990 client") Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/qmi.c | 13 - d

[PATCH v2] ath10k: Remove msdu from idr when management pkt send fails

2020-05-05 Thread Rakesh Pillai
Fixes: 1807da49733e ("ath10k: wmi: add management tx by reference support over wmi") Signed-off-by: Rakesh Pillai --- Changes from v1: - Added a helper function in wmi-ops for cleanup_mgmt_tx_send --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 15 ++- drivers/net/wireless/

[PATCH] ath10k: Add interrupt summary based CE processing

2020-06-26 Thread Rakesh Pillai
engine before actually processing any of them. This will avoid reading the interrupt status register for any CE after the interrupt status is cleared. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/ce.c | 63

[PATCH] ath10k: Use bdf calibration variant for snoc targets

2020-06-26 Thread Rakesh Pillai
=17,qmi-chip-id=0,variant=xyz-v2 Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c | 18 +- drivers/net/wireless/ath/ath10k/core.h | 2 ++ drivers/net/wireless/ath/ath10k/qmi.c | 8 ++

[PATCH] ath10k: Register shutdown handler

2020-06-26 Thread Rakesh Pillai
-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c index 354d49b..645ed5f 100644 --- a/drivers/net/wireless/ath/ath10k

[PATCH 1/2] dt: bindings: Add new regulator as optional property for WCN3990

2020-06-26 Thread Rakesh Pillai
Add an additional regulator supply as an optional property for WCN3990. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH 0/2] ath10k: Add chain-1 voltage regulator voting

2020-06-26 Thread Rakesh Pillai
Add the support to vote for the chain-1 voltage regulator for WCN3990. This is added as an optional property. Rakesh Pillai (2): dt: bindings: Add new regulator as optional property for WCN3990 ath10k: Add support for chain1 regulator supply voting Documentation/devicetree/bindings/net

[PATCH 2/2] ath10k: Add support for chain1 regulator supply voting

2020-06-26 Thread Rakesh Pillai
Add support to vote for chain-1 voltage regulator in WCN3990. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/snoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b

[PATCH 0/2] ath10k: Fixes during subsystem recovery

2020-06-26 Thread Rakesh Pillai
SSR. Rakesh Pillai (2): ath10k: Pause the tx queues when firmware is down ath10k: Skip wait for delete response if firmware is down drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 36 ++ drivers/net/wireless/ath/ath10k

[PATCH 1/2] ath10k: Pause the tx queues when firmware is down

2020-06-26 Thread Rakesh Pillai
unwanted duplicate/extra logging in the packet transmission path. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 18 ++ drivers/net/wireless/ath

[PATCH 2/2] ath10k: Skip wait for delete response if firmware is down

2020-06-26 Thread Rakesh Pillai
return success to the mac80211 calls when the peer delete cmd fails with return status -ESHUTDOWN. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/mac.c | 18 ++ 1 file changed, 14 insertions(+), 4

RE: [PATCH 2/2] ath10k: Skip wait for delete response if firmware is down

2020-06-26 Thread Rakesh Pillai
> -Original Message- > From: Ben Greear > Sent: Friday, June 26, 2020 11:57 PM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH 2/2] ath10k: Skip wait for delete response if

[PATCH v2 2/2] ath10k: Skip wait for delete response if firmware is down

2020-06-26 Thread Rakesh Pillai
return success to the mac80211 calls when the peer delete cmd fails with return status -ESHUTDOWN. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/mac.c | 18 ++ 1 file changed, 14 insertions(+), 4

[PATCH v2 0/2] ath10k: Fixes during subsystem recovery

2020-06-26 Thread Rakesh Pillai
SSR. Rakesh Pillai (2): ath10k: Pause the tx queues when firmware is down ath10k: Skip wait for delete response if firmware is down drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 36 ++ drivers/net/wireless/ath/ath10k

[PATCH v2 1/2] ath10k: Pause the tx queues when firmware is down

2020-06-26 Thread Rakesh Pillai
unwanted duplicate/extra logging in the packet transmission path. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 18 ++ drivers/net/wireless/ath

[PATCH] ath10k: Add history for tracking certain events

2020-06-26 Thread Rakesh Pillai
-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/ce.c | 2 + drivers/net/wireless/ath/ath10k/core.h| 77 + drivers/net/wireless/ath/ath10k/debug.c | 134 ++ drivers/net/wireless/ath/ath10k/debug.h | 74

RE: [PATCH] ath10k: Add history for tracking certain events

2020-06-27 Thread Rakesh Pillai
> -Original Message- > From: Ben Greear > Sent: Saturday, June 27, 2020 8:58 PM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH] ath10k: Add history for tracking certain events &

RE: [PATCH 2/2] ath10k: Add support for chain1 regulator supply voting

2020-06-29 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Saturday, June 27, 2020 3:22 AM > To: Rakesh Pillai ; Kalle Valo > > Cc: ath10k@lists.infradead.org; open list:OPEN FIRMWARE AND FLATTENED > DEVICE TREE BINDINGS ; linux-wireless wirel...@vger.kernel.org>; LKM

RE: [PATCH] ath10k: Keep track of which interrupts fired, don't poll them

2020-07-08 Thread Rakesh Pillai
y without ever needing to read the Copy Engines. > > Tested-on: WCN3990 SNOC WLAN.HL.3.2.2-00490-QCAHLSWMTPL-1 > > Signed-off-by: Douglas Anderson Reviewed-by: Rakesh Pillai > --- > This patch continues work to try to squash all instances of the crash > we've been s

RE: [PATCH] ath10k: Add history for tracking certain events

2020-07-16 Thread Rakesh Pillai
> -Original Message- > From: Ben Greear > Sent: Sunday, June 28, 2020 10:56 PM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: Re: [PATCH] ath10k: Add history for tracking certain events &

RE: [PATCH] ath10k: Add interrupt summary based CE processing

2020-07-21 Thread Rakesh Pillai
> -Original Message- > From: Peter Oh > Sent: Tuesday, July 21, 2020 7:03 AM > To: Kalle Valo > Cc: Brian Norris ; Doug Anderson > ; linux-wireless wirel...@vger.kernel.org>; Rakesh Pillai ; ath10k > ; LKML > Subject: Re: [PATCH] ath10k: Add interrupt

[RFC 4/7] ath10k: Do not exhaust budget on process tx completion

2020-07-21 Thread Rakesh Pillai
which are processed in the NAPI context. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/htt_rx.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k

[RFC 7/7] ath10k: Handle rx thread suspend and resume

2020-07-21 Thread Rakesh Pillai
During the system suspend or resume, the rx thread also needs to be suspended or resume respectively. Handle the rx thread as well during the system suspend and resume. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath

[RFC 2/7] ath10k: Add support to process rx packet in thread

2020-07-21 Thread Rakesh Pillai
init/deinit part for a thread to process the receive packets. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c | 33 +++ drivers/net/wireless/ath/ath10k/core.h | 23

[RFC 0/7] Add support to process rx packets in thread

2020-07-21 Thread Rakesh Pillai
dependent on the below patch series https://patchwork.kernel.org/project/ath10k/list/?series=315759 Rakesh Pillai (7): mac80211: Add check for napi handle before WARN_ON ath10k: Add support to process rx packet in thread ath10k: Add module param to enable rx thread ath10k: Do not exhaust budget

[RFC 3/7] ath10k: Add module param to enable rx thread

2020-07-21 Thread Rakesh Pillai
-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/snoc.c | 24 +--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index

[RFC 5/7] ath10k: Handle the rx packet processing in thread

2020-07-21 Thread Rakesh Pillai
Add the support to handle the receive packet and the tx completion processing in a thread context if the feature has been enabled via module parameter. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/core.c | 8

[RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-21 Thread Rakesh Pillai
The function ieee80211_rx_napi can be now called from a thread context as well, with napi context being NULL. Hence add the napi context check before giving out a warning for softirq count being 0. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai

[RFC 6/7] ath10k: Add deliver to stack from thread context

2020-07-21 Thread Rakesh Pillai
Signed-off-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/htt_rx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index becbd56..85c169c 100644 --- a/drivers/net/wireless/ath/ath10k

RE: [RFC 0/7] Add support to process rx packets in thread

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Florian Fainelli > Sent: Tuesday, July 21, 2020 11:35 PM > To: Andrew Lunn ; Rakesh Pillai > Cc: ath10k@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; kv...@codeaurora.org; johan...@sips

RE: [RFC 2/7] ath10k: Add support to process rx packet in thread

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Rajkumar Manoharan > Sent: Wednesday, July 22, 2020 3:23 AM > To: Rakesh Pillai > Cc: ath10k@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; kv...@codeaurora.org; johan...@sipsolutions.net; > d

RE: [RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Johannes Berg > Sent: Wednesday, July 22, 2020 6:26 PM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org; > kv...@codeaurora.org; da...@davemloft.net; k...

RE: [RFC 0/7] Add support to process rx packets in thread

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Florian Fainelli > Sent: Friday, July 24, 2020 12:33 AM > To: Rakesh Pillai ; 'Andrew Lunn' > > Cc: ath10k@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; kv...@codeaurora.org;

RE: [RFC 7/7] ath10k: Handle rx thread suspend and resume

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Sebastian Gottschall > Sent: Friday, July 24, 2020 4:36 AM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org; > kv...@codeaurora.org; johan...@sipsolutions.net; da...@

RE: [RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-23 Thread Rakesh Pillai
> -Original Message- > From: Johannes Berg > Sent: Friday, July 24, 2020 1:37 AM > To: Rakesh Pillai ; ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org; > kv...@codeaurora.org; da...@davemloft.net; k...@kernel.org; > n

RE: [RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-26 Thread Rakesh Pillai
> -Original Message- > From: Rakesh Pillai > Sent: Friday, July 24, 2020 11:51 AM > To: 'Johannes Berg' ; > 'ath10k@lists.infradead.org' > Cc: 'linux-wirel...@vger.kernel.org' ; > 'linux-ker...@vger.kernel.org' ; > &#x

RE: [RFC 0/7] Add support to process rx packets in thread

2020-07-28 Thread Rakesh Pillai
> -Original Message- > From: David Laight > Sent: Sunday, July 26, 2020 4:46 PM > To: 'Sebastian Gottschall' ; Hillf Danton > > Cc: Andrew Lunn ; Rakesh Pillai ; > net...@vger.kernel.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kern

  1   2   >