]>
git.ipfire.org Git - thirdparty/iw.git/log
Johannes Berg [Thu, 29 Mar 2012 09:05:04 +0000 (11:05 +0200)]
update version to 3.4
The networking merges for 3.4 are done and
there are no outstanding API changes, so
release iw version 3.4.
Johannes Berg [Mon, 26 Mar 2012 09:15:49 +0000 (11:15 +0200)]
extend help framework
Make it possible to print the help for a specific set of
commands, e.g. "iw help wowlan" or "iw help wowlan enable".
Chun-Yeow Yeoh [Sun, 4 Mar 2012 17:41:46 +0000 (01:41 +0800)]
iw: Add support of setting non-forwarding entity in Mesh
This patch creates a new mesh parameter known as mesh_fwding. Mesh node will become
non-forwarding entity if this parameter is set to 0. By default, it is set as 1.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Johannes Berg [Mon, 26 Mar 2012 09:09:24 +0000 (11:09 +0200)]
update nl80211.h
Pontus Fuchs [Mon, 19 Mar 2012 19:25:05 +0000 (20:25 +0100)]
Fix typo in print_iface_handler.
print_iface_handler printed the interface type at the phy number.
Johannes Berg [Tue, 13 Mar 2012 08:48:23 +0000 (09:48 +0100)]
shorten TX/RX frame type output
Simon Wunderlich [Sat, 28 Jan 2012 16:25:35 +0000 (17:25 +0100)]
iw: remove ifdefs for mcs mask
These are enums, not defines. Therefore the ifdef check can never be
true.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Johannes Berg [Thu, 16 Feb 2012 08:42:00 +0000 (09:42 +0100)]
update nl80211.h
Chun-Yeow Yeoh [Thu, 8 Dec 2011 18:25:15 +0000 (10:25 -0800)]
iw: allow setting mesh mcast-rate
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Johannes Berg [Tue, 17 Jan 2012 13:07:16 +0000 (14:07 +0100)]
update version to 3.3
The merge window for 3.3 is open, so
it will be feature-complete now.
Antonio Quartulli [Sun, 8 Jan 2012 11:39:26 +0000 (12:39 +0100)]
iw: add support for NL80211_CMD_DEL_STATION event
Actually iw event does not recognise the NL80211_CMD_DEL_STATION event. This
patch makes it print the appropriate message.
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Johannes Berg [Wed, 14 Dec 2011 14:08:34 +0000 (15:08 +0100)]
parse NL80211_ATTR_FEATURE_FLAGS
Simon Wunderlich [Wed, 30 Nov 2011 15:56:35 +0000 (16:56 +0100)]
iw: add HT options for ibss
Allow to set a specific HT mode for ibss_join.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Johannes Berg [Wed, 14 Dec 2011 14:03:55 +0000 (15:03 +0100)]
update nl80211.h
Johannes Berg [Wed, 7 Dec 2011 08:08:40 +0000 (09:08 +0100)]
whitespace cleanups
Nick Black [Wed, 7 Dec 2011 08:04:29 +0000 (09:04 +0100)]
whitespace cleanups
Nick Black [Wed, 7 Dec 2011 08:03:34 +0000 (09:03 +0100)]
use signed int where negative values are used
Simon Wunderlich [Fri, 18 Nov 2011 13:20:46 +0000 (14:20 +0100)]
iw: add support for NoAck per tid
This adds support for the new NoAck feature in nl80211/mac80211
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Johannes Berg [Tue, 6 Dec 2011 12:37:12 +0000 (13:37 +0100)]
update nl80211.h
Ben Greear [Mon, 28 Nov 2011 18:40:22 +0000 (10:40 -0800)]
iw: Support ht-capability overrides mask.
Let user know which capabilities are supported.
Johannes Berg [Thu, 24 Nov 2011 18:46:24 +0000 (19:46 +0100)]
update nl80211.h
Johannes Berg [Thu, 17 Nov 2011 16:28:56 +0000 (17:28 +0100)]
remove NLVERSION from Makefile
It's unused and causes errors with older pkg-config.
Yoni Divinsky [Wed, 16 Nov 2011 12:55:11 +0000 (14:55 +0200)]
iw: fix wifi wmm ie print function
When printing the acm bit of the wifi wmm ie, the incorrect bit
was being printed.
Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Bjarke Istrup Pedersen [Mon, 14 Nov 2011 10:12:19 +0000 (11:12 +0100)]
always use libnl 3.2 as 3.2, not 3.0
With libnl 3.2, both LIBNL3FOUND and LIBNL3xFOUND
might become true, leading to errors. Disable the
former if the latter is found.
Gilles Espinasse [Fri, 11 Nov 2011 23:04:38 +0000 (00:04 +0100)]
fix compilation against libnl-3.x
Add configuration to compile against 3.1 and 3.2 without breaking 3.0
That's a bit of mess with version on .pc file and the part which belong or not to the shared lib name.
libnl-genl-3.1 is broken and can't be used
Starting from 3.2.0, I could have used libnl-genl-3.0.pc file like in patch V1 and not hardcode adding libnl-genl-3 into LIBS
I consider this a matter of tast for now, coded like previous versions that can't use that way to code.
Added an echo to display against which libnl version iw is compiled.
That particulary help me to test with various versions because of the mess on .pc file version as libnl>=3.2.0 has again pc file version with 3.0 number.
Removed the version_check part instead of extending blindly for the new versions.
That was mostly dead code because prior check on NLLIBNAME not empty already care.
The only case where that could matter would be using something stupid like
NLLIBNAME=foo make
Compilation tested to work against
- libnl-2.0
- libnl-3.0
- libnl-3.1
- libnl-3.2.0
- libnl-3.2.2
Tested to fail without a libnl .pc file
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Johannes Berg [Fri, 11 Nov 2011 08:17:13 +0000 (09:17 +0100)]
Revert "Fix linking with libnl-3"
This reverts commit
15bc193a926ec67e25de175f7dfe45df8cbd3e9a .
This commit broke compiling against libnl 3.0 which
numerous distributions ship.
Johannes Berg [Thu, 10 Nov 2011 14:25:53 +0000 (15:25 +0100)]
use genl_ctrl_resolve()
This simplifies the code quite a bit since
we don't need an nl_cache or nl_family.
Gilles Espinasse [Tue, 8 Nov 2011 08:09:43 +0000 (09:09 +0100)]
Fix linking with libnl-3
iw3.2 fail to link libnl-3.2.2 with this error
/usr/bin/ld: cannot find -lnl-genl
Contrary to previous libnl version, on v3 there is a dedicated libnl-genl-3.0.pc file
Simply use that.
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Felix Fietkau [Mon, 7 Nov 2011 17:49:51 +0000 (18:49 +0100)]
iw: fix regression in tx power validation
Only bail out if the last character is *not* \0
Johannes Berg [Fri, 4 Nov 2011 10:48:12 +0000 (11:48 +0100)]
update version to 3.2
With the merge window closing, and net having been
merged, no more changes are expected in kernel 3.2
that add API, so we can release iw 3.2.
Johannes Berg [Fri, 4 Nov 2011 10:53:18 +0000 (11:53 +0100)]
print out AP-side uAPSD support
Johannes Berg [Fri, 4 Nov 2011 10:51:05 +0000 (11:51 +0100)]
print PMKSA candidate event
For now without the data in it.
Helmut Schaa [Tue, 18 Oct 2011 09:18:27 +0000 (11:18 +0200)]
iw: show STA flags in station dump
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Johannes Berg [Thu, 27 Oct 2011 19:37:35 +0000 (21:37 +0200)]
update nl80211.h
Johannes Berg [Fri, 21 Oct 2011 12:36:20 +0000 (14:36 +0200)]
print wiphy idx in iface info
Johannes Berg [Sun, 16 Oct 2011 15:04:37 +0000 (17:04 +0200)]
SSID printing: escape space at beginning end, backslash
To make SSID printing point out spaces at the beginning
and end explicitly escape them with \x20. Also escape
the backslash itself so that it's unambiguous.
Johannes Berg [Thu, 13 Oct 2011 17:50:38 +0000 (19:50 +0200)]
print PHY membership selector only for membership rates
802.11 states
... each BSS membership selector contained in the
BSSMembershipSelectorSet parameter is encoded as an octet with
the MSB (bit 7) set to 1, and bits 6 through 0 are set to the
encoded value for the selector as found in Table 7-26a (e.g.: an
HT PHY BSS membership selector ...)"
Christian Lamparter [Tue, 11 Oct 2011 11:15:25 +0000 (13:15 +0200)]
iw: fix HT PHY BSS Membership selector value encoding
IEEE 802.11n 7.3.2.2 extended the supported rate IE to
support a special encoding for HT rate support.
iw needs to be updated in order to recognize
the magic value and parse it accordingly.
e.g.:
> Extended supported rates: 63.5*
now becomes:
> Extended supported rates: HT*
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Johannes Berg [Wed, 5 Oct 2011 15:38:39 +0000 (17:38 +0200)]
show supported ciphers
Johannes Berg [Tue, 4 Oct 2011 12:00:47 +0000 (14:00 +0200)]
print roam capability
Johannes Berg [Tue, 4 Oct 2011 11:59:42 +0000 (13:59 +0200)]
update nl80211.h
Yegor Yefremov [Thu, 21 Jul 2011 15:06:17 +0000 (15:06 +0000)]
iw: add libnl-3.0 support
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Javier Cardona [Wed, 10 Aug 2011 00:03:30 +0000 (17:03 -0700)]
support for setting RANN interval and mesh gate
Johannes Berg [Sat, 3 Sep 2011 07:14:07 +0000 (09:14 +0200)]
update nl80211.h
Johannes Berg [Wed, 20 Jul 2011 11:32:49 +0000 (13:32 +0200)]
fix bug in version.sh
Johannes Berg [Fri, 15 Jul 2011 21:13:59 +0000 (23:13 +0200)]
add remain-on-channel
Johannes Berg [Tue, 12 Jul 2011 11:08:37 +0000 (13:08 +0200)]
new wowlan triggers/info
Johannes Berg [Tue, 12 Jul 2011 11:03:23 +0000 (13:03 +0200)]
add set_rekey_offload cmd
Johannes Berg [Fri, 15 Jul 2011 21:07:46 +0000 (23:07 +0200)]
update nl80211.h
Johannes Berg [Wed, 29 Jun 2011 11:20:31 +0000 (13:20 +0200)]
more verbose output for interface combinations
Johannes Berg [Thu, 9 Jun 2011 18:55:44 +0000 (20:55 +0200)]
a little bit of P2P parsing
Johannes Berg [Thu, 9 Jun 2011 18:36:59 +0000 (20:36 +0200)]
scan: print MS OUI as what it is
Johannes Berg [Thu, 9 Jun 2011 18:34:59 +0000 (20:34 +0200)]
scan: print WPS UUID
Jo-Philipp Wich [Sun, 22 May 2011 13:09:51 +0000 (15:09 +0200)]
iw: Fix calculation of fractional multicast rates
Due to missing brackets around the "(int) rate * 10" expression
the float value of "rate" is converted to an integer first and
then multiplied which results for example in "50" instead of the
expected "55" for a give rate of 5.5 Mbps, resulting in an invalid
argument error from iw.
This patch simply puts the multiplication expression in brackets,
so that the type cast is performed on the result and not the
first operand.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Johannes Berg [Fri, 13 May 2011 14:53:51 +0000 (16:53 +0200)]
show interface combinations
Johannes Berg [Tue, 24 May 2011 15:48:54 +0000 (08:48 -0700)]
update nl80211.h
There was a merge timing issue with some
patches so the WoWLAN attributes were
renumbered.
Johannes Berg [Tue, 12 Apr 2011 11:04:50 +0000 (13:04 +0200)]
wowlan support
Johannes Berg [Mon, 9 May 2011 15:08:26 +0000 (17:08 +0200)]
update nl80211.h
Johannes Berg [Thu, 28 Apr 2011 17:41:04 +0000 (19:41 +0200)]
validate tx power argument is a number
Paul Stewart [Thu, 28 Apr 2011 16:38:41 +0000 (18:38 +0200)]
Add station BSS params to iw output
Signed-off-by: Paul Stewart <pstew@google.com>
Johannes Berg [Thu, 28 Apr 2011 16:35:00 +0000 (18:35 +0200)]
update nl80211.h
Sujith Manoharan [Wed, 27 Apr 2011 04:10:30 +0000 (09:40 +0530)]
iw: Clarify bitrate mask documentation
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Johannes Berg [Wed, 20 Apr 2011 13:41:54 +0000 (15:41 +0200)]
print frame TX status event
Sean Robinson [Thu, 17 Mar 2011 14:58:41 +0000 (07:58 -0700)]
Add send callbacks with optional debug handler
libnl supports callbacks for send and recv. This patch enables callbacks
for sent messages and uses the debug callback for the --debug option, as
the recv callbacks do.
Signed-off-by: Sean Robinson <seankrobinson@gmail.com>
Johannes Berg [Wed, 2 Mar 2011 13:45:32 +0000 (14:45 +0100)]
fix frequency parsing
Johannes Berg [Thu, 24 Feb 2011 14:11:57 +0000 (15:11 +0100)]
report IBSS RSN
Johannes Berg [Mon, 21 Feb 2011 21:12:54 +0000 (22:12 +0100)]
use nla_type
Johannes Berg [Fri, 4 Feb 2011 12:29:39 +0000 (13:29 +0100)]
version 0.9.22
* bugfixes
* P2P information
* 4addr support
* WDS support
* IBSS improvements
* mesh improvements, support for mesh join/leave
* parse MMIC failure event
Jouni Malinen [Fri, 4 Feb 2011 12:28:23 +0000 (13:28 +0100)]
iw: parse michael MIC failure event
Add code to iw to parse the MMIC failure
event and print out the cause and key
information.
Johannes Berg [Mon, 17 Jan 2011 15:46:03 +0000 (16:46 +0100)]
add more command names
Bruno Randolf [Tue, 11 Jan 2011 00:51:23 +0000 (09:51 +0900)]
iw: Add signal average to station dump information
Print station signal average in station dump.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Felix Fietkau [Tue, 11 Jan 2011 00:51:18 +0000 (09:51 +0900)]
iw: add multicast rates to IBSS join
Add multicast rates to IBSS join command.
This patch comes from OpenWRT.
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Felix Fietkau [Tue, 11 Jan 2011 00:51:12 +0000 (09:51 +0900)]
iw: Add channel busy time to survey
Print channel busy time in survey dump.
This patch comes from OpenWRT.
Fixed up for unsigned values.
[Johannes: fixed up for compiler warnings]
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Felix Fietkau [Tue, 11 Jan 2011 00:51:07 +0000 (09:51 +0900)]
iw: survey: Mark frequency in use
Survey: Mark frequency in use according to NL80211_SURVEY_INFO_IN_USE.
This patch comes from OpenWRT.
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Johannes Berg [Thu, 6 Jan 2011 15:00:49 +0000 (16:00 +0100)]
add unprot events
Johannes Berg [Thu, 6 Jan 2011 14:58:58 +0000 (15:58 +0100)]
parse NL80211_ATTR_CQM_PKT_LOSS_EVENT
Bruno Randolf [Wed, 22 Dec 2010 01:54:39 +0000 (10:54 +0900)]
iw: Add antenna configuration
Add command to set the antenna configuration (iw phyX set antenna ...) and
include available antennas and antenna setting in wiphy information.
iw phyX info:
Available Antennas: TX 0x3 RX 0x3
Configured Antennas: TX 0x1 RX 0x1
iw phyX set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Johannes Berg [Tue, 4 Jan 2011 11:13:59 +0000 (12:13 +0100)]
update nl80211.h
Luis R. Rodriguez [Mon, 20 Dec 2010 17:02:33 +0000 (12:02 -0500)]
iw: fix country print
Using a %s to pring the alpha2 may give us some extra
data which will spew out when printing. Fix it by only
printing the two characters we know we will get.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Johannes Berg [Fri, 3 Dec 2010 08:18:42 +0000 (09:18 +0100)]
mesh: add support for NL80211_MESHCONF_ELEMENT_TTL
Johannes Berg [Thu, 2 Dec 2010 07:58:57 +0000 (08:58 +0100)]
mesh: support join/leave
Johannes Berg [Tue, 14 Dec 2010 12:06:54 +0000 (13:06 +0100)]
update nl80211.h
Johannes Berg [Thu, 2 Dec 2010 07:53:04 +0000 (08:53 +0100)]
mesh: allow setting multiple parameters at once
Johannes Berg [Thu, 2 Dec 2010 07:44:07 +0000 (08:44 +0100)]
mesh: allow getting all parameters at once
Johannes Berg [Wed, 24 Nov 2010 16:08:52 +0000 (17:08 +0100)]
Revert "iw: Add antenna configuration commands"
This reverts commit
024630b2c03054d0f48ffdf13fc3b05cb505cc98 .
Depended on fucked up stuff.
Johannes Berg [Wed, 24 Nov 2010 16:08:36 +0000 (17:08 +0100)]
Revert "update nl80211.h"
This reverts commit
73e5583c5c9ae8cfc466773cfda8431c268b41e8 .
Fucked up stuff there.
Johannes Berg [Wed, 24 Nov 2010 07:16:47 +0000 (08:16 +0100)]
allow sub-command selection
fixes the plink_action vs. vlan bug
Bruno Randolf [Wed, 17 Nov 2010 09:32:36 +0000 (18:32 +0900)]
iw: Add antenna configuration commands
Add command to set the antenna configuration (iw phyX set antenna ...) and
include antenna setting in wiphy information (iw phyX info).
iw phyX set antenna all | <bitmap> | <tx bitmap> <rx bitmap>
Signed-off-by: Bruno Randolf <br1@einfach.org>
Johannes Berg [Tue, 23 Nov 2010 08:43:03 +0000 (09:43 +0100)]
update nl80211.h
Bruno Randolf [Wed, 27 Oct 2010 06:02:37 +0000 (15:02 +0900)]
iw: Add ibss join parameter for beacon interval
NL80211_ATTR_BEACON_INTERVAL already exists, we just have to use it.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Johannes Berg [Tue, 26 Oct 2010 11:50:10 +0000 (13:50 +0200)]
genl: include genetlink.h explicitly
Luis R. Rodriguez [Mon, 18 Oct 2010 18:37:56 +0000 (11:37 -0700)]
iw: print out eirp for triplets on scan
When debugging country IE parsing when scanning you will not see this:
Channels [1 - 1] @ 14 dBm
Channels [2 - 10] @ 21 dBm
Channels [11 - 11] @ 14 dBm
Instead of this:
Channels [1 - 1]
Channels [2 - 10]
Channels [11 - 11
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Johannes Berg [Wed, 13 Oct 2010 15:52:15 +0000 (17:52 +0200)]
events: allow relative timestamps
Johannes Berg [Fri, 8 Oct 2010 14:44:54 +0000 (16:44 +0200)]
clean up some messages
Bill Jordan [Fri, 8 Oct 2010 14:37:39 +0000 (10:37 -0400)]
iw: new command to set the wds peer
Add command to set the wds peer bssid using the newly
implemented NL80211_CMD_SET_WDS_PEER.
Signed-off-by: Bill Jordan <bjordan@rajant.com>
Bruno Randolf [Wed, 6 Oct 2010 09:35:50 +0000 (18:35 +0900)]
iw: print station retry counters
Signed-off-by: Bruno Randolf <br1@einfach.org>
Johannes Berg [Thu, 7 Oct 2010 08:55:37 +0000 (10:55 +0200)]
update nl80211.h
Jochen Friedrich [Sat, 2 Oct 2010 17:40:39 +0000 (19:40 +0200)]
iw: Implement set 4addr.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Johannes Berg [Wed, 29 Sep 2010 20:32:17 +0000 (22:32 +0200)]
event parsing: remove PARSE_BEACON_CHAN
This makes us fall through the function
thus invoking the fflush(), and gets rid
of the pointless macro.
Johannes Berg [Wed, 29 Sep 2010 12:48:26 +0000 (14:48 +0200)]
fix some indentation
pointed out by Ben Greear