[PATCH] wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart

2023-05-18 Thread Youghandhar Chintala
is not set. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 Fixes: 2c3fc50591ff ("ath10k: Trigger sta disconnect on hardware restart") Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 9 - drivers/net/wireless/ath/ath10k/mac.c | 8 +

[PATCH v2 2/2] wifi: ath10k: update the channel list if change in channel flags.

2023-03-02 Thread Youghandhar Chintala
the updated flags to the firmware. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00174 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/mac.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v2 1/2] wifi: cfg80211: Add beacon hint notifier support

2023-03-02 Thread Youghandhar Chintala
to notify the driver from the regulatory core regarding the channel flag changes. Adding a beacon hint notifier logic, so that drivers can register callbacks to get notified whenever there is a change in channel flags. Signed-off-by: Youghandhar Chintala --- include/net/cfg80211.h | 7 +++ net

[PATCH v2 0/2] Update the channel list if the change in channel flags

2023-03-02 Thread Youghandhar Chintala
call back. - Passed channel context as argument for notifier. Youghandhar Chintala (2): wifi: cfg80211: Add beacon hint notifier support wifi: ath10k: update the channel list if change in channel flags. drivers/net/wireless/ath/ath10k/mac.c | 11 +++ include/net/cfg80211.h

Re: [PATCH 1/2] wifi: cfg80211: Add beacon hint notifier support

