aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iwinfo
Commit message (Collapse)AuthorAgeFilesLines
* iwinfo: add phyname attribute, this is useful to group networks by radio phyJo-Philipp Wich2013-06-0912-3/+95
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libiwinfo: ignore log messages from wpa_supplicant while scanningJo-Philipp Wich2013-06-091-16/+47
| | | | | | | | | | | | | | | 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
* iwinfo: only consider joined bss when finding current operating frequency, ↵Jo-Philipp Wich2013-05-122-2/+3
| | | | | | fixes spurious misreporting of frequencies in ad-hoc mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix iwinfo_hardware() return value if chip id is not foundJo-Philipp Wich2013-04-282-7/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add hw database fileJo-Philipp Wich2013-04-261-0/+55
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txtJo-Philipp Wich2013-04-264-83/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on ↵Jo-Philipp Wich2013-04-243-5/+7
| | | | | | some architectures git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: print info of all existing wireless ifaces when cli is called ↵Jo-Philipp Wich2013-04-152-2/+29
| | | | | | without arguments git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix frequency/channel and channel/frequency conversions to properly ↵Jo-Philipp Wich2013-04-092-13/+20
| | | | | | implement 802.11j git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libiwinfo: reset ioctl_socket fd in iwinfo_close(), fixes random failures ↵Jo-Philipp Wich2013-02-032-7/+9
| | | | | | with multiple cycles of iwinfo_finish() / iwinfo_backend() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: don't use the txpower value from debugfs for now, it does not match ↵Jo-Philipp Wich2013-01-042-1/+3
| | | | | | the values reported via wext git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [libiwinfo-lua] don't depend on luaJohn Crispin2013-01-041-1/+1
| | | | | | | | 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
* iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer ↵Jo-Philipp Wich2013-01-024-71/+243
| | | | | | nl80211 tx power from debugfs before querying wext git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: properly initialize memory of global nl80211_state, fixes random ↵Jo-Philipp Wich2012-10-292-1/+3
| | | | | | 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
* packages: sort network related packages into package/network/Felix Fietkau2012-10-1024-0/+13178
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73