[PATCH] ath10k: Skip data calibration for non-bmi target

2018-06-12 Thread Surabhi Vishnoi
In non-bmi target ex. WCN3990, data calibration is handled via QMI. Skip data calibration in debug routine to enable ath10k debugfs for non bmi targets. Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/debug.c | 21 ++--- 1 file changed, 14 insertions(+), 7

[PATCH] ath10k: Add support to provide higher range mem chunks in wmi init command

2018-12-10 Thread Surabhi Vishnoi
than 32 bit, it advertises the support by setting the WMI_SERVICE_EXTEND_ADDRESS service. Based on this service fill the upper bits of paddr while providing the mem chunks in the wmi init command. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01552-QCAHLSWMTPL-1 Signed-off-by: Surabhi Vishnoi

[PATCH v2] ath10k: Add support to provide higher range mem chunks in wmi init command

2018-12-11 Thread Surabhi Vishnoi
than 32 bit, it advertises the support by setting the WMI_SERVICE_EXTEND_ADDRESS service. Based on this service fill the upper bits of paddr while providing the mem chunks in the wmi init command. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01552-QCAHLSWMTPL-1 Signed-off-by: Surabhi Vishnoi

[PATCH v2 2/4] ath10k: Fix the wrong updation of BW in tx_stats debugfs entry