2023-02-15 Thread Youghandhar Chintala (Temp)
On 1/18/2023 10:00 PM, Johannes Berg wrote: +++ b/include/net/cfg80211.h @@ -5386,6 +5386,8 @@ struct wiphy { void (*reg_notifier)(struct wiphy *wiphy, struct regulatory_request *request); + void (*beacon_hint_notifier)(struct wiphy *wiphy); missing

Re: [PATCH 2/2] wifi: ath10k: update the channel list if change in channel flags.

2023-01-18 Thread Youghandhar Chintala (Temp)
On 1/19/2023 7:56 AM, Wen Gong wrote: On 12/22/2022 8:42 PM, Youghandhar Chintala wrote: ...   +static void ath10k_mac_beacon_notifier(struct wiphy *wiphy) +{ +    struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); +    struct ath10k *ar = hw->priv; + +    if (ath10k_update_channel_l

[PATCH 2/2] wifi: ath10k: update the channel list if change in channel flags.

2022-12-22 Thread Youghandhar Chintala
the updated flags to the firmware. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00174 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/mac.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH 0/2] Update the channel list if the change in channel flags

2022-12-22 Thread Youghandhar Chintala
There are connection failures in hidden SSID case when the device is with default reg domain WW. For WW reg domain most of the 5 GHz channels are passive. When device listens to the beacon on that channel, the driver is updating its channel flag but firmware is not aware of it and firmware is not

Re: [PATCH v3] wifi: ath10k: Add WLAN firmware image version info into smem

2022-11-17 Thread Youghandhar Chintala (Temp)
On 11/14/2022 6:29 PM, Kalle Valo wrote: Youghandhar Chintala writes: In a SoC based solution, it would be useful to know the versions of the various binary firmware blobs the system is running on. On a QCOM based SoC, this info can be obtained from socinfo debugfs infrastructure

Re: [PATCH] wifi: ath10k: Add WLAN firmware image version info into smem

2022-11-01 Thread Youghandhar Chintala (Temp)
On 11/1/2022 2:31 PM, Kalle Valo wrote: (fixing quotation) "Youghandhar Chintala (Temp)" writes: On 10/28/2022 12:19 AM, Jeff Johnson wrote: On 10/26/2022 3:22 AM, Youghandhar Chintala wrote:   +static void ath10k_qmi_add_wlan_ver_smem(struct ath10k *ar, char *fw_build_id)

[PATCH] wifi: ath10k: Add WLAN firmware image version info into smem

2022-10-26 Thread Youghandhar Chintala
in SMEM version table to be printed as part of socinfo debugfs infrastructure on a Qualcomm based SoC. This change is applicable only for WCN399X targets. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k

[PATCH v2] wifi: ath10k: Delay the unmapping of the buffer

2022-10-12 Thread Youghandhar Chintala
WMTPLZ-1 Tested-by: Douglas Anderson Signed-off-by: Youghandhar Chintala --- V2: - Commit message changes --- drivers/net/wireless/ath/ath10k/core.c | 16 drivers/net/wireless/ath/ath10k/htc.c | 9 + drivers/net/wireless/ath/ath10k/hw.h | 2 ++ 3 files chang

[PATCH] wifi: ath10k: Delay the unmapping of the buffer

2022-08-15 Thread Youghandhar Chintala
around we are adding a delay to unmap the memory for WMI end point. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1 Tested-by: Douglas Anderson Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 15 +++ drivers/net/wireless/ath/ath10k

[PATCH] wifi:ath10k: Set tx credit to one for WCN3990 snoc based devices

2022-08-01 Thread Youghandhar Chintala
transfers. This change will not impact other targets, as it is only for WCN3990. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 16 drivers/net/wireless/ath/ath10k/htc.c | 10

[PATCH v6 1/2] mac80211: Add support to trigger sta disconnect on hardware restart

2022-03-15 Thread Youghandhar Chintala
peer. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex changes and will still be inefficient. Tested on ath10k using WCN3990, QCA6174 Reviewed-by: Brian Norris Reported-by: kernel test robot Signed-off-by: Youghandhar Chintala

[PATCH v6 0/2] mac80211: Trigger disconnect for STA during target hardware restart

2022-03-15 Thread Youghandhar Chintala
. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex/inefficient datapath changes. --- Changes from v5: - Fixed kernel test robot error Youghandhar Chintala (2): mac80211: Add support to trigger sta disconnect on hardware restart

[PATCH v6 2/2] ath10k: Trigger sta disconnect on hardware restart

2022-03-15 Thread Youghandhar Chintala
-01040-QCAHLSWMTPLZ-1 Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1 Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00048 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 25 + drivers/net/wireless/ath/ath10k/hw.h | 2 ++ 2

[PATCH v5 1/2] mac80211: Add support to trigger sta disconnect on hardware restart

2022-03-08 Thread Youghandhar Chintala
peer. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex changes and will still be inefficient. Tested on ath10k using WCN3990, QCA6174 Signed-off-by: Youghandhar Chintala --- include/net/mac80211.h | 10 ++ net

[PATCH v5 0/2] mac80211: Trigger disconnect for STA during target hardware restart

2022-03-08 Thread Youghandhar Chintala
escription and the arguments Youghandhar Chintala (2): mac80211: Add support to trigger sta disconnect on hardware restart ath10k: Trigger sta disconnect on hardware restart drivers/net/wireless/ath/ath10k/core.c | 25 +++ drivers/net/wireless/ath/ath10k/hw.h | 2 ++ include/ne

[PATCH v5 2/2] ath10k: Trigger sta disconnect on hardware restart

2022-03-08 Thread Youghandhar Chintala
-01040-QCAHLSWMTPLZ-1 Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1 Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00048 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 25 + drivers/net/wireless/ath/ath10k/hw.h | 2 ++ 2

[PATCH v4 1/2] mac80211: Add support to trigger sta disconnect on hardware restart

2022-03-03 Thread Youghandhar Chintala
peer. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex changes and will still be inefficient. Tested on ath10k using WCN3990, QCA6174 Signed-off-by: Youghandhar Chintala --- include/net/mac80211.h | 11 +++ net

[PATCH v4 2/2] ath10k:trigger sta disconnect on hardware restart

2022-03-03 Thread Youghandhar Chintala
-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1 QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00048 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 25 + drivers/net/wireless/ath

[PATCH v4 0/2] mac80211: Trigger disconnect for STA during target hardware restart

2022-03-03 Thread Youghandhar Chintala
. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex/inefficient datapath changes. --- Changes from v3: - Added common API to trigger disconnect. Youghandhar Chintala (2): mac80211: Add support to trigger sta disconnect on hardware

[RFC 2/2] ath10k: Delay the unmapping of the buffer

2022-01-20 Thread Youghandhar Chintala
We are seeing a corner case smmu fault issue where copy engine is still accessing the memory though host unmaps it hence as work around we are delaying the unmapping the memory. Tested-on: WLAN.HL.3.2.2.c10-00757-QCAHLSWMTPL-1 Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath

[RFC 0/2] ath10k:set tx credit to one and delay the unmaping

2022-01-20 Thread Youghandhar Chintala
the memory though host unmaps it hence as work around we are delaying the unmapping the memory and tx credit to one. Youghandhar Chintala (2): ath10k: Set tx credit to one for wcn3990 snoc based devices ath10k: Delay the unmapping of the buffer drivers/net/wireless/ath/ath10k/core.c | 30

[RFC 1/2] ath10k: Set tx credit to one for wcn3990 snoc based devices

2022-01-20 Thread Youghandhar Chintala
of 2nd DMA.HOST uses SRRI to interpret how many DMA???s have been completed and tries to unmap/free both the DMA entries, but CE is still in the middle of 2nd DMA which can cause SMMU issues or corruption. Tested-on: WLAN.HL.3.2.2.c10-00757-QCAHLSWMTPL-1 Signed-off-by: Youghandhar Chintala

Re: [PATCH v3] ath10k: Don't always treat modem stop events as crashes

2021-09-24 Thread Youghandhar Chintala
I pulled the latest patch changes and tested them on SC7180. Which works as expected. Do not see this error message during reboot and can be seen while doing SSR. Tested-By: Youghandhar Chintala On 2021-09-23 05:03, Stephen Boyd wrote: When rebooting on sc7180 Trogdor devices I see

[PATCH v3] ath10k: skip the wait for completion to recovery in shutdown path

2021-02-23 Thread Youghandhar Chintala
in the shutdown callback and added an API to freeing the reosurces in which they were common for shutdown and removing the module. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Youghandhar Chintala Change-Id: I65bc27b5adae1fedc7f7b367ef13aafbd01f8c0c --- Changes from

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

2020-12-15 Thread Youghandhar Chintala
of frames by remote peer. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex/inefficient datapath changes. Rakesh Pillai (1): ath10k: Set wiphy flag to trigger sta disconnect on hardware restart Youghandhar Chintala (2): cfg80211

[PATCH 3/3] ath10k: Set wiphy flag to trigger sta disconnect on hardware restart

2020-12-15 Thread Youghandhar Chintala
hw3.2 SDIO WLAN.RMH.4.4.1-00048 Signed-off-by: Rakesh Pillai Signed-off-by: Youghandhar Chintala --- drivers/net/wireless/ath/ath10k/core.c | 15 +++ drivers/net/wireless/ath/ath10k/hw.h | 3 +++ drivers/net/wireless/ath/ath10k/mac.c | 3 +++ 3 files changed, 21 insertions

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

2020-12-15 Thread Youghandhar Chintala
of frames by remote peer. The right fix would be to pull the entire data path into the host which is not feasible or would need lots of complex/inefficient datapath changes. Rakesh Pillai (1): ath10k: Set wiphy flag to trigger sta disconnect on hardware restart Youghandhar Chintala (2): cfg80211

[PATCH v2] ath10k: skip the wait for completion to recovery in shutdown path

2020-11-26 Thread Youghandhar Chintala
callback. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Youghandhar Chintala --- Changes from v1: -Removed stray change-id text --- drivers/net/wireless/ath/ath10k/snoc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/snoc.c

[PATCH] ath10k: skip the wait for completion to recovery in shutdown path

2020-11-26 Thread Youghandhar Chintala
callback. Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Youghandhar Chintala Change-Id: I0474ab7dc3730aaacac888bb9a7acc2fa0e8b4f8 --- drivers/net/wireless/ath/ath10k/snoc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k