On 2018-04-14 01:54, Peter Oh wrote:
On 04/13/2018 06:48 AM, Kalle Valo wrote:
Sven Eckelmann writes:
But of course, I cannot say much about how the rate control from QCA
works and
in which form these information are already available.
If you want to know the average PHY rate then wouldn't
On 2018-03-26 12:52, Sven Eckelmann wrote:
On Freitag, 23. März 2018 19:37:14 CEST Anilkumar Kolli wrote:
+static u32 ath10k_get_expected_throughput(struct ieee80211_hw *hw,
+ struct ieee80211_sta *sta)
+{
+ struct ath10k_sta *arsta = (struct ath10k_
On 2018-03-23 19:14, Johannes Berg wrote:
On Fri, 2018-03-23 at 19:11 +0530, ako...@codeaurora.org wrote:
> > +
> > + sinfo->expected_throughput =
> > +
> > ewma_sta_txrate_read(&arsta->ave_sta_txrate);
> > + sinfo->filled |=
> > BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT);
> > +}
Hi Sven,
Thanks for the review.
On 2018-03-23 13:39, Sven Eckelmann wrote:
On Freitag, 23. März 2018 13:07:00 CET Anilkumar Kolli wrote:
[...]
+static u32 ath10k_get_expected_throughput(struct ieee80211_hw *hw,
+ struct ieee80211_sta *sta)
+{
+ str
On 2018-03-05 13:12, Sven Eckelmann wrote:
On Montag, 5. März 2018 12:29:08 CET Anilkumar Kolli wrote:
@@ -496,6 +497,8 @@ struct ath10k_debug {
u32 reg_addr;
u32 nf_cal_period;
void *cal_data;
+ u32 fw_test_param_id;
+ u32 fw_test_param_value;
};
Why is it
On 2017-12-08 19:10, Sven Eckelmann wrote:
On Freitag, 8. Dezember 2017 18:05:38 CET ako...@codeaurora.org wrote:
On 2017-12-08 17:42, Sven Eckelmann wrote:
> On Donnerstag, 25. Mai 2017 16:21:23 CET ako...@qti.qualcomm.com wrote:
>> From: Anilkumar Kolli
>>
>> QCA99X0, QCA9888, QCA9984 support
On 2017-12-08 17:42, Sven Eckelmann wrote:
On Donnerstag, 25. Mai 2017 16:21:23 CET ako...@qti.qualcomm.com wrote:
From: Anilkumar Kolli
QCA99X0, QCA9888, QCA9984 supports calibration data in
either OTP or DT/pre-cal file. Current ath10k supports
Calibration data from OTP only.
If caldata is
From: Anilkumar Kolli
10.2.4 firmware branch (used in QCA988X) does not support
HTT_10_4_T2H_MSG_TYPE_PEER_STATS and that's why ath10k does not provide
tranmission rate statistics to user space, instead it just shows
hardcoded 6 Mbit/s. But pktlog firmware facility provides per peer tx
statistics
From: Anilkumar Kolli
Remove CONFIG_MAC80211_DEBUGFS dependency on ath10k_sta_statistics().
ath10k_sta_statistics() has per sta tx/rx stats and this should not
be dependent on MAC80211_DEBUGFS.
No changes in functionality.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/cor
From: Anilkumar Kolli
Move pktlog_filter from struct ath10k_debug to struct ath10k
so that pktlog can be enabled even when debugfs is not
enabled, needed to enable peer tx stats for 10.2.4.
No changes in functionality.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/core.h
From: Anilkumar Kolli
Add tx stats supoort for QCA988X.
Parse peer stats from pktlog packets and update the tx rate
information per STA.
This way user space can query about transmit rate with iw.
V2:
- Added patch ath10k: remove MAC80211_DEBUGFS dependency on
ath10k_sta_statistics
- No oth
On 2017-12-04 19:53, Maxime Bizon wrote:
On Mon, 2017-12-04 at 18:54 +0530, ako...@codeaurora.org wrote:
Hope 10.2.4-1.0-00029 Firmware binary works for you.
it does
I will check this warning.
fixed by applying patch:
"[PATCH] ath10k: fix recent bandwidth conversion bug"
as suggested by
On 2017-12-01 20:35, Maxime Bizon wrote:
On Fri, 2017-12-01 at 19:18 +0530, ako...@codeaurora.org wrote:
Hope CONFIG_MAC80211_DEBUGFS is enabled in your build.
it wasn't and IMHO it's confusing because tx rate is filled by the
other
drivers without it.
I now have the following warning:
[
Parse peer stats from pktlog packets and update the tx rate
information
per STA. This way user space can query about transmit rate with iw:
everything works ok, ath10k_update_per_peer_tx_stats() is called and
ath10k_sta fields are updated correctly
but tx bitrate is still 6 MBit/s in statio
Hello,
Thanks for verifying the patch.
On 2017-12-01 16:15, Maxime Bizon wrote:
On Thu, 2017-11-30 at 18:28 +0530, ako...@qti.qualcomm.com wrote:
Hello,
Tested on QCA9880 with firmware version 10.2.4.70.48. This should also
work with firmware branch 10.2.4-1.0-00029
I tried using your pat
On 2017-11-30 22:08, Kalle Valo wrote:
Toke Høiland-Jørgensen writes:
+struct ath10k_10_2_peer_tx_stats {
+ u8 ratecode[PEER_STATS_FOR_NO_OF_PPDUS];
+ u8 success_pkts[PEER_STATS_FOR_NO_OF_PPDUS];
+ __le16 success_bytes[PEER_STATS_FOR_NO_OF_PPDUS];
+ u8 retry_pkts[PEER_S
From: Anilkumar Kolli
Move pktlog_filter from struct ath10k_debug to struct ath10k
so that pktlog can be enabled even when debugfs is not
enabled, needed to enable peer tx stats for 10.2.4.
No changes in functionality.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/core.h
From: Anilkumar Kolli
10.2.4 firmware branch (used in QCA988X) does not support
HTT_10_4_T2H_MSG_TYPE_PEER_STATS and that's why ath10k does not provide
tranmission rate statistics to user space, instead it just shows
hardcoded 6 Mbit/s. But pktlog firmware facility provides per peer tx
statistics
From: Anilkumar Kolli
Add tx stats supoort for QCA988X.
Parse peer stats from pktlog packets and update the tx rate
information per STA.
This way user space can query about transmit rate with iw.
Anilkumar Kolli (2):
ath10k: move pktlog_filter out of ath10k_debug
ath10k: add per peer tx stat
On 2017-11-20 17:40, Kalle Valo wrote:
Peter Oh writes:
On 11/06/2017 01:02 AM, Sven Eckelmann wrote:
On Montag, 6. November 2017 09:28:42 CET Sebastian Gottschall wrote:
Am 06.11.2017 um 09:23 schrieb Sven Eckelmann:
On Sonntag, 5. November 2017 10:22:22 CET Sebastian Gottschall
wrote:
the
From: Anilkumar Kolli
The current firmware 10.4-3.5.1-00035 on QCA9888 supports
TDLS explicit mode, it expects WMI_TDLS_ENABLE_PASSIVE
for tdls setup and WMI_TDLS_DISABLE for tdls teardown.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/wmi.c |3 ++-
1 file changed, 2 i
From: Anilkumar Kolli
Do not allow off channel operations like scans/roc when
there are active TDLS sessions.
The Current firmware 10.4-3.5.1-00035 on QCA9888 does not
supports any offchannel operations on active TDLS sessions,
either driver needs to block the offchannel operation requests
or sh
From: Anilkumar Kolli
To be able to use ath10k_mac_tdls_vif_stations_count() in
ath10k_hw_scan() in the following patch, move the functions
earlier in the file.
This commit is pure code move, no functional changes.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/mac.c | 10
From: Anilkumar Kolli
QCA99X0, QCA9888, QCA9984 supports calibration data in
either OTP or DT/pre-cal file. Current ath10k supports
Calibration data from OTP only.
If caldata is loaded from DT/pre-cal file, fetching board id
and applying calibration parameters like tx power gets failed.
error l
From: Anilkumar Kolli
Per STA tx bitrate info is filled from peer stats.
Export per sta txrate info to cfg80211/nl80211
Signed-off-by: Anilkumar Kolli
---
v2:
* address Kalle's comments
drivers/net/wireless/ath/ath10k/debugfs_sta.c | 13 +
1 file changed, 13 insertions(+)
diff
From: Anilkumar Kolli
Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Peer stats are enabled through 'WMI_SERVICE_PEER_STATS',
From: Anilkumar Kolli
Per STA tx bitrate info is filled from peer stats.
Export per sta txrate info to cfg80211/nl80211
Signed-off-by: Anilkumar Kolli
---
v2:
* addressed kalle's comments
drivers/net/wireless/ath/ath10k/debugfs_sta.c | 13 +
1 file changed, 13 insertions(+)
di
From: Anilkumar Kolli
This patch series adds support for tx bitrate using
.sta_statistics callback.
tx bitrate tested on QCA4019 using iw.
Anilkumar Kolli (2):
ath10k: add per peer htt tx stats support for 10.4
ath10k: add support for per sta tx bitrate
drivers/net/wireless/ath/ath10k/co
From: Anilkumar Kolli
Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Peer stats are enabled through 'WMI_SERVICE_PEER_STATS',
From: Anilkumar Kolli
Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Peer stats are enabled through 'WMI_SERVICE_PEER_STATS',
From: Anilkumar Kolli
This patch series adds support for tx bitrate using
.sta_statistics callback.
tx bitrate tested on QCA4019 using iw.
Anilkumar Kolli (2):
ath10k: add per peer htt tx stats support for 10.4
ath10k: add support for per sta tx bitrate
drivers/net/wireless/ath/ath10k/co
From: Anilkumar Kolli
This patch series adds support for tx bitrate using
.sta_statistics callback.
tx bitrate tested on QCA4019 using iw.
Anilkumar Kolli (2):
ath10k: add per peer htt tx stats support for 10.4
ath10k: add support for per sta tx bitrate
drivers/net/wireless/ath/ath10k/co
On 2016-10-12 10:29, Valo, Kalle wrote:
writes:
From: Anilkumar Kolli
Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Pe
From: Anilkumar Kolli
Per STA tx bitrate info is filled from peer stats.
Export per sta txrate info to cfg80211/nl80211
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/debugfs_sta.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/net/wireless/ath
From: Anilkumar Kolli
Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS'
event, Firmware sends one HTT event for every four PPDUs.
HTT payload has success pkts/bytes, failed pkts/bytes, retry
pkts/bytes and rate info per ppdu.
Peer stats are enabled through 'WMI_SERVICE_PEER_STATS',
From: Anilkumar Kolli
This patch series adds support for tx bitrate using
.sta_statistics callback.
tx bitrate tested on QCA4019 using iw.
Anilkumar Kolli (2):
ath10k: add per peer htt tx stats support for 10.4
ath10k: add support for per sta tx bitrate
drivers/net/wireless/ath/ath10k/co
From: Anilkumar Kolli
During offchannel scan, iw survey dump shows wrong values.
Fix this by assigning cycle counter wranarround type for
QCA9888 and QCA9884, they share same config with QCA4019.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/core.c |2 ++
1 file change
From: Anilkumar Kolli
QCA9888 shares the same configuration with QCA99X0
with NSS=2.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/core.c | 26 ++
drivers/net/wireless/ath/ath10k/hw.c |9 +
drivers/net/wireless/ath/ath10k/hw.h |
From: Anilkumar Kolli
rtc_state_cold_reset_mask is unused in ath10k_hw_regs.
instead fixed delays are used.
Signed-off-by: Anilkumar Kolli
---
drivers/net/wireless/ath/ath10k/hw.c |3 ---
drivers/net/wireless/ath/ath10k/hw.h |2 --
2 files changed, 5 deletions(-)
diff --git a/drivers/
From: Anilkumar Kolli
It is observed that while loading and unloading ath10k modules
in an infinite loop, before ath10k_core_start() completion HTT
rx frames are received, while processing these frames,
dereferencing the arvifs list code is getting hit before
initilizing the arvifs list, causing
From: Anilkumar Kolli
It is observed that, we are disabling the packet log if we write same
value to the pktlog_filter for the second time. Always enable pktlogs
on non zero filter.
Fixes: 90174455ae05 ("ath10k: add support to configure pktlog filter")
Cc: sta...@vger.kernel.org
Signed-off-by: A
From: Anilkumar Kolli
It is observed that, we are disabling the packet log if we write same
value to the pktlog_filter for the second time. Always enable pktlogs
on non zero filter.
Fixes: 90174455ae05 ("ath10k: add support to configure pktlog filter")
Signed-off-by: Anilkumar Kolli
---
driver
From: Anilkumar Kolli
To enable per peer stats feature we are reducing the number of peers.
Firmware has introduced tx stats feature. We have memory limitation in
firmware to add these additional bytes.
These are the new variables introduced in the firmware.
=
From: Anilkumar Kolli
This patch disables PCI PS for QCA988X and QCA99X0, Since PCI PS is
validated for QCA6174, let it be enabled only for QCA6174. It would be
better to execute PCI PS related functions only for the supported devices.
PCI time out issue is observed with QCA99X0 on x86 platform,
44 matches
Mail list logo