2019-02-26 Thread Surabhi Vishnoi
mac80211 and driver stats table (BW table) by making the number of bandwidth type in driver compatible with mac80211. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: a904417fc876 ("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- d

[PATCH v2 1/4] ath10k: Fix the incorrect updation of NSS data in tx stats

2019-02-26 Thread Surabhi Vishnoi
("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10

[PATCH v2 4/4] ath10k: Fix the wrong calculation ht_idx and idx of rate table for tx_stats

2019-02-26 Thread Surabhi Vishnoi
rate table format") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 2394a47..d34c76f 100644 --- a/d

[PATCH v2 0/4] Fix inconsistencies observed in population of tx_stats in debugfs

2019-02-26 Thread Surabhi Vishnoi
in [Patch 3/4] Surabhi Vishnoi (4): ath10k: Fix the incorrect updation of NSS data in tx stats ath10k: Fix the wrong updation of BW in tx_stats debugfs entry ath10k: Fix the wrong updation of SGI in tx_stats debugfs ath10k: Fix the wrong calculation ht_idx and idx of rate table for tx_stats

[PATCH v2] ath10k: Fill rx duration for each peer in fw_stats for WCN3990

2019-02-26 Thread Surabhi Vishnoi
the rx_duration of each connected peer : cat /sys/kernel/debug/ieee80211/phyX/ath10k/fw_stats Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Surabhi Vishnoi --- Changes from v1: -Fixed the Kbuild bot warning (left shift count >= width of type [-Wshift-count-overf

Re: [PATCH] ath10k: Fill rx duration for each peer in fw_stats for WCN3990

2019-02-26 Thread Surabhi Vishnoi
Hi Kalle, I have uploaded the v2 patch which fixes the warning. https://patchwork.kernel.org/patch/10829811/ Thanks, Surabhi Vishnoi On 2019-02-25 22:47, Kalle Valo wrote: Surabhi Vishnoi wrote: Currently, rx_duration for each peer is not getting populated in fw_stats debugfs entry

[PATCH] ath10k: Fill rx duration for each peer in fw_stats for WCN3990

2019-02-19 Thread Surabhi Vishnoi
the rx_duration of each connected peer : cat /sys/kernel/debug/ieee80211/phyX/ath10k/fw_stats Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/core.c| 4 ++-- drivers/net/wireless/ath/ath10k/core.h| 2 +- drivers

[PATCH 2/2] ath10k: Add support for per peer HTT tx stats for WCN3990

2019-02-26 Thread Surabhi Vishnoi
per STA. To get the tx_stats: echo 1 > /sys/kernel/debug/ieee80211/phyX/ath10k/enable_extd_tx_stats cat /sys/kernel/debug/ieee80211/phyX/net:wlanX/stations/xx:xx:xx:xx:xx:xx/tx_stats Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Surabhi Vishnoi --- drivers/

[PATCH 1/2] ath10k: Add support for adding htt_rx_ops based on htt_version

2019-02-26 Thread Surabhi Vishnoi
Refactor the code to add the support to attach htt_rx_ops based on HTT version. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt.h| 3 ++- drivers/net/wireless/ath/ath10k/htt_rx.c | 29

[PATCH 0/2] Add support for per peer HTT tx stats for WCN3990

2019-02-26 Thread Surabhi Vishnoi
. Surabhi Vishnoi (2): ath10k: Add support for adding htt_rx_ops based on htt_version ath10k: Add support for per peer HTT tx stats for WCN3990 drivers/net/wireless/ath/ath10k/htt.c | 2 + drivers/net/wireless/ath/ath10k/htt.h | 67 +++- drivers/net/wireless/ath/ath10k/htt_rx.c

[PATCH 0/2] Add support for per peer HTT tx stats for WCN3990

2019-02-26 Thread Surabhi Vishnoi
. Surabhi Vishnoi (2): ath10k: Add support for adding htt_rx_ops based on htt_version ath10k: Add support for per peer HTT tx stats for WCN3990 drivers/net/wireless/ath/ath10k/htt.c | 2 + drivers/net/wireless/ath/ath10k/htt.h | 67 +++- drivers/net/wireless/ath/ath10k/htt_rx.c

[PATCH 4/4] ath10k: Fix the wrong calculation ht_idx and idx of rate table for tx_stats

2019-02-21 Thread Surabhi Vishnoi
rate table format") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 5b1dd58..b504c4f 100644 --- a/d

[PATCH 3/4] ath10k: Fix the wrong updation of SGI in tx_stats debugfs

2019-02-21 Thread Surabhi Vishnoi
: a904417fc876 ("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 3 ++- drivers/net/wireless/ath/ath10k/wmi.h| 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10

[PATCH 2/4] ath10k: Fix the wrong updation of BW in tx_stats debugfs entry

2019-02-21 Thread Surabhi Vishnoi
mac80211 and driver stats table (BW table) by making the number of bandwidth type in driver compatible with mac80211. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: a904417fc876 ("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- d

[PATCH 1/4] ath10k: Fix the incorrect updation of NSS data in tx stats

2019-02-21 Thread Surabhi Vishnoi
("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10

[PATCH 0/4] Fix inconsistencies observed in population of tx_stats in debugfs

2019-02-21 Thread Surabhi Vishnoi
There are some inconsistencies observed while filling various peer tx stats in tx_stats debugfs entry per sta. This patchset fixes the wrong updation of NSS, SGI, Bandwidth and rate_table in tx_stats debugfs entry per sta. Surabhi Vishnoi (4): ath10k: Fix the incorrect updation of NSS data

[PATCH v3] ath10k: Add support to provide higher range mem chunks in wmi init command

2019-02-25 Thread Surabhi Vishnoi
than 32 bit, it advertises the support by setting the WMI_SERVICE_EXTEND_ADDRESS service. Based on this service fill the upper bits of paddr while providing the mem chunks in the wmi init command. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Signed-off-by: Surabhi Vishnoi

[PATCH v2 3/4] ath10k: Fix the wrong updation of SGI in tx_stats debugfs

2019-02-26 Thread Surabhi Vishnoi
: a904417fc876 ("ath10k: add extended per sta tx statistics support") Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 4 +++- drivers/net/wireless/ath/ath10k/wmi.h| 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/

[PATCH] ath10k: Fix length of wmi tlv command for protected mgmt frames

2019-02-15 Thread Surabhi Vishnoi
wmi" Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index 5d05bff..a1c28c1 100644 --- a/drivers/net/wi

[PATCH] ath10k: Fill tx_duration for each peer in Tx stats per STA

2019-01-31 Thread Surabhi Vishnoi
Firmware sends the tx_duration for each in HTT_T2H_MSG_TYPE_PEER_STATS msg. Fill the tx_duration sent by firmware in the tx stats information per STA. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/htt_rx.c | 3 +++ 1 file changed

[PATCH] ath10k: Add a condtion to fill the LDPC capability correctly

2019-01-31 Thread Surabhi Vishnoi
and WMI_HT_CAP_TX_LDPC in HT capabilities. Add a condition to existing logic in host to know whether firmware supports LDPC or not. Tested HW: WCN3990 Tested SW: WLAN.HL.2.0 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/mac.c | 3 ++- drivers/net/wireless/ath/ath10k/wmi.h | 2 ++ 2 files

Re: [PATCH] ath10k: Fix the wrong value of enums for wmi tlv stats id

2019-04-10 Thread Surabhi Vishnoi
added. Thanks, Surabhi Vishnoi On Mon, 8 Apr 2019 at 23:43, Surabhi Vishnoi wrote: The enum value for WMI_TLV_STAT_PDEV, WMI_TLV_STAT_VDEV and WMI_TLV_STAT_PEER is wrong, due to which the vdev stats are not received from firmware in wmi_update_stats event. Fix the enum values for above

[PATCH] ath10k: Fix the wrong value of enums for wmi tlv stats id

2019-04-09 Thread Surabhi Vishnoi
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1 Fixes: f40a307eb92c ("ath10k: Fill rx duration for each peer in fw_stats for WCN3990) Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/driver

[PATCH 0/3] Add support for MESH 11S for WCN3990

2019-04-17 Thread Surabhi Vishnoi
Currently, mesh 11s is not supported for WCN3990. This patchset add the changes to enable the mesh for WCN3990. Surabhi Vishnoi (3): ath10k: Add wmi tlv vdev subtype for mesh in WCN3990 ath10k: Do not send probe response template for mesh ath10k: Add wmi tlv service map for mesh 11s

[PATCH 1/3] ath10k: Add wmi tlv vdev subtype for mesh in WCN3990

2019-04-17 Thread Surabhi Vishnoi
There is a disparity in wmi and wmi tlv vdev subtype enum for WMI_VDEV_SUBTYPE_MESH_11S. Add different enum for wmi tlv vdev subtype to support vdev of subtype mesh 11s for WCN3990. Tested HW: WCN3990 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 24

[PATCH 3/3] ath10k: Add wmi tlv service map for mesh 11s

2019-04-17 Thread Surabhi Vishnoi
WCN3990 firmware advertises the service WMI_TLV_SERVICE_MESH_11S for mesh 11s. Map this wmi tlv service to enable mesh 11s for WCN3990. Tested HW: WCN3990 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/wmi-tlv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers

[PATCH 2/3] ath10k: Do not send probe response template for mesh

2019-04-17 Thread Surabhi Vishnoi
this failure, skip sending probe response template to firmware for mesh point. Tested HW: WCN3990/QCA6174/QCA9984 Signed-off-by: Surabhi Vishnoi --- drivers/net/wireless/ath/ath10k/mac.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless