]>
git.ipfire.org Git - thirdparty/iw.git/log
Johannes Berg [Thu, 19 Jul 2012 06:36:05 +0000 (08:36 +0200)]
allow wdev in place of dev
In new kernels, any virtual interface also has a wdev
identifier, allow using that in place of interface idx.
Johannes Berg [Thu, 19 Jul 2012 09:50:50 +0000 (11:50 +0200)]
pass idby argument to all functions
Johannes Berg [Thu, 19 Jul 2012 06:17:39 +0000 (08:17 +0200)]
update interface info for non-netdev wdevs
Johannes Berg [Thu, 19 Jul 2012 06:15:41 +0000 (08:15 +0200)]
add basics for identify wireless devs
Johannes Berg [Thu, 19 Jul 2012 06:13:32 +0000 (08:13 +0200)]
update nl80211.h
Vladimir Kondratiev [Thu, 5 Jul 2012 11:36:21 +0000 (14:36 +0300)]
Fix print channel number for 60g
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Vladimir Kondratiev [Thu, 5 Jul 2012 11:36:20 +0000 (14:36 +0300)]
introduce GCMP cipher
Recognize cipher suite selector and print "GCMP" name
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Vladimir Kondratiev [Thu, 5 Jul 2012 11:36:19 +0000 (14:36 +0300)]
Prefer 32-bit bitrate
If 32-bit bitrate reported, use it. Otherwise, use 16-bit one.
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Johannes Berg [Fri, 6 Jul 2012 06:45:40 +0000 (08:45 +0200)]
update nl80211.h
Chun-Yeow Yeoh [Wed, 4 Jul 2012 16:26:33 +0000 (00:26 +0800)]
iw: allow setting mesh proactive tree building mode related parameters
This patch allows the setting of following mesh parameters:
mesh_hwmp_active_path_to_root_timeout
mesh_hwmp_root_interval
mesh_hwmp_confirmation_interval
Also ensure the TU is printed for mesh_hwmp_rann_interval.
Johannes Berg [Fri, 6 Jul 2012 06:56:27 +0000 (08:56 +0200)]
update nl80211.h
Johannes Berg [Fri, 6 Jul 2012 06:50:00 +0000 (08:50 +0200)]
add (optional) hwsim code
As an example, the hwsim code was useful, but for normal
distros it's not. Allow developers to build hwsim code
into the iw binary with "make HWSIM=y".
Johannes Berg [Mon, 25 Jun 2012 07:45:50 +0000 (09:45 +0200)]
update version to 3.5
I'm a bit late, kernel 3.5 is already around the corner.
Johannes Berg [Tue, 19 Jun 2012 13:38:01 +0000 (15:38 +0200)]
update command list and add script
Add a small one-line sed script to make
updating the command list easier and of
course use it once.
Johannes Berg [Thu, 7 Jun 2012 07:14:15 +0000 (09:14 +0200)]
update manpage for "iw help command"
Johannes Berg [Thu, 7 Jun 2012 07:10:32 +0000 (09:10 +0200)]
update nl80211 to kernel 3.5 version
Guido Trentalancia [Sat, 2 Jun 2012 23:46:45 +0000 (01:46 +0200)]
iw: fix the Makefile for multiple libnl installations
All different versions of libnl can cohexist on a system
(libnl-1, libnl-2, libnl-3.0, libnl-3.1 and libnl-3.2).
When multiple versions are installed only link against
the highest versioned one, otherwise there might be
unpredictable results (including segmentation faults):
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bd7f7d in genl_unregister () from /usr/lib64/libnl-genl.so.3
(gdb) where
This patch fixes the Makefile to link against only one
of the libraries, the highest version found.
Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
Chun-Yeow Yeoh [Mon, 14 May 2012 15:23:48 +0000 (23:23 +0800)]
iw: print out Mesh ID on scan
Print out the mesh id element which is useful for a mesh node
to scan for an existing mesh network
Ashok Nagarajan [Wed, 18 Apr 2012 18:00:45 +0000 (11:00 -0700)]
iw: Show Toffset on station dump
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Ashok Nagarajan [Wed, 18 Apr 2012 18:00:44 +0000 (11:00 -0700)]
iw: Allow setting RSSI threshold for peering
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Ashok Nagarajan [Fri, 13 Apr 2012 00:45:12 +0000 (17:45 -0700)]
iw: add mesh conf parameter "mesh_sync_offset_max_neighor"
Maximum number of neighbors to synchronize to for mesh default synchronization
method
Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
Ashok Nagarajan [Fri, 13 Apr 2012 00:45:13 +0000 (17:45 -0700)]
iw: allow user to enable vendor synchronization when joining mesh
Currently this option just disables the default neighbor offset
synchronization method. It is useful for testing.
Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
Johannes Berg [Fri, 13 Apr 2012 15:38:28 +0000 (17:38 +0200)]
update nl80211.h
Pontus Fuchs [Wed, 4 Apr 2012 08:46:04 +0000 (10:46 +0200)]
Add support for channel info in interface info
Print the current channel freq and type if that information is
present in the NL80211_CMD_GET_INTERFACE response.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
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