]> git.ipfire.org Git - thirdparty/iw.git/log
thirdparty/iw.git
11 years agoalign TDLS output
Johannes Berg [Wed, 10 Apr 2013 09:44:18 +0000 (11:44 +0200)] 
align TDLS output

11 years agorefactor bitrate printing
Johannes Berg [Wed, 10 Apr 2013 09:42:41 +0000 (11:42 +0200)] 
refactor bitrate printing

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.

11 years agoiw: display DFS regulatory domain
Zefir Kurtisi [Wed, 3 Apr 2013 12:51:56 +0000 (14:51 +0200)] 
iw: display DFS regulatory domain

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
11 years agoiw: don't print DFS states of disabled frequencies
Zefir Kurtisi [Tue, 26 Mar 2013 11:09:49 +0000 (12:09 +0100)] 
iw: don't print DFS states of disabled frequencies

Also, fix indentation.

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
11 years agoiw: support split wiphy dump
Johannes Berg [Thu, 14 Feb 2013 15:32:53 +0000 (16:32 +0100)] 
iw: support split wiphy dump

This adds support for the new split wiphy dump,
it only uses it for "iw list", not for "info"
though, so far. Using it for "info" would mean
querying the kernel capability first and then
using get/dump (with filter) depending on that.

11 years agoupdate nl80211.h
Johannes Berg [Mon, 25 Mar 2013 15:31:26 +0000 (16:31 +0100)] 
update nl80211.h

11 years agofix TCP wowlan bug
Johannes Berg [Tue, 26 Feb 2013 12:54:32 +0000 (13:54 +0100)] 
fix TCP wowlan bug

11 years agooverride default buffer size
Johannes Berg [Wed, 20 Feb 2013 11:54:44 +0000 (12:54 +0100)] 
override default buffer size

With the TCP WoWLAN, larger messages may be needed.
To simplify the code, always use larger messages.

11 years agoiw: add packet offset information for wowlan pattern
Amitkumar Karwar [Wed, 20 Feb 2013 00:44:44 +0000 (16:44 -0800)] 
iw: add packet offset information for wowlan pattern

Now user can provide packet offset along with the pattern in
"iw wowlan" command. Default offset will be 0 when it is not
provided.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
11 years agosupport TCP wakeup API
Johannes Berg [Tue, 19 Feb 2013 22:31:27 +0000 (23:31 +0100)] 
support TCP wakeup API

Since the configuration is complex, read it from a file.

11 years agoiw: print DFS states for channels if available
Simon Wunderlich [Fri, 8 Feb 2013 17:16:22 +0000 (18:16 +0100)] 
iw: print DFS states for channels if available

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
11 years agoiw: add radar detect widths to phy info
Simon Wunderlich [Fri, 8 Feb 2013 17:16:21 +0000 (18:16 +0100)] 
iw: add radar detect widths to phy info

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
11 years agoupdate nl80211.h
Johannes Berg [Mon, 18 Feb 2013 22:18:22 +0000 (23:18 +0100)] 
update nl80211.h

11 years agoiw: Add VHT info in link query
Yogesh Ashok Powar [Wed, 13 Feb 2013 04:38:33 +0000 (10:08 +0530)] 
iw: Add VHT info in link query

Show VHT mcs, nss and bw, if present, in
iw dev link.

Eg.,
Connected to 10:6f:3f:4d:94:b4 (on mlan0)
        SSID: 122920
        freq: 5180
        RX: 0 bytes (0 packets)
        TX: 88 bytes (1 packets)
        signal: -51 dBm
        tx bitrate: 650.0 MBit/s VHT-MCS 7 80Mhz short GI VHT-NSS 2

        bss flags:
        dtim period:    1
        beacon int:     100

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
[also fix existing Mhz to MHz]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoiw: Print beacon-loss-event string.
Ben Greear [Thu, 31 Jan 2013 05:31:29 +0000 (21:31 -0800)] 
iw: Print beacon-loss-event string.

There are now three possible threshold events.  The old
code assumed only above/below RSSI, and printed out 'low'
for beacon-loss-event.

Fix that, and do so with a switch statement so the compiler
can warn if the enum is further expanded w/out updating this
code.

Shorten 'connection quality monitor' to CQM to keep total string
relatively short.

Signed-off-by: Ben Greear <greearb@candelatech.com>
11 years agoiw: add support for link-specific mesh power modes
Marco Porsch [Fri, 18 Jan 2013 12:05:32 +0000 (13:05 +0100)] 
iw: add support for link-specific mesh power modes

The different power modes of links towards neighbor STA can be
read using
iw <dev> station get
-or-
iw <dev> station dump

The different power modes shown are:
- mesh local PS mode
- mesh peer PS mode
- mesh non-peer PS mode
where the local PS mode is "our" mode towards the neighbor, the
peer PS mode is the neighbor's mode towards us, and the non-peer
PS mode is the neighbor's non-peer PS mode as indicated in
beacons and management frames.

