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 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 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.

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 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-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] ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path

2020-08-05 Thread Rakesh Pillai
#x27; in order to match the one > used in the corresponding 'dma_alloc_coherent()'. > > Fixes: 1863008369ae ("ath10k: fix shadow register implementation for > WCN3990") > Signed-off-by: Christophe JAILLET > --- > This patch looks obvious to me, but commit 1863008369ae

RE: [PATCH v2 1/3] ath10k: Add history for tracking certain events

2020-07-31 Thread Rakesh Pillai
> -Original Message- > From: Ben Greear > Sent: Saturday, August 1, 2020 12:08 AM > To: Rakesh Pillai ; ath...@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: [PATCH v2 0/3]

2020-07-31 Thread Rakesh Pillai
> -Original Message- > From: Florian Fainelli > Sent: Saturday, August 1, 2020 12:17 AM > To: Rakesh Pillai ; ath...@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org; > kv...@codeaurora.org; da...@davemloft.net; k...@ke

[PATCH v2 3/3] ath10k: Add debugfs support to enable event history

2020-07-31 Thread Rakesh Pillai
Add the support to enable/disable the recording of debug events history. The enable/disable of the history from debugfs will not make any affect if its not enabled via module parameter. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net

[PATCH v2 1/3] ath10k: Add history for tracking certain events

2020-07-31 Thread Rakesh Pillai
-by: Rakesh Pillai --- drivers/net/wireless/ath/ath10k/ce.c | 1 + drivers/net/wireless/ath/ath10k/core.h| 74 + drivers/net/wireless/ath/ath10k/debug.c | 133 ++ drivers/net/wireless/ath/ath10k/debug.h | 74 + drivers/net

[PATCH v2 2/3] ath10k: Add module param to enable history

2020-07-31 Thread Rakesh Pillai
allocation when recording the history is not needed. To enable all the history recording, the driver should be loaded as below "insmod ath10k_core.ko history_enable_mask=0xf" Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai --- drivers/net/wireless/

[PATCH v2 0/3]

2020-07-31 Thread Rakesh Pillai
history recording. Rakesh Pillai (3): ath10k: Add history for tracking certain events ath10k: Add module param to enable history ath10k: Add debugfs support to enable event history drivers/net/wireless/ath/ath10k/ce.c | 1 + drivers/net/wireless/ath/ath10k/core.c| 3 + drivers

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 ; > netdev@vger.kernel.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kern

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' ; > 'ath...@lists.infradead.org' > Cc: 'linux-wirel...@vger.kernel.org' ; > 'linux-ker...@vger.kernel.org' ; > &#x

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 ; ath...@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 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: ath...@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 ; ath...@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: Wednesday, July 22, 2020 6:26 PM > To: Rakesh Pillai ; ath...@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; linux-ker...@vger.kernel.org; > kv...@codeaurora.org; da...@davemloft.net; k...@ke

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: ath...@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; kv...@codeaurora.org; johan...@sipsolutions.net; > d

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: ath...@lists.infradead.org; linux-wirel...@vger.kernel.org; linux- > ker...@vger.kernel.org; kv...@codeaurora.org; johan...@sips

[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

[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 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 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 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 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 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

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