]> git.ipfire.org Git - thirdparty/iw.git/log
thirdparty/iw.git
10 years agoversion 3.11 v3.11
Johannes Berg [Thu, 29 Aug 2013 10:09:39 +0000 (12:09 +0200)] 
version 3.11

We already have more features supported than will be in 3.11
(notably the coalescing support) but that doesn't really matter.

10 years agoprint single GTKSA/PTKSA capability, TDLS/TPK auth
Joerg Mayer [Thu, 29 Aug 2013 10:07:38 +0000 (12:07 +0200)] 
print single GTKSA/PTKSA capability, TDLS/TPK auth

10 years agoiw: correction in coalesce condition display message
Amitkumar Karwar [Mon, 5 Aug 2013 22:06:06 +0000 (15:06 -0700)] 
iw: correction in coalesce condition display message

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>
10 years agoiw: print out mesh configuration element on scan
Chun-Yeow Yeoh [Fri, 12 Jul 2013 11:17:06 +0000 (19:17 +0800)] 
iw: print out mesh configuration element on scan

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>
10 years agoiw: dump station per-chain signal strength information
Felix Fietkau [Thu, 11 Jul 2013 12:20:38 +0000 (14:20 +0200)] 
iw: dump station per-chain signal strength information

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
10 years agoiw: dump station rx bit rate information
Felix Fietkau [Thu, 11 Jul 2013 12:20:37 +0000 (14:20 +0200)] 
iw: dump station rx bit rate information

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
10 years agoiw: add the active monitor flag
Felix Fietkau [Thu, 11 Jul 2013 12:20:39 +0000 (14:20 +0200)] 
iw: add the active monitor flag

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
10 years agoiw: Add support for mesh peer link expiration.
Colleen Twitty [Mon, 8 Jul 2013 17:04:18 +0000 (10:04 -0700)] 
iw: Add support for mesh peer link expiration.

User can configure the peer link expiration time with a
new mesh parameter, mesh_plink_timeout.  This parameter
sets the expiration time, in seconds, for peer links.
After this time, the peer link is expired.  This means the
inactive STA is removed from the list of peers and is not
considered a peer again unless it re-peers.

Signed-off-by: Colleen Twitty <colleen@cozybit.com>
10 years agoiw: add coalesce support
Amitkumar Karwar [Fri, 28 Jun 2013 19:53:45 +0000 (12:53 -0700)] 
iw: add coalesce support

User can configure multiple coalesce rules using 'iw coalesce
enable <config-file>' command. The setting can be cleared using
'iw coalesce disable' command. 'iw coalesce show' displays current
configuration.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
10 years agoiw: use updated structures and enums for packet pattern
Amitkumar Karwar [Fri, 28 Jun 2013 19:53:44 +0000 (12:53 -0700)] 
iw: use updated structures and enums for packet pattern

They are renamed in new nl80211.h so that they can be used for
new feature. This patch uses those updated structures and enums
to make the code look nicer.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
10 years agoupdate nl80211.h
Johannes Berg [Mon, 8 Jul 2013 11:18:42 +0000 (13:18 +0200)] 
update nl80211.h

10 years agoiw: reorder some code in iw_connect to avoid a potential memory leak
John W. Linville [Wed, 26 Jun 2013 15:07:16 +0000 (11:07 -0400)] 
iw: reorder some code in iw_connect to avoid a potential memory leak

iw-3.10/connect.c:104:leaked_storage –
Variable "conn_argv" going out of scope leaks the storage it points to.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
10 years agoiw: fix incorrect bit shifting in print_ht_mcs
John W. Linville [Wed, 26 Jun 2013 15:07:40 +0000 (11:07 -0400)] 
iw: fix incorrect bit shifting in print_ht_mcs

iw-3.10/util.c:569:result_independent_of_operands –
"mcs[10] >> 8" is 0 regardless of the values of its operands. This occurs as the bitwise first operand of '&'.