The local PS mode can be modified for each neighbor using
iw <dev> station set <mac-addr> mesh_power_mode
<active|light|deep>

Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Ivan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
11 years agoiw: add default mesh Power Mode and Awake Window to mesh config
Marco Porsch [Fri, 18 Jan 2013 12:05:31 +0000 (13:05 +0100)] 
iw: add default mesh Power Mode and Awake Window to mesh config

The default mesh power mode is the power mode that will be
assigned to newly established peer links.
The awake window is the duration the local STA will stay awake
after sending its own beacon in PS mode.
Both values can be modified as part of the mesh params.

Signed-off-by: Marco Porsch <marco@cozybit.com>
Signed-off-by: Ivan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
11 years agoiw: add beacon interval and DTIM period parameters to mesh join
Marco Porsch [Fri, 18 Jan 2013 12:05:30 +0000 (13:05 +0100)] 
iw: add beacon interval and DTIM period parameters to mesh join

Set the beacon interval and DTIM period with the mesh join
command:
iw <dev> mesh join <meshid> beacon-interval <time in TUs>
dtim-period <value>

Signed-off-by: Marco Porsch <marco@cozybit.com>
11 years agoupdate nl80211.h
Johannes Berg [Tue, 29 Jan 2013 11:54:23 +0000 (12:54 +0100)] 
update nl80211.h

11 years agoadd "auth" command
Johannes Berg [Fri, 25 Jan 2013 13:54:58 +0000 (14:54 +0100)] 
add "auth" command

This isn't helpful for real usage, but can be useful
for debugging authentication issues.

11 years agofix PMKSA event
Johannes Berg [Tue, 22 Jan 2013 12:06:18 +0000 (13:06 +0100)] 
fix PMKSA event

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoiw: print capability info for DMG (60GHz band)
Vladimir Kondratiev [Mon, 17 Dec 2012 11:31:36 +0000 (13:31 +0200)] 
iw: print capability info for DMG (60GHz band)

On the DMG (Directed Multi-Gigabit) aka 60GHz band, capability info
defined by the 802.11ad spec differently from non-DMG one

Detect DMG band by frequency, spec says DMG if above 45 GHz;
parse and print accordingly

For the non-DMG capability info, add more bits as defined in the
IEEE802.11-2012

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoupdate version to 3.8 v3.8
Johannes Berg [Fri, 21 Dec 2012 09:24:20 +0000 (10:24 +0100)] 
update version to 3.8

The merge window is going to close soon so
release version 3.8 with nl80211.h from that
tree.

11 years agoupdate nl80211.h
Johannes Berg [Fri, 21 Dec 2012 09:24:03 +0000 (10:24 +0100)] 
update nl80211.h

11 years agoupdate for VHT channel config
Johannes Berg [Tue, 20 Nov 2012 15:52:12 +0000 (16:52 +0100)] 
update for VHT channel config

11 years agoupdate nl80211.h
Johannes Berg [Wed, 28 Nov 2012 22:02:03 +0000 (23:02 +0100)] 
update nl80211.h

11 years agoparse a few more IEs
Johannes Berg [Wed, 21 Nov 2012 14:18:19 +0000 (15:18 +0100)] 
parse a few more IEs

11 years agoprint VHT operation IE
Johannes Berg [Tue, 20 Nov 2012 16:26:14 +0000 (17:26 +0100)] 
print VHT operation IE

11 years agoallow multiple command variants
Johannes Berg [Tue, 20 Nov 2012 12:47:49 +0000 (13:47 +0100)] 
allow multiple command variants

11 years agoiw: add set_mcast_rate command support
Antonio Quartulli [Wed, 7 Nov 2012 09:58:03 +0000 (10:58 +0100)] 
iw: add set_mcast_rate command support

This patch adds the support to run the set_mcast_rate() command on
adhoc and mesh_point vifs. With this command it is possible to tune
the bitrate to use when sending group frames. This command can be used
even if the vifs has already joint the ibss/mesh network.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
11 years agoupdate nl80211.h
Johannes Berg [Mon, 19 Nov 2012 14:41:07 +0000 (15:41 +0100)] 
update nl80211.h

11 years agoadd a helper command to print command IDs
Johannes Berg [Thu, 15 Nov 2012 14:15:10 +0000 (15:15 +0100)] 
add a helper command to print command IDs

sometimes knowing the command ID for a given
nl80211 command or knowing the command for a
given number is needed, add a helper for that

11 years agoClarify that unit is ms for ROC command
Pontus Fuchs [Tue, 13 Nov 2012 11:09:22 +0000 (12:09 +0100)] 
Clarify that unit is ms for ROC command

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
11 years agoprint VHT capabilities
Johannes Berg [Mon, 12 Nov 2012 12:07:18 +0000 (13:07 +0100)] 
print VHT capabilities

