All of lore.kernel.org
 help / color / mirror / Atom feed
* 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@lists.infradead.org

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

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.