* How to obtain Link Quality information
@ 2016-07-13 14:10 Iñaki Pascual
2016-07-13 14:40 ` Ben Greear
0 siblings, 1 reply; 6+ messages in thread
From: Iñaki Pascual @ 2016-07-13 14:10 UTC (permalink / raw)
To: ath10k
Hi everyone,
I am trying to get link quality information from an 802.11ac interface
and it looks like the only way is to use "iw wlan2 scan". I don't like
this solution as it scans all channels and takes a while.
If I try "cat /proc/net/wireless" (this would be my preferred option)
the output is empty and I am not able to get this information with any
other tool. Below is the output for some commands I tried.
I am using kernel 4.2 with ath10k and Candela firmware 10.1 on a
Qualcomm Atheros QCA988x
Any ideas on how can I get the link quality information?
Thanks,
Inaki
===============================
monet@sc229:~$ ethtool -i wlan2
driver: ath10k_pci
version: 4.2.0+
firmware-version: 10.1.467-ct-_fH-016-b797ef5
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
monet@sc229:~$
===============================
monet@sc229:~$ cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets |
Missed | WE
face | tus | link level noise | nwid crypt frag retry misc |
beacon | 22
monet@sc229:~$
===============================
monet@sc229:~$ iwconfig wlan2
wlan2 IEEE 802.11abgn ESSID:"SC228SC229"
Mode:Ad-Hoc Frequency:5.24 GHz Cell: 8E:CE:DE:4F:86:95
Tx-Power=17 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
monet@sc229:~$
===============================
monet@sc229:~$ iw wlan2 link
Joined IBSS 8e:ce:de:4f:86:95 (on wlan2)
SSID: SC228SC229
freq: 5240
monet@sc229:~$
===============================
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to obtain Link Quality information
2016-07-13 14:10 How to obtain Link Quality information Iñaki Pascual
@ 2016-07-13 14:40 ` Ben Greear
2016-07-13 15:37 ` Iñaki Pascual
0 siblings, 1 reply; 6+ messages in thread
From: Ben Greear @ 2016-07-13 14:40 UTC (permalink / raw)
To: Iñaki Pascual, ath10k
On 07/13/2016 07:10 AM, Iñaki Pascual wrote:
> Hi everyone,
>
> I am trying to get link quality information from an 802.11ac interface and it looks like the only way is to use "iw wlan2 scan". I don't like this solution as
> it scans all channels and takes a while.
>
> If I try "cat /proc/net/wireless" (this would be my preferred option) the output is empty and I am not able to get this information with any other tool. Below
> is the output for some commands I tried.
>
> I am using kernel 4.2 with ath10k and Candela firmware 10.1 on a Qualcomm Atheros QCA988x
>
> Any ideas on how can I get the link quality information?
Did you try:
iw dev wlan0 station dump
If you want tx rate reporting, you need to run my driver patches as well
as my firmware, but rx-rate should be reported with stock driver
(and stock firmware, for that matter)...
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to obtain Link Quality information
2016-07-13 14:40 ` Ben Greear
@ 2016-07-13 15:37 ` Iñaki Pascual
2016-07-13 15:44 ` Ben Greear
0 siblings, 1 reply; 6+ messages in thread
From: Iñaki Pascual @ 2016-07-13 15:37 UTC (permalink / raw)
To: ath10k
Hi Ben,
yes, I tried, it shows signal value but not link quality :(
onet@sc229:~$ iw dev wlan2 station dump
Station 04:f0:21:18:26:af (on wlan2)
inactive time: 65 ms
rx bytes: 3102896
rx packets: 87403
tx bytes: 0
tx packets: 0
tx retries: 0
tx failed: 0
signal: -63 dBm
signal avg: -62 dBm
tx bitrate: 6.0 MBit/s
rx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
connected time: 4476 seconds
monet@sc229:~$
Thanks,
Iñaki
On 13/07/16 16:40, Ben Greear wrote:
> On 07/13/2016 07:10 AM, Iñaki Pascual wrote:
>> Hi everyone,
>>
>> I am trying to get link quality information from an 802.11ac
>> interface and it looks like the only way is to use "iw wlan2 scan". I
>> don't like this solution as
>> it scans all channels and takes a while.
>>
>> If I try "cat /proc/net/wireless" (this would be my preferred option)
>> the output is empty and I am not able to get this information with
>> any other tool. Below
>> is the output for some commands I tried.
>>
>> I am using kernel 4.2 with ath10k and Candela firmware 10.1 on a
>> Qualcomm Atheros QCA988x
>>
>> Any ideas on how can I get the link quality information?
>
> Did you try:
>
> iw dev wlan0 station dump
>
> If you want tx rate reporting, you need to run my driver patches as well
> as my firmware, but rx-rate should be reported with stock driver
> (and stock firmware, for that matter)...
>
> Thanks,
> Ben
>
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to obtain Link Quality information
2016-07-13 15:37 ` Iñaki Pascual
@ 2016-07-13 15:44 ` Ben Greear
2016-07-14 15:41 ` Yeoh Chun-Yeow
0 siblings, 1 reply; 6+ messages in thread
From: Ben Greear @ 2016-07-13 15:44 UTC (permalink / raw)
To: Iñaki Pascual, ath10k
On 07/13/2016 08:37 AM, Iñaki Pascual wrote:
> Hi Ben,
>
> yes, I tried, it shows signal value but not link quality :(
Link 'quality' is mostly just a made-up number anyway. Signal quality
is probably the most similar value, but tx and rx bitrates give you the
best idea of how RF is performing in my opinion. Those rates are only
accurate when sending at least modest amounts of packets though.
Thanks,
Ben
>
> onet@sc229:~$ iw dev wlan2 station dump
> Station 04:f0:21:18:26:af (on wlan2)
> inactive time: 65 ms
> rx bytes: 3102896
> rx packets: 87403
> tx bytes: 0
> tx packets: 0
> tx retries: 0
> tx failed: 0
> signal: -63 dBm
> signal avg: -62 dBm
> tx bitrate: 6.0 MBit/s
> rx bitrate: 6.0 MBit/s
> authorized: yes
> authenticated: yes
> preamble: long
> WMM/WME: yes
> MFP: no
> TDLS peer: no
> connected time: 4476 seconds
> monet@sc229:~$
>
> Thanks,
>
> Iñaki
>
> On 13/07/16 16:40, Ben Greear wrote:
>> On 07/13/2016 07:10 AM, Iñaki Pascual wrote:
>>> Hi everyone,
>>>
>>> I am trying to get link quality information from an 802.11ac interface and it looks like the only way is to use "iw wlan2 scan". I don't like this solution as
>>> it scans all channels and takes a while.
>>>
>>> If I try "cat /proc/net/wireless" (this would be my preferred option) the output is empty and I am not able to get this information with any other tool. Below
>>> is the output for some commands I tried.
>>>
>>> I am using kernel 4.2 with ath10k and Candela firmware 10.1 on a Qualcomm Atheros QCA988x
>>>
>>> Any ideas on how can I get the link quality information?
>>
>> Did you try:
>>
>> iw dev wlan0 station dump
>>
>> If you want tx rate reporting, you need to run my driver patches as well
>> as my firmware, but rx-rate should be reported with stock driver
>> (and stock firmware, for that matter)...
>>
>> Thanks,
>> Ben
>>
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to obtain Link Quality information
2016-07-13 15:44 ` Ben Greear
@ 2016-07-14 15:41 ` Yeoh Chun-Yeow
2016-07-14 15:44 ` Ben Greear
0 siblings, 1 reply; 6+ messages in thread
From: Yeoh Chun-Yeow @ 2016-07-14 15:41 UTC (permalink / raw)
To: Ben Greear; +Cc: Iñaki Pascual, ath10k
tx rate reporting for Candela firmware is working? Any changes go into
the QCA released firmware?
---
Chun-Yeow
On Wed, Jul 13, 2016 at 11:44 PM, Ben Greear <greearb@candelatech.com> wrote:
> On 07/13/2016 08:37 AM, Iñaki Pascual wrote:
>>
>> Hi Ben,
>>
>> yes, I tried, it shows signal value but not link quality :(
>
>
> Link 'quality' is mostly just a made-up number anyway. Signal quality
> is probably the most similar value, but tx and rx bitrates give you the
> best idea of how RF is performing in my opinion. Those rates are only
> accurate when sending at least modest amounts of packets though.
>
> Thanks,
> Ben
>
>
>
>>
>> onet@sc229:~$ iw dev wlan2 station dump
>> Station 04:f0:21:18:26:af (on wlan2)
>> inactive time: 65 ms
>> rx bytes: 3102896
>> rx packets: 87403
>> tx bytes: 0
>> tx packets: 0
>> tx retries: 0
>> tx failed: 0
>> signal: -63 dBm
>> signal avg: -62 dBm
>> tx bitrate: 6.0 MBit/s
>> rx bitrate: 6.0 MBit/s
>> authorized: yes
>> authenticated: yes
>> preamble: long
>> WMM/WME: yes
>> MFP: no
>> TDLS peer: no
>> connected time: 4476 seconds
>> monet@sc229:~$
>>
>> Thanks,
>>
>> Iñaki
>>
>> On 13/07/16 16:40, Ben Greear wrote:
>>>
>>> On 07/13/2016 07:10 AM, Iñaki Pascual wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> I am trying to get link quality information from an 802.11ac interface
>>>> and it looks like the only way is to use "iw wlan2 scan". I don't like this
>>>> solution as
>>>> it scans all channels and takes a while.
>>>>
>>>> If I try "cat /proc/net/wireless" (this would be my preferred option)
>>>> the output is empty and I am not able to get this information with any other
>>>> tool. Below
>>>> is the output for some commands I tried.
>>>>
>>>> I am using kernel 4.2 with ath10k and Candela firmware 10.1 on a
>>>> Qualcomm Atheros QCA988x
>>>>
>>>> Any ideas on how can I get the link quality information?
>>>
>>>
>>> Did you try:
>>>
>>> iw dev wlan0 station dump
>>>
>>> If you want tx rate reporting, you need to run my driver patches as well
>>> as my firmware, but rx-rate should be reported with stock driver
>>> (and stock firmware, for that matter)...
>>>
>>> Thanks,
>>> Ben
>>>
>>
>>
>> _______________________________________________
>> ath10k mailing list
>> ath10k@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
>>
>
>
> --
> Ben Greear <greearb@candelatech.com>
> Candela Technologies Inc http://www.candelatech.com
>
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to obtain Link Quality information
2016-07-14 15:41 ` Yeoh Chun-Yeow
@ 2016-07-14 15:44 ` Ben Greear
0 siblings, 0 replies; 6+ messages in thread
From: Ben Greear @ 2016-07-14 15:44 UTC (permalink / raw)
To: Yeoh Chun-Yeow; +Cc: Iñaki Pascual, ath10k
On 07/14/2016 08:41 AM, Yeoh Chun-Yeow wrote:
> tx rate reporting for Candela firmware is working? Any changes go into
> the QCA released firmware?
It is working in CT firmware (when using my patched ath10k driver to
support the feature), and I have no way to get changes into
upstream QCA firmware.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-14 15:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-13 14:10 How to obtain Link Quality information Iñaki Pascual
2016-07-13 14:40 ` Ben Greear
2016-07-13 15:37 ` Iñaki Pascual
2016-07-13 15:44 ` Ben Greear
2016-07-14 15:41 ` Yeoh Chun-Yeow
2016-07-14 15:44 ` Ben Greear
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.