John Crispin
520fe28adf
iwinfo: update nl80211 api to the latest one
...
modified version of http://patchwork.openwrt.org/patch/4533/
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40954
11 years ago
John Crispin
f3aa8a8cf4
iwinfo: add 802.11ac hwmode support
...
In case of .11ac device the hwmode was not properly displayed.
This patch fixes it.
Signed-off-by: Marek Kwaczynski <marek.kwaczynski@tieto.com>
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
SVN-Revision: 40953
11 years ago
John Crispin
8139ba35af
iwinfo: add Atheros AR9580 to hardware.txt
...
Signed-off-by: Stefan Agner <stefan@agner.ch>
SVN-Revision: 40952
11 years ago
Felix Fietkau
72d6a51e64
iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40884
11 years ago
Felix Fietkau
8bd8ecd0c3
iwinfo: remove old lua compat macros
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40816
11 years ago
Felix Fietkau
4c9fc236c9
iwinfo: un-export internal api header files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40815
11 years ago
Felix Fietkau
8c4421ecd6
iwinfo: bump release and start using ABI_VERSION
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40814
11 years ago
Felix Fietkau
12333f4169
iwinfo: move wl_ops to iwinfo_wl.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40813
11 years ago
Felix Fietkau
b5eec473f0
iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40812
11 years ago
Felix Fietkau
6c02355830
iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40811
11 years ago
Felix Fietkau
6e27ecbac7
iwinfo: move wext_ops to iwinfo_wext.c, make functions static
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40810
11 years ago
Felix Fietkau
2d06acd6ac
iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded strcmp calls
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40809
11 years ago
Jo-Philipp Wich
735a03be62
iwinfo: adjust for changed wpa_supplicant control socket path
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40747
11 years ago
Hauke Mehrtens
20d64e929f
iwinfo: don't report associations for broadcom wds interfaces
...
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38746
11 years ago
Hauke Mehrtens
e3a5401fb2
iwinfo: fix hwmodelist reporting for broadcom wl
...
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38745
11 years ago
Jo-Philipp Wich
c8e0c28c15
iwinfo: make 'type' visible in wrapped iwinfo
...
There are several cases within 'luci' that attempt to access the interface
'type' from within the 'type' specific meta tables; however, 'type' is not
currently available there. Replicate the common metadata in the 'type'
specific meta tables.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38448
11 years ago
Gabor Juhos
99d13b09b9
iwinfo: add Ubiquiti WispStation M5 to hardware.txt
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38145
11 years ago
Felix Fietkau
28eceb0343
iwinfo: when using nl80211, parse interface combinations instead of creating/deleting interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37983
11 years ago
Jo-Philipp Wich
bc73ca5619
iwinfo: add phyname attribute, this is useful to group networks by radio phy
...
SVN-Revision: 36889
12 years ago
Jo-Philipp Wich
cb24c37858
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>
SVN-Revision: 36888
12 years ago
Jo-Philipp Wich
d59f8cfa8e
iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
...
SVN-Revision: 36604
12 years ago
Jo-Philipp Wich
f1e214411d
iwinfo: fix iwinfo_hardware() return value if chip id is not found
...
SVN-Revision: 36471
12 years ago
Jo-Philipp Wich
05c1424e87
iwinfo: add hw database file
...
SVN-Revision: 36450
12 years ago
Jo-Philipp Wich
e02d373f90
iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
...
SVN-Revision: 36449
12 years ago
Jo-Philipp Wich
a040ead1c5
iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
...
SVN-Revision: 36417
12 years ago
Jo-Philipp Wich
25ffe0446c
iwinfo: print info of all existing wireless ifaces when cli is called without arguments
...
SVN-Revision: 36339
12 years ago
Jo-Philipp Wich
7ca7bc501e
iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
...
SVN-Revision: 36292
12 years ago
Jo-Philipp Wich
e893d4d9a8
libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures with multiple cycles of iwinfo_finish() / iwinfo_backend()
...
SVN-Revision: 35471
12 years ago
Jo-Philipp Wich
3b7882e775
iwinfo: don't use the txpower value from debugfs for now, it does not match the values reported via wext
...
SVN-Revision: 35007
12 years ago
John Crispin
ff0c7a9ec9
don't depend on lua
...
Delete +lua from libiwinfo-lua.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
SVN-Revision: 35005
12 years ago
Jo-Philipp Wich
1683a146f4
iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext
...
SVN-Revision: 34982
12 years ago
Jo-Philipp Wich
0e3de8eff7
iwinfo: properly initialize memory of global nl80211_state, fixes random libnl-tiny assertions when using nl80211_probe() on not supported devices
...
SVN-Revision: 34003
12 years ago
Felix Fietkau
405e21d167
packages: sort network related packages into package/network/
...
SVN-Revision: 33688
12 years ago