11 years agoiw: print the ssid when requesting device info
Antonio Quartulli [Fri, 9 Nov 2012 18:46:53 +0000 (19:46 +0100)] 
iw: print the ssid when requesting device info

The GET_INTERFACE command receives also the ssid as part of the reply.
This patch makes iw print the ssid together with the other information
when issuing the "iw dev $vif info" command.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
11 years agoparse more extended capabilities
Johannes Berg [Fri, 9 Nov 2012 16:07:36 +0000 (17:07 +0100)] 
parse more extended capabilities

update the list to 802.11-2012, except for the
service interval granularity

11 years agoadd P2P Device handling primitives
Johannes Berg [Tue, 6 Nov 2012 10:31:55 +0000 (11:31 +0100)] 
add P2P Device handling primitives

For testing, it can be useful to be able to use the
P2P Device manually, add the ability to do that.

11 years agoupdate command list
Johannes Berg [Tue, 6 Nov 2012 10:31:00 +0000 (11:31 +0100)] 
update command list

11 years agofix bug in iftype_name()
Johannes Berg [Tue, 6 Nov 2012 10:29:13 +0000 (11:29 +0100)] 
fix bug in iftype_name()

If the kernel has been updated, and iw hasn't
but was recompiled, the function can return
NULL which isn't desirable. Fix it.

11 years agoiw: add support for the forced AP scan
Antonio Quartulli [Fri, 26 Oct 2012 14:41:48 +0000 (16:41 +0200)] 
iw: add support for the forced AP scan

This patch introduces the "ap-force" argument to the scan command.
This argument instructs mac80211 to trigger the scan even if the
interface is configured as AP and has already started beaconing (the
driver may not support such operation)

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
11 years agoiw: show AP scan capability
Antonio Quartulli [Fri, 26 Oct 2012 14:41:47 +0000 (16:41 +0200)] 
iw: show AP scan capability

If the wireless driver supports the AP scan capability (this can be
seen by checking NL80211_FEATURE_AP_SCAN) iw has to show it.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
11 years agoupdate nl80211.h
Johannes Berg [Fri, 26 Oct 2012 14:47:51 +0000 (16:47 +0200)] 
update nl80211.h

11 years agoiw: remove unnecessary variable in find_mesh_param
Ashok Nagarajan [Tue, 9 Oct 2012 20:29:26 +0000 (13:29 -0700)] 
iw: remove unnecessary variable in find_mesh_param

Also stick to coding style. use "strcmp ( , ) == 0" instead of (!strcmp( , ))

Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
11 years agoiw: add lowpri and flush scan operands
Sam Leffler [Wed, 17 Oct 2012 19:20:04 +0000 (12:20 -0700)] 
iw: add lowpri and flush scan operands

Add lowpri (low priority) and flush operands to the scan cmd to
request the equivalent flags be set in the scan request. Note
these are applied regardless of the feature flags to support
testing drivers that do not implement them.

Signed-off-by: Sam Leffler <sleffler@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
11 years agoupdate nl80211.h
Johannes Berg [Tue, 16 Oct 2012 18:35:53 +0000 (20:35 +0200)] 
update nl80211.h

11 years agoupdate version to 3.7 v3.7
Johannes Berg [Fri, 3 Aug 2012 10:30:28 +0000 (12:30 +0200)] 
update version to 3.7

The merge window for 3.7 closed, so all the
features are in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoprint more feature flags
Johannes Berg [Tue, 16 Oct 2012 18:12:37 +0000 (20:12 +0200)] 
print more feature flags

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoadd P2P Device
Johannes Berg [Tue, 16 Oct 2012 18:09:38 +0000 (20:09 +0200)] 
add P2P Device

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoupdate nl80211.h
Johannes Berg [Tue, 16 Oct 2012 18:08:34 +0000 (20:08 +0200)] 
update nl80211.h

to kernel 3.7 (from rc1)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoupdate version to 3.6 v3.6
Johannes Berg [Fri, 3 Aug 2012 10:30:28 +0000 (12:30 +0200)] 
update version to 3.6

The merge window for 3.6 closed, so all the
features are in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agoprint wdev id in event info
Johannes Berg [Wed, 25 Jul 2012 14:24:07 +0000 (16:24 +0200)] 
print wdev id in event info

11 years agoallow wdev in place of dev
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.

11 years agopass idby argument to all functions
Johannes Berg [Thu, 19 Jul 2012 09:50:50 +0000 (11:50 +0200)] 
pass idby argument to all functions

11 years agoupdate interface info for non-netdev wdevs
Johannes Berg [Thu, 19 Jul 2012 06:17:39 +0000 (08:17 +0200)] 
update interface info for non-netdev wdevs

