Re: [PATCH 10/49] ath11k: add debug.c

2019-08-27 Thread Anilkumar Kolli
On 2019-08-27 15:23, Sven Eckelmann wrote: On Tuesday, 27 August 2019 11:04:23 CEST Anilkumar Kolli wrote: [...] > Yes, but it shouldn't kill the complete system. > This will not kill the whole system, This will crash target and we have mechanism to recover the system. Hope u hav

Re: [PATCH 10/49] ath11k: add debug.c

2019-08-27 Thread Anilkumar Kolli
On 2019-08-27 13:05, Sven Eckelmann wrote: On Tuesday, 27 August 2019 09:33:39 CEST Anilkumar Kolli wrote: [...] > [ 4312.884650] The reading for sensor 4 is 0x002041f7 > [ 4312.891499] The reading for sensor 5 is 0x002051f4 > [ 4312.896415] Couldn't get readin

Re: [PATCH 10/49] ath11k: add debug.c

2019-08-27 Thread Anilkumar Kolli
On 2019-08-26 19:17, Sven Eckelmann wrote: On Tuesday, 20 August 2019 17:47:36 CEST Kalle Valo wrote: +static ssize_t ath11k_read_simulate_fw_crash(struct file *file, +char __user *user_buf, +size_t count, lo

Re: [PATCH 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-10-26 Thread Anilkumar Kolli
On 2018-10-12 17:05, Kalle Valo wrote: Anilkumar Kolli wrote: Mesh path metric needs tx rate information from ieee80211_tx_status() call but in ath10k there is no mechanism to report tx rate information via ieee80211_tx_status(), the tx rate is only accessible via sta_statiscs() op. Per peer

[PATCH v2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-10-25 Thread Anilkumar Kolli
firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- V2: - Rebased on top of tree - Dependency mac80211 patch got merged drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net/wireless/ath/ath10k/htt_rx.c | 67

[PATCH 2/2] ath10k: assign proper firmware crash dump structure

2018-10-11 Thread Anilkumar Kolli
-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/coredump.c | 15 ++- drivers/net/wireless/ath/ath10k/coredump.h |1 + 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/coredump.c b/drivers/net/wireless/ath/ath10k/coredump.c in

[PATCH 1/2] ath10k: Add memory dump support for QCA4019

2018-10-11 Thread Anilkumar Kolli
This patch adds firmware crash memory dump support for QCA4019. Tested on: QCA4019 firmware 10.4-3.2.1.1-00017 Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/coredump.c | 103 +++- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a

[PATCHv2] ath10k: Dump tx stats in rate table format

2018-10-11 Thread Anilkumar Kolli
Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/core.h|1 + drivers/net/wireless/ath/ath10k/debugfs_sta.c | 12 +++- drivers/net/wireless/ath/ath10k/htt_rx.c | 17 - drivers/net/wireless/ath/ath10k/wmi.h |1 + 4 files

[PATCH 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-10-11 Thread Anilkumar Kolli
firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net/wireless/ath/ath10k/htt_rx.c | 70 +++--- drivers/net/wireless/ath/ath10k/wmi.h|1

[PATCH 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-10-11 Thread Anilkumar Kolli
paths - (one for the stats, one for the tx rate) will duplicate the stats. To avoid this stats duplication, ieee80211_tx_rate_update() is implemented. Signed-off-by: Anilkumar Kolli --- include/net/mac80211.h | 15 +++ net/mac80211/status.c | 22 ++ 2 files

[PATCH 0/2] ath10k: Add support to update tx rate to mac80211

2018-10-11 Thread Anilkumar Kolli
Tx rate was updated to nl80211/user using sta_statistics callback. This rate can not be used for mac80211 mesh and ATF. This patch adds support to update tx rate to mac80211 Anilkumar Kolli (2): mac80211: implement ieee80211_tx_rate_update to update rate ath10k: report tx rate using

Re: [PATCH] ath10k: htt_rx: Fix signedness bug in ath10k_update_per_peer_tx_stats

2018-10-07 Thread Anilkumar Kolli
On 2018-10-06 00:45, Gustavo A. R. Silva wrote: On 10/5/18 9:14 PM, Gustavo A. R. Silva wrote: On 10/5/18 9:09 PM, Ben Greear wrote: On 10/05/2018 11:42 AM, Gustavo A. R. Silva wrote: Currently, the error handling for the call to function ath10k_get_legacy_rate_idx() doesn't work because *ra

[RFC v4 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-09-24 Thread Anilkumar Kolli
firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- V3: - added new API to update tx rate alone. - Tx rate is updated for each PPDUs sent drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net/wireless/ath/ath10k

[RFC v4 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-24 Thread Anilkumar Kolli
paths - (one for the stats, one for the tx rate) will duplicate the stats. To avoid this stats duplication, ieee80211_tx_rate_update() is implemented. Signed-off-by: Anilkumar Kolli --- V3: - Added new API in mac80211 to update tx rate(Johannes) V4: - Removed non NULL check on pubsta and

[RFC v4 0/2] ath10k: Add support to update tx rate to mac80211

2018-09-24 Thread Anilkumar Kolli
Tx rate was updated to nl80211/user using sta_statistics callback. This rate can not be used for mac80211 mesh and ATF. This patch adds support to update tx rate to mac80211 Anilkumar Kolli (2): mac80211: implement ieee80211_tx_rate_update to update rate ath10k: report tx rate using

Re: [RFCv3 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-23 Thread Anilkumar Kolli
On 2018-09-21 17:51, Toke Høiland-Jørgensen wrote: Anilkumar Kolli writes: On 2018-09-20 21:40, Toke Høiland-Jørgensen wrote: Anilkumar Kolli writes: Current mac80211 has provision to update tx status through ieee80211_tx_status() and ieee80211_tx_status_ext(). But drivers like ath10k

[RFCv3 2/2] ath10k: report tx rate using ieee80211_tx_rate_update()

2018-09-20 Thread Anilkumar Kolli
firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- V3: - added new API to update tx rate alone. - Tx rate is updated for each PPDUs sent drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net/wireless/ath/ath10k

[RFCv3 1/2] mac80211: implement ieee80211_tx_rate_update to update rate

2018-09-20 Thread Anilkumar Kolli
paths - (one for the stats, one for the tx rate) will duplicate the stats. To avoid this stats duplication, ieee80211_tx_rate_update() is implemented. Signed-off-by: Anilkumar Kolli --- V3: - Added new API in mac80211 to update tx rate(Johannes) include/net/mac80211.h | 14 ++ net

[PATCH] ath10k: add fw crash dump support for QCA9888 and QCA99X0

2018-05-08 Thread Anilkumar Kolli
This patch adds crash dump support for QCA9888 and QCA99X0 Tested On: QCA9888, Firmware Version: 10.4-3.5.3-00053 Tested on QCA99X0, Firmware Version: 10.4.1.00030-1 Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/coredump.c | 98 1 file

Re: [RFC v2] ath10k: report tx rate using ieee80211_tx_status()

2018-04-25 Thread Anilkumar Kolli
On 2018-04-24 13:32, Kalle Valo wrote: Anilkumar Kolli writes: Mesh path metric needs txrate information from ieee80211_tx_status() call but in ath10k there is no mechanism to report tx rate information via ieee80211_tx_status(), the rate is only accessible via sta_statiscs() op. Per peer

[RFC v2] ath10k: report tx rate using ieee80211_tx_status()

2018-04-20 Thread Anilkumar Kolli
QCA9888/QCA9984/QCA4019/QCA998X only Tested on QCA9984 with firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- V2: - Removed peer lookup to get the STA context. drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net

[PATCH v2] ath10k: Implement get_expected_throughput callback

2018-03-23 Thread Anilkumar Kolli
Enable support for 'drv_get_expected_throughput' callback. Export expected throughput if available to cfg80211/nl80211. Signed-off-by: Anilkumar Kolli Signed-off-by: Tamizh chelvam --- v2: - update the avg for all the transmitted frames(Sven) - remove the u

[PATCH] ath10k: Implement get_expected_throughput callback

2018-03-23 Thread Anilkumar Kolli
Enable support for 'drv_get_expected_throughput' callback. Export expected throughput if available to cfg80211/nl80211. Signed-off-by: Anilkumar Kolli Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/core.h |5 + drivers/net/wireless/ath/ath10k/mac

[PATCH] ath10k: fix recent bandwidth conversion bug

2018-03-10 Thread Anilkumar Kolli
x388/0xaf0) (nl80211_get_station+0xa8/0xec) [ end trace da8257d6a850e91a ] Fixes: 842be75c77cb ("cfg80211: make RATE_INFO_BW_20 the default") Signed-off-by: Christian Lamparter Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/htt_rx.c | 43 +-

[RFC] ath10k: report tx rate using ieee80211_tx_status()

2018-03-08 Thread Anilkumar Kolli
available for QCA9888/QCA9984/QCA4019/QCA998X only Tested on QCA9984 with firmware-5.bin_10.4-3.5.3-00053 Tested on QCA998X with firmware-5.bin_10.2.4-1.0-00036 Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/core.h |1 + drivers/net/wireless/ath/ath10k/htt_rx.c | 97

[PATCH] ath10k: Advertize beacon_int_min_gcd

2018-03-07 Thread Anilkumar Kolli
s added for, QCA988X/QCA99X0/QCA9984/QCA4019. Verifed AP + mesh bring up on QCA9984 with beacon interval 100msec and 1000msec respectively. Frimware: firmware-5.bin_10.4-3.5.3-00053 Fixes: 0c317a02ca98 ("cfg80211: support virtual interfaces with different beacon intervals")

[PATCH 2/2] ath10k: add debugfs support to configure fwtest parameters

2018-03-04 Thread Anilkumar Kolli
Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/core.h |3 ++ drivers/net/wireless/ath/ath10k/debug.c | 81 +++ 2 files changed, 84 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index

[PATCH 1/2] ath10k: Add WMI FWTEST command support

2018-03-04 Thread Anilkumar Kolli
From: Sathishkumar Muruganandam This patch adds support for WMI_FWTEST_CMD. This command is used for setting the wifi parameters. Signed-off-by: Sathishkumar Muruganandam Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 18 ++ drivers/net

[PATCH 0/2] FWTEST command support in debugfs

2018-03-04 Thread Anilkumar Kolli
Add WMI_FWTEST_CMD support. This command is used to configure tx parameters Sathishkumar Muruganandam (2): ath10k: Add WMI FWTEST command support ath10k: add debugfs support to configure fwtest parameters drivers/net/wireless/ath/ath10k/core.h|2 + drivers/net/wireless/ath/ath10k/deb