aboutsummaryrefslogtreecommitdiffstats
path: root/iw.h
Commit message (Collapse)AuthorAgeFilesLines
* iw: add randomise option for sched_scanLuciano Coelho2015-03-171-1/+1
| | | | | | | | | Like with normal scans, we can randomise the MAC address sent out in active scheduled scans. Add the randomise option to sched_scan (and net-detect) parsing code. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add support for active scheduled scanLuciano Coelho2015-03-171-1/+1
| | | | | | | | | Add options to explicitly use active or passive scans on schedule scans (and net-detect). If neither active nor passive parameters are passed, the default is to do active scans with the wildcard SSID. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: move generic sched scan parsing code out of net detectLuciano Coelho2015-03-171-0/+4
| | | | | | | | | The scheduled scan structure is pretty much the same as the net-detect WoWLAN trigger's. Move the bulk of the command line parsing code to a generic function so we can reuse it for sched_scan. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: print hexdump when vendor eventJanusz Dziedzic2014-09-031-0/+1
| | | | | | | print hexdump when vendor event and -f requested Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: sync frequency to channel mapping with kernelBruno Randolf2013-09-301-1/+1
| | | | | | | | Use ieee80211_frequency_to_channel() and ieee80211_channel_to_frequency() as in the current kernel. This is necessary to properly print the channel numbers for 4.9GHz channels which can be used in Japan. Signed-off-by: Bruno Randolf <br1@einfach.org>
* iw: dump station rx bit rate informationFelix Fietkau2013-07-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* refactor bitrate printingJohannes Berg2013-04-101-0/+1
| | | | | | I updated only "iw link" for VHT, so refactor it now to also get "iw station dump" etc. updated and not make this mistake again in the future.
* iw: add radar detect widths to phy infoSimon Wunderlich2013-02-181-0/+1
| | | | Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
* print VHT capabilitiesJohannes Berg2012-11-121-0/+1
|
* pass idby argument to all functionsJohannes Berg2012-07-191-1/+2
|
* add basics for identify wireless devsJohannes Berg2012-07-191-0/+2
|
* iw: Support ht-capability overrides mask.Ben Greear2011-11-291-0/+2
| | | | Let user know which capabilities are supported.
* use genl_ctrl_resolve()Johannes Berg2011-11-101-2/+1
| | | | | This simplifies the code quite a bit since we don't need an nl_cache or nl_family.
* iw: add libnl-3.0 supportYegor Yefremov2011-09-071-1/+2
| | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
* wowlan supportJohannes Berg2011-05-091-0/+3
|
* allow sub-command selectionJohannes Berg2010-11-241-4/+11
| | | | fixes the plink_action vs. vlan bug
* events: allow relative timestampsJohannes Berg2010-10-131-1/+3
|
* remove _ISOC99_SOURCE againJohannes Berg2010-09-241-4/+0
| | | | | | It didn't help FC8, and I never had complaints about other systems, so let's just leave it as it was before to not break something else ...
* define _ISOC99_SOURCEJohannes Berg2010-09-221-0/+4
| | | | | | unfortunately netlink/object.h has a bug that leads to many warnings ("extern inline") so we can't use -std=c99 fully.
* improve connect vs. notification race behaviourJohannes Berg2010-06-091-3/+4
| | | | | | This doesn't fully fix it, but should fix it in the case there's only one application (iw) trying to connect.
* add hex parser utilJohannes Berg2010-03-241-0/+1
|
* make command/section non-constJohannes Berg2010-01-111-4/+4
| | | | It being const seems to be causing problems on ppc64.
* completely unify MCS parsingJohannes Berg2009-12-081-1/+1
| | | | | | Luis left two different ways to parse the MCS set, one of which was completely endianness broken. Fix this up by using the correct one in both places.
* HT fixupsJohannes Berg2009-12-081-1/+1
|
* iw: bring together common ht capability parsingLuis R. Rodriguez2009-12-081-0/+1
| | | | | | | | Both 'iw list' and 'iw dev wlan0 scan' now share the same HT capability parsing code making them consistent. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* iw: share mimumum ampdu spacing and maximum ampdu length printsLuis R. Rodriguez2009-12-081-0/+2
| | | | | | | | | This brings together the two separate compuations for ampdu spacing and length to help being more consistant with terminology and with the spec. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* iw: fix 'iw list' MCS set printLuis R. Rodriguez2009-12-081-0/+2
| | | | | | | | The MCS set was being printed backward, fix this and while at it add a helper to share with scanning. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* add support for showing NL80211_ATTR_SUPPORTED_COMMANDSMarcel Holtmann2009-11-151-0/+1
|
* separate commands into sectionsJohannes Berg2009-08-241-8/+30
| | | | | | The ad-hoc way of parsing the command "tree" didn't really work out, so separate the commands better into sections and parse by that.
* Revert "magically set interface up for connect/join"Johannes Berg2009-08-161-4/+0
| | | | | | | | | | This reverts commit ded1f078ef5283e49f1863e9160a6650566c0954. I decided that doing things magically isn't a good idea. Conflicts: iw.h
* add link commandJohannes Berg2009-07-251-1/+11
|
* magically set interface up for connect/joinJohannes Berg2009-07-111-0/+4
|
* make connect able to waitJohannes Berg2009-07-081-0/+9
|
* make it possible to pass WEP keys to connect/joinJohannes Berg2009-07-081-0/+2
|
* print scan info on eventJohannes Berg2009-05-241-0/+2
|
* add ability to document commands, document event/helpJohannes Berg2009-05-051-7/+9
|
* use C99 initialiser for cmd structJohannes Berg2009-05-051-4/+12
|
* split out event handling codeJohannes Berg2009-05-051-0/+2
|
* print statusJohannes Berg2009-05-051-0/+1
|
* print nicer auth/assoc/deauth/disassoc eventsJohannes Berg2009-05-051-0/+2
|
* generate version.c instead of version.oJohannes Berg2009-04-211-0/+1
|
* allow more command aliasing, dev/phy commandsJohannes Berg2009-04-191-5/+5
|
* remove "raw" thingJohannes Berg2009-04-081-1/+0
|
* add functionality to wait for eventsJohannes Berg2009-04-081-0/+2
|
* prepare for more generic commandsJohannes Berg2009-04-081-1/+15
|
* iw: add regulatory events notification parsingLuis R. Rodriguez2009-03-111-0/+2
| | | | Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
* iw: rename nl_handle to nl_sock for libnl-2.0Pat Erley2009-01-291-6/+6
| | | | | | | | Upstream has renamed nl_handle to nl_sock. Update iw to the new name and add #define for libnl-1.1. Signed-off-by: Pat Erley <pat-lkml@erley.org> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* include netlink/netlink.hJohannes Berg2009-01-211-0/+1
| | | | | also fixes the nl_handle vs. nl_sock issue that has been plaguing people trying to use libnl from git
* allow linking against libnl 2.0Pat Erley2008-12-131-0/+4
| | | | | | | | | | This converts iw to use libnl-2, and adds compatibility with libnl-1. There is not currently a good way to detect the libnl version during compilation, as the versioning in the netlink/version.h is defined as a string "2.0" rather than a major and a minor number, so we must detect it in the Makefile. Signed-off-by: Pat Erley <pat-lkml@erley.org>
* add and use ARRAY_SIZEJohannes Berg2008-12-081-0/+2
|