11 years agoadd basics for identify wireless devs
Johannes Berg [Thu, 19 Jul 2012 06:15:41 +0000 (08:15 +0200)] 
add basics for identify wireless devs

11 years agoupdate nl80211.h
Johannes Berg [Thu, 19 Jul 2012 06:13:32 +0000 (08:13 +0200)] 
update nl80211.h

11 years agoFix print channel number for 60g
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>
11 years agointroduce GCMP cipher
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>
11 years agoPrefer 32-bit bitrate
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>
11 years agoupdate nl80211.h
Johannes Berg [Fri, 6 Jul 2012 06:45:40 +0000 (08:45 +0200)] 
update nl80211.h

11 years agoiw: allow setting mesh proactive tree building mode related parameters
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.

11 years agoupdate nl80211.h
Johannes Berg [Fri, 6 Jul 2012 06:56:27 +0000 (08:56 +0200)] 
update nl80211.h

11 years agoadd (optional) hwsim code
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".

11 years agoupdate version to 3.5 v3.5
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.

11 years agoupdate command list and add script
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.

11 years agoupdate manpage for "iw help command"
Johannes Berg [Thu, 7 Jun 2012 07:14:15 +0000 (09:14 +0200)] 
update manpage for "iw help command"

11 years agoupdate nl80211 to kernel 3.5 version
Johannes Berg [Thu, 7 Jun 2012 07:10:32 +0000 (09:10 +0200)] 
update nl80211 to kernel 3.5 version

11 years agoiw: fix the Makefile for multiple libnl installations
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>
11 years agoiw: print out Mesh ID on scan
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

12 years agoiw: Show Toffset on station dump
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>
12 years agoiw: Allow setting RSSI threshold for peering
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>
12 years agoiw: add mesh conf parameter "mesh_sync_offset_max_neighor"
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>
12 years agoiw: allow user to enable vendor synchronization when joining mesh
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>
12 years agoupdate nl80211.h
Johannes Berg [Fri, 13 Apr 2012 15:38:28 +0000 (17:38 +0200)] 
update nl80211.h

12 years agoAdd support for channel info in interface info
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>
12 years agoupdate version to 3.4 v3.4
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.

12 years agoextend help framework
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".

12 years agoiw: Add support of setting non-forwarding entity in Mesh
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>
12 years agoupdate nl80211.h
Johannes Berg [Mon, 26 Mar 2012 09:09:24 +0000 (11:09 +0200)] 
update nl80211.h

12 years agoFix typo in print_iface_handler.
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.

12 years agoshorten TX/RX frame type output
Johannes Berg [Tue, 13 Mar 2012 08:48:23 +0000 (09:48 +0100)] 
shorten TX/RX frame type output

12 years agoiw: remove ifdefs for mcs mask
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>
12 years agoupdate nl80211.h
Johannes Berg [Thu, 16 Feb 2012 08:42:00 +0000 (09:42 +0100)] 
update nl80211.h

12 years agoiw: allow setting mesh mcast-rate
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>
12 years agoupdate version to 3.3 v3.3
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.

12 years agoiw: add support for NL80211_CMD_DEL_STATION event
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>
12 years agoparse NL80211_ATTR_FEATURE_FLAGS
Johannes Berg [Wed, 14 Dec 2011 14:08:34 +0000 (15:08 +0100)] 
parse NL80211_ATTR_FEATURE_FLAGS

12 years agoiw: add HT options for ibss
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>
12 years agoupdate nl80211.h
Johannes Berg [Wed, 14 Dec 2011 14:03:55 +0000 (15:03 +0100)] 
update nl80211.h

12 years agowhitespace cleanups
Johannes Berg [Wed, 7 Dec 2011 08:08:40 +0000 (09:08 +0100)] 
whitespace cleanups

12 years agowhitespace cleanups
Nick Black [Wed, 7 Dec 2011 08:04:29 +0000 (09:04 +0100)] 
whitespace cleanups

12 years agouse signed int where negative values are used
Nick Black [Wed, 7 Dec 2011 08:03:34 +0000 (09:03 +0100)] 
use signed int where negative values are used

12 years agoiw: add support for NoAck per tid
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>
12 years agoupdate nl80211.h
Johannes Berg [Tue, 6 Dec 2011 12:37:12 +0000 (13:37 +0100)] 
update nl80211.h

12 years agoiw: Support ht-capability overrides mask.
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.

12 years agoupdate nl80211.h
Johannes Berg [Thu, 24 Nov 2011 18:46:24 +0000 (19:46 +0100)] 
update nl80211.h

12 years agoremove NLVERSION from Makefile
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.

12 years agoiw: fix wifi wmm ie print function
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>
12 years agoalways use libnl 3.2 as 3.2, not 3.0
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.

12 years agofix compilation against libnl-3.x
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>