Jo-Philipp Wich
4314ac851c
iwinfo: add phyname attribute, this is useful to group networks by radio phy
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-09 14:39:14 +00:00
Jo-Philipp Wich
113981176c
libiwinfo: ignore log messages from wpa_supplicant while scanning
...
wpa_supplicant may send log and event messages intermixed with the
expected scan results. This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.
Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format. Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz). Insure receive buffer is
null-terminated.
Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-09 14:39:09 +00:00
Jo-Philipp Wich
333261901e
iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 01:12:56 +00:00
Jo-Philipp Wich
fde7fcd36c
iwinfo: fix iwinfo_hardware() return value if chip id is not found
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 14:04:39 +00:00
Jo-Philipp Wich
6aef46b32b
iwinfo: add hw database file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:21:01 +00:00
Jo-Philipp Wich
9e66c65f62
iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 13:20:15 +00:00
Jo-Philipp Wich
9e42ab43f2
iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-24 14:44:20 +00:00
Jo-Philipp Wich
e8b3e8e7f2
iwinfo: print info of all existing wireless ifaces when cli is called without arguments
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 15:00:16 +00:00
Jo-Philipp Wich
64e2eeb91c
iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:37:55 +00:00
Jo-Philipp Wich
4f1d9c7067
libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-03 12:03:24 +00:00
Jo-Philipp Wich
7e0eb5f61c
iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 14:08:08 +00:00
John Crispin
902905286e
[libiwinfo-lua] don't depend on lua
...
Delete +lua from libiwinfo-lua.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 09:32:06 +00:00
Jo-Philipp Wich
5dcb273a97
iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:29 +00:00
Jo-Philipp Wich
ee9636ff5b
iwinfo: properly initialize memory of global nl80211_state, fixes random libnl-tiny assertions when using nl80211_probe() on not supported devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 22:11:57 +00:00
Felix Fietkau
abe70b1494
packages: sort network related packages into package/network/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 12:32:29 +00:00