aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* iw: Fix calculation of maximum supported 802.11n data rateHenning Rogge2014-12-121-1/+1
| | | | | | | | Fix typo in calculation, binary AND combination of low byte and high byte is always zero. Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.h and command IDsJohannes Berg2014-11-132-1/+44
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* add WMM tspec capabilityJohannes Berg2014-10-291-0/+2
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: support setting vif MAC during creationBen Greear2014-10-292-2/+20
| | | | | | | | | This saves an extra call to change it later, and will also keep udev from potentially messing with a vif it should not be messing with. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-10-291-1/+14
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* add vendor command to MakefileJohannes Berg2014-10-291-1/+1
| | | | | | Apparently I forgot this when applying the previous commit. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add vendor send commandJanusz Dziedzic2014-10-241-0/+95
| | | | | | | | | | | | | | | This allow to send vendor data to the driver. This command required OUI and SUBCMD parameters. Also optional DATA parameter could be used: cat data.bin | iw wlan0 send oui subcmd - iw wlan0 send oui subcmd file.bin iw wlan0 vendor send oui subcmd 0x00 0x00 0x00 0x1f echo EOF | iw wlan0 vendor send oui subcmd - Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Add mpp get/dump commandsHenning Rogge2014-10-092-1/+85
| | | | | | | | Add the "mpp get" and "mpp dump" command to query to mac80211s mesh proxy path table through nl80211. Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-10-091-0/+6
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update to version 3.17Johannes Berg2014-10-091-1/+1
| | | | | | This means I forgot and am skipping 3.16, too bad. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211 feature list in the codeJohannes Berg2014-10-091-0/+30
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add auto parameter to set distance commandLorenzo Bianconi2014-10-092-18/+27
| | | | | | | | | | | | Add auto parameter to set distance command in order to enable ACK timeout estimation algorithm (dynack). Dynack is automatically disabled setting valid value for coverage class. Currently dynack is supported just by ath9k This patch is based on "configure dynack through mac80211/cfg80211 stack" patchset sent on linux-wireless Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: fix memory leakYegor Yefremov2014-10-091-1/+3
| | | | | | | Close f, when returning before while loop. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: remove double breakYegor Yefremov2014-10-091-1/+0
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Allow basic rates to be configured when joining meshChun-Yeow Yeoh2014-10-091-6/+34
| | | | | | | | | | | This patch adds option to configure basic rates during mesh join. Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com> Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> v2: minor change for upstream v3: fix typo error (Colleen) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Allow user to provide freq during mesh joinChun-Yeow Yeoh2014-10-091-3/+67
| | | | | | | | | | | | Allow user to configure frequency and channel type during mesh join command. Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com> Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> v2: use chandef similar to IBSS (Johannes) v4: make the mesh join command more self-explanatory (Bob Copeland) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-10-091-2/+119
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: print hexdump when vendor eventJanusz Dziedzic2014-09-033-0/+18
| | | | | | | 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: print expected throughput when dumping stationAntonio Quartulli2014-06-031-0/+11
| | | | | Signed-off-by: Antonio Quartulli <antonio@open-mesh.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-06-031-4/+63
| | | | | | | The file is a merge of upstream mac80211 and mac80211-next trees as otherwise iw fails to compile on NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* version 3.15Johannes Berg2014-05-201-1/+1
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: handle DFS CAC time paramJanusz Dziedzic2014-05-132-0/+9
| | | | | | | | Handle DFS CAC time param for iw list/info, iw reg get Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.h to 3.15 versionJohannes Berg2014-05-131-8/+37
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* wowlan: don't require pattern offsetJohannes Berg2014-04-101-6/+7
| | | | | | | Not all kernels have offset support, so don't treat it being absent as an error. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: embrace the Developer Certificate of Origin for contributionsLuis R. Rodriguez2014-03-281-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel started to embrace a light weight development contribution agreement process called the Developer Certificate of Origin (DCO) circa 2004. Attorneys all over the planet have conferred a lot of respect and appreciation for this document and it provides a light weight alternative to cumbersome and controversial Contribution License Agreements (CLAs). Similar to streamlining FOSS licenses we also all stand to gain from streamlining a light weight contribution agreement process for development and in light of this the the Linux Foundation recently has made the DCO a standalone project [0] so that any FOSS project under any FOSS license can take advantage of the same gains. The motivation and intent is documented only currently on my blog post [1]. Lets take advantage of the new shiny DCO and embrace it for contributions. NOTE: Contributions before this commit that still included a Signed-off-by line (presumably out of habit of typing -s with git commands) aren't necessarily covered by this agreement. [0] http://developercertificate.org/ [1] http://www.do-not-panic.com/2014/02/developer-certificate-of-origin.html Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add support to set/get retry limitUjjal Roy2014-03-282-0/+80
| | | | | | | Show the retry limit in phy details and also configure the retry limit. Signed-off-by: Ujjal Roy <royujjal@gmail.com>
* fix RX & TX Antenna Pattern Consistency in VHT capabilitiesMaxime Bizon2014-02-191-2/+2
| | | | Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
* print command name for unknown eventsJohannes Berg2014-01-281-1/+2
|
* iw: add sgi/lgi support to set bitratesJanusz Dziedzic2014-01-241-6/+35
| | | | | | Add possiblity to force SGI/LGI. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
* update nl80211.hJohannes Berg2014-01-241-4/+43
|
* version 3.14Johannes Berg2014-01-241-1/+1
|
* iw: add VHT MCS/NSS set support to set bitratesJanusz Dziedzic2014-01-241-25/+137
| | | | | | | | | | | | mcs-2.4/mcs-5 rename to ht-mcs-2.4/ht-mcs-5 vht-mcs-2.4/vht-mcs-5 added Format for vht-mcs-*, eg: 1:0-9 - set NSS=1 and MCS0-9 2:4,5 - set NSS=2 and MCS4, MCS5 3:1 - set NSS=3 and MCS1 Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
* update command listJohannes Berg2014-01-241-0/+4
|
* listen to vendor eventsJohannes Berg2014-01-241-0/+12
|
* update nl80211.h to kernel 3.14 versionJohannes Berg2014-01-241-5/+86
|
* info: print something for T-DLS supportJohannes Berg2014-01-061-0/+3
|
* version 3.13Johannes Berg2013-12-031-1/+1
| | | | | Seems like I skipped version 3.12, and we already have a bit more than kernel 3.13 will have, but hey.
* iw: Use NL80211_FREQUENCY_ATTR_NO_IR channel attributeIlan Peer2013-11-253-18/+34
| | | | | | | | | | | | | | Align iw with the change in nl80211.h where NL80211_FREQUENCY_ATTR_NO_IBSS and NL80211_FREQUENCY_ATTR_PASSIVE_SCAN were replaced by NL80211_FREQUENCY_ATTR_NO_IR. In case both NL80211_FREQUENCY_ATTR_NO_IR and __NL80211_FREQUENCY_ATTR_NO_IBSS are set, assume that a new kernel is used and use the NO_IR notation, otherwise use the previous notation. This change requires nl80211.h with the new definitions Signed-off-by: Ilan Peer <ilan.peer@intel.com>
* update nl80211.hJohannes Berg2013-11-251-16/+119
|
* iw: add support for 5 and 10 MHz channels in IBSS modeSimon Wunderlich2013-11-131-16/+46
| | | | | | | | | 5/10 MHz requires to send the frequency information as chandef instead of the the old channel type, therfore send the chandef next the channel type (the latter is still used for old kernels). Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
* Don't get iw version from git if there is no .git/Florian Schmaus2013-10-011-1/+1
| | | | | | | | The version.sh script should only try to get the version from git if the source actually resides in a git repository, i.e. .git/ exists. Doing otherwise in a non-git source repo results in git ascending until it finds a .git directory, which will cause problems in some source-based distributions ( https://bugs.gentoo.org/show_bug.cgi?id=482334 ).
* iw: sync frequency to channel mapping with kernelBruno Randolf2013-09-303-22/+41
| | | | | | | | 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: Print out HotSpot2 IE information.Ben Greear2013-08-301-0/+11
| | | | | | | | | Example: HotSpot 2.0 Indication: DGAF: 0 Signed-off-by: Ben Greear <greearb@candelatech.com>
* iw: Print 802.11u roaming consortium IE in scan results.Ben Greear2013-08-301-0/+52
| | | | | | | | | | Example output: 802.11u Roaming Consortium: ANQP OIs: 0 OI 1: 01010101 Signed-off-by: Ben Greear <greearb@candelatech.com>
* iw: Print 802.11u Advertisement IE info in scan results.Ben Greear2013-08-301-0/+33
| | | | | | | | | | | Sample output looks like: 802.11u Advertisement: Query Response Info: 0x7f Query Response Length Limit: 127 ANQP Signed-off-by: Ben Greear <greearb@candelatech.com>
* iw: Print Interworking IE details in scan results.Ben Greear2013-08-301-0/+66
| | | | | | | | | | | | | | | | | Output looks like: 802.11u Interworking: Network Options: 0xf1 Network Type: 1 (Private with Guest) Internet ASRA ESR UESA Venue Group: 2 (Business) Venue Type: 1 HESSID: 00:00:00:00:00:01 Signed-off-by: Ben Greear <greearb@candelatech.com>
* version 3.11Johannes Berg2013-08-291-1/+1
| | | | | We already have more features supported than will be in 3.11 (notably the coalescing support) but that doesn't really matter.
* print single GTKSA/PTKSA capability, TDLS/TPK authJoerg Mayer2013-08-291-0/+5
|
* iw: correction in coalesce condition display messageAmitkumar Karwar2013-08-091-3/+3
| | | | | | | | | NL80211_COALESCE_CONDITION_MATCH is 0 and NL80211_COALESCE_CONDITION_NO_MATCH is 1. Hence this change is required Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com>
* iw: print out mesh configuration element on scanChun-Yeow Yeoh2013-07-261-0/+32
| | | | | | | Print out mesh configuration element which will be useful for decision making whether to join or not join the mesh network. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>