This seems more like what was intended...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
10 years agoadd new nl80211 commands to list
Johannes Berg [Thu, 16 May 2013 21:33:14 +0000 (23:33 +0200)] 
add new nl80211 commands to list

10 years agoiw: scan using meshid
jacob minshall [Thu, 25 Apr 2013 22:02:19 +0000 (15:02 -0700)] 
iw: scan using meshid

This patch adds the ability to perform a directed scan
for MBSSs matching meshid by

iw <dev> scan meshid <meshid>

Signed-off-by: jacob minshall <jacob@cozybit.com>
10 years agoupdate version to 3.10 v3.10
Johannes Berg [Thu, 2 May 2013 07:29:10 +0000 (09:29 +0200)] 
update version to 3.10

It seems I forgot to release 3.9 when that kernel was starting,
so there's little point in doing it now. The 3.10 merge window
has opened and wireless features are finalized, so this version
of iw matches what will be supported in 3.10.

10 years agoupdate nl80211 to 3.10 version
Johannes Berg [Thu, 2 May 2013 07:28:44 +0000 (09:28 +0200)] 
update nl80211 to 3.10 version

10 years agofix "iw phy#0 info"
Johannes Berg [Thu, 2 May 2013 07:22:58 +0000 (09:22 +0200)] 
fix "iw phy#0 info"

Ben Greear reported that on a kernel that doesn't have the split
(and therefore filtered) wiphy dump feature, "iw phy#0 info" was
reporting data for all devices, rather than just one. This was a
result of using the split/filtered dump rather than a simple get
on "older" kernels (before 3.10!)

Fix this by checking the kernel feature before getting the data.

11 years agoiw/event: Print out PROBE_CLIENT event information.
Ben Greear [Wed, 24 Apr 2013 19:25:52 +0000 (12:25 -0700)] 
iw/event: Print out PROBE_CLIENT event information.

For instance:
vap0 (phy #0): probe client 00:ab:cd:ef:03:5c (cookie f54bb400): no ack

Signed-off-by: Ben Greear <greearb@candelatech.com>
11 years agoadd Android build system
Johannes Berg [Thu, 25 Apr 2013 06:43:39 +0000 (08:43 +0200)] 
add Android build system

Unfortunately Android's libnl doesn't have nla_put_flag()
so add a simple source file to declare that for now.

11 years agomakefile: allow passing NO_PKG_CONFIG
Johannes Berg [Tue, 23 Apr 2013 13:32:27 +0000 (15:32 +0200)] 
makefile: allow passing NO_PKG_CONFIG

To build iw without pkg-config, you can now do something
like

$ make NO_PKG_CONFIG=1 LDFLAGS=-lnl

11 years agomakefile: don't include .config
Johannes Berg [Tue, 23 Apr 2013 13:29:37 +0000 (15:29 +0200)] 
makefile: don't include .config

This is no longer used to configure the tool.

11 years agoclean up makefile
Johannes Berg [Tue, 23 Apr 2013 13:28:50 +0000 (15:28 +0200)] 
clean up makefile

Change the makefile a bit to add the optional
things in a cleaner way.

11 years agoiw: decode some more IEs
Joerg Mayer [Fri, 19 Apr 2013 20:39:05 +0000 (22:39 +0200)] 
iw: decode some more IEs

Small update, found while verifying against the standard.

Thanks
    Jörg

The results of a boring train ride:
- Decode some IEs sent by other traveller's devices
  + IBSS ATIM window
  + TPC report
  + Old ERP IE (802.11g D4.0)
- Tiny whitespace fix
- Add Unit 'TUs' to beacon interval.

v2: TPC: Link margin element is not used in beacons

In case this project requires a sob:
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
11 years agofix scan segfault when IFINDEX attribute isn't present
Johannes Berg [Thu, 18 Apr 2013 22:48:16 +0000 (00:48 +0200)] 
fix scan segfault when IFINDEX attribute isn't present

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>