aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iwinfo/src
Commit message (Collapse)AuthorAgeFilesLines
* iwinfo: fix string format for country codeHauke Mehrtens2014-07-021-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: update nl80211 api to the latest oneJohn Crispin2014-06-021-140/+1478
| | | | | | | | modified version of http://patchwork.openwrt.org/patch/4533/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add 802.11ac hwmode supportJohn Crispin2014-06-023-3/+13
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add Atheros AR9580 to hardware.txtJohn Crispin2014-06-021-0/+1
| | | | | | Signed-off-by: Stefan Agner <stefan@agner.ch> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing ↵Felix Fietkau2014-05-301-1/+4
| | | | | | | | garbage Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: remove old lua compat macrosFelix Fietkau2014-05-211-31/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: un-export internal api header filesFelix Fietkau2014-05-218-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wl_ops to iwinfo_wl.c, make functions staticFelix Fietkau2014-05-214-145/+88
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move nl80211_ops to iwinfo_nl80211.c, make functions staticFelix Fietkau2014-05-215-313/+281
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move madwifi_ops to iwinfo_madwifi.c, make functions staticFelix Fietkau2014-05-214-144/+85
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: move wext_ops to iwinfo_wext.c, make functions staticFelix Fietkau2014-05-2110-173/+146
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: keep an array of backends, reduce the number of ifdefs and hardcoded ↵Felix Fietkau2014-05-216-52/+35
| | | | | | | | strcmp calls Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: adjust for changed wpa_supplicant control socket pathJo-Philipp Wich2014-05-101-1/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: don't report associations for broadcom wds interfacesHauke Mehrtens2013-11-111-0/+3
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: fix hwmodelist reporting for broadcom wlHauke Mehrtens2013-11-112-5/+59
| | | | | | | | | | Modify the hwmodelist reporting for broadcom devices to include proper reporting of 802.11n support. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: make 'type' visible in wrapped iwinfoJo-Philipp Wich2013-10-181-0/+4
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add Ubiquiti WispStation M5 to hardware.txtGabor Juhos2013-09-241-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: when using nl80211, parse interface combinations instead of ↵Felix Fietkau2013-09-141-9/+57
| | | | | | | | creating/deleting interfaces Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: add phyname attribute, this is useful to group networks by radio phyJo-Philipp Wich2013-06-0911-2/+94
| | | | 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-121-1/+2
| | | | | | 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-281-6/+3
| | | | 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-263-82/+32
| | | | 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-242-4/+6
| | | | | | 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-151-1/+28
| | | | | | 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-091-12/+19
| | | | | | 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-031-5/+7
| | | | | | 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-041-0/+2
| | | | | | the values reported via wext git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer ↵Jo-Philipp Wich2013-01-023-70/+242
| | | | | | 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-291-0/+2
| | | | | | 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-1023-0/+13060
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73