All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Iñaki Pascual" <ipascual@cttc.cat>
To: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: How to obtain Link Quality information
Date: Wed, 13 Jul 2016 16:10:50 +0200	[thread overview]
Message-ID: <57864BEA.4090202@cttc.cat> (raw)

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

             reply	other threads:[~2016-07-13 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 14:10 Iñaki Pascual [this message]
2016-07-13 14:40 ` How to obtain Link Quality information 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57864BEA.4090202@cttc.cat \
    --to=ipascual@cttc.cat \
    --cc=ath10k@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.