]> git.ipfire.org Git - thirdparty/iw.git/log
thirdparty/iw.git
15 years agoseparate commands into sections
Johannes Berg [Mon, 24 Aug 2009 10:53:34 +0000 (12:53 +0200)] 
separate commands into sections

The ad-hoc way of parsing the command "tree" didn't
really work out, so separate the commands better
into sections and parse by that.

15 years agodon't emit usage to stderr
Holger Schurig [Mon, 24 Aug 2009 09:17:19 +0000 (11:17 +0200)] 
don't emit usage to stderr

Only write error output to stderr, not help und usage information.
This allows now

  ./iw | less

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
16 years agoalso fix %d -> %u for 'iw link'
Johannes Berg [Mon, 17 Aug 2009 10:51:58 +0000 (12:51 +0200)] 
also fix %d -> %u for 'iw link'

16 years agofix output qualifier for unsigned values
Arnd Hannemann [Mon, 17 Aug 2009 10:46:56 +0000 (12:46 +0200)] 
fix output qualifier for unsigned values

Station XX:XX:XX:XX:XX:XX (on wlan0)
        inactive time:  4 ms
        rx bytes:       -1611945626
        rx packets:     7643414
        tx bytes:       1527923993
        tx packets:     4829428
        signal:         -63 dBm
        tx bitrate:     54.0 MBit/s

Seems to be the output qualifier %d is used wrongly in some cases.
This patch fixes that.

Signed-off-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
16 years ago0.9.16 v0.9.16
Johannes Berg [Sun, 16 Aug 2009 14:03:36 +0000 (16:03 +0200)] 
0.9.16

mostly for the link command

16 years agoRevert "magically set interface up for connect/join"
Johannes Berg [Sun, 16 Aug 2009 14:02:15 +0000 (16:02 +0200)] 
Revert "magically set interface up for connect/join"

This reverts commit ded1f078ef5283e49f1863e9160a6650566c0954.

I decided that doing things magically isn't a good idea.

Conflicts:

iw.h

16 years agomark a key default if none is marked manually
Johannes Berg [Sun, 16 Aug 2009 13:17:38 +0000 (15:17 +0200)] 
mark a key default if none is marked manually

16 years agoadd iw commands for setting fragmentation and rts threshold
Johannes Berg [Tue, 11 Aug 2009 09:26:42 +0000 (11:26 +0200)] 
add iw commands for setting fragmentation and rts threshold

16 years agoiw: fix typos in MCS set parsing code
Gabor Juhos [Tue, 11 Aug 2009 06:47:30 +0000 (08:47 +0200)] 
iw: fix typos in MCS set parsing code

The current code uses wrong binary operator for masking,
and the shift values for the 'tx_max_num_spatial_streams' and
'tx_unequal_modulation' fields are off-by-one.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
16 years agoprint out wmm aifsn
Johannes Berg [Mon, 10 Aug 2009 14:40:51 +0000 (16:40 +0200)] 
print out wmm aifsn

16 years agosome wmm parameter improvements
Johannes Berg [Mon, 10 Aug 2009 13:40:11 +0000 (15:40 +0200)] 
some wmm parameter improvements

16 years agofix typo
Johannes Berg [Mon, 10 Aug 2009 13:37:20 +0000 (15:37 +0200)] 
fix typo

16 years agofix bug parsing ACI
Johannes Berg [Mon, 10 Aug 2009 13:36:37 +0000 (15:36 +0200)] 
fix bug parsing ACI

16 years agoshow WMM parameters
Johannes Berg [Mon, 10 Aug 2009 13:15:49 +0000 (15:15 +0200)] 
show WMM parameters

16 years agoiw: add beacon hint event parsing
Luis R. Rodriguez [Fri, 31 Jul 2009 00:05:50 +0000 (17:05 -0700)] 
iw: add beacon hint event parsing

Here's a screenshot:

mcgrof@pogo ~ $ iw event

mcgrof@pogo ~ $ sudo iw dev wlan0 scan trigger

phy #0: beacon hint:
phy0 5180 MHz [36]:
o active scanning enabled
o beaconing enabled

You'll see this on every channel you find a beacon and a flag
is lifted.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
16 years agoadd warning about screenscraping
Johannes Berg [Thu, 30 Jul 2009 12:12:53 +0000 (14:12 +0200)] 
add warning about screenscraping

16 years agoadd missing newline
Johannes Berg [Wed, 29 Jul 2009 00:05:33 +0000 (02:05 +0200)] 
add missing newline

16 years agoadd link command
Johannes Berg [Sat, 25 Jul 2009 15:31:08 +0000 (17:31 +0200)] 
add link command

16 years agomagically set interface up for connect/join
Johannes Berg [Sat, 11 Jul 2009 09:03:55 +0000 (11:03 +0200)] 
magically set interface up for connect/join

16 years agobump version to 0.9.15 v0.9.15
Johannes Berg [Fri, 10 Jul 2009 20:19:47 +0000 (22:19 +0200)] 
bump version to 0.9.15

release candidate for 1.0 since now we can connect!
(still considering waiting for somebody to implement
'iw wlan1 link' which shows the current connection)

16 years agoprint BSS status
Johannes Berg [Fri, 10 Jul 2009 16:31:59 +0000 (18:31 +0200)] 
print BSS status

16 years agofix a reason string
Johannes Berg [Thu, 9 Jul 2009 21:02:03 +0000 (23:02 +0200)] 
fix a reason string

16 years agomake connect able to wait
Johannes Berg [Wed, 8 Jul 2009 16:53:06 +0000 (18:53 +0200)] 
make connect able to wait

16 years agoremove netns stuff from nl80211.h -- not so soon
Johannes Berg [Wed, 8 Jul 2009 12:55:12 +0000 (14:55 +0200)] 
remove netns stuff from nl80211.h -- not so soon

16 years agomake it possible to pass WEP keys to connect/join
Johannes Berg [Tue, 7 Jul 2009 22:44:25 +0000 (00:44 +0200)] 
make it possible to pass WEP keys to connect/join

16 years agoMerge branch 'master' into connect
Johannes Berg [Tue, 7 Jul 2009 19:37:59 +0000 (21:37 +0200)] 
Merge branch 'master' into connect

16 years agoupdate to experimental nl80211.h
Johannes Berg [Tue, 7 Jul 2009 19:37:34 +0000 (21:37 +0200)] 
update to experimental nl80211.h

16 years agofix phy0 autodetection
Johannes Berg [Tue, 7 Jul 2009 19:37:17 +0000 (21:37 +0200)] 
fix phy0 autodetection

16 years agoMerge branch 'master' into connect
Johannes Berg [Mon, 6 Jul 2009 11:14:54 +0000 (13:14 +0200)] 
Merge branch 'master' into connect

16 years agoadd warning about scripts
Johannes Berg [Mon, 6 Jul 2009 11:14:41 +0000 (13:14 +0200)] 
add warning about scripts

16 years agoMerge branch 'master' into connect
Johannes Berg [Mon, 6 Jul 2009 11:12:09 +0000 (13:12 +0200)] 
Merge branch 'master' into connect

16 years agoautodetect interface/phy
Johannes Berg [Mon, 6 Jul 2009 11:10:39 +0000 (13:10 +0200)] 
autodetect interface/phy

Try to figure out what the user meant and allow users
to enter e.g. 'iw wlan0 info'. This only works if the
interface or phy exists though.

16 years agofix connect help
Johannes Berg [Mon, 6 Jul 2009 10:51:11 +0000 (12:51 +0200)] 
fix connect help

16 years agoMerge branch 'master' into connect
Johannes Berg [Thu, 2 Jul 2009 07:54:25 +0000 (09:54 +0200)] 
Merge branch 'master' into connect

16 years agofix version script to include header and not write file twice
Johannes Berg [Thu, 2 Jul 2009 07:09:13 +0000 (09:09 +0200)] 
fix version script to include header and not write file twice

16 years agoconnect events
Johannes Berg [Thu, 2 Jul 2009 07:54:02 +0000 (09:54 +0200)] 
connect events

16 years agofix version script to include header and not write file twice
Johannes Berg [Thu, 2 Jul 2009 07:09:13 +0000 (09:09 +0200)] 
fix version script to include header and not write file twice

16 years agonote that the bitrates are non-HT
Johannes Berg [Tue, 30 Jun 2009 08:16:43 +0000 (10:16 +0200)] 
note that the bitrates are non-HT

16 years agoupdate nl80211.h
Johannes Berg [Thu, 2 Jul 2009 06:57:16 +0000 (08:57 +0200)] 
update nl80211.h

16 years agonote that the bitrates are non-HT
Johannes Berg [Tue, 30 Jun 2009 08:16:43 +0000 (10:16 +0200)] 
note that the bitrates are non-HT

16 years agoupdate nl80211.h
Johannes Berg [Wed, 24 Jun 2009 11:01:00 +0000 (13:01 +0200)] 
update nl80211.h

16 years agoconnect API test
Johannes Berg [Tue, 23 Jun 2009 15:50:27 +0000 (17:50 +0200)] 
connect API test

16 years agoprint event on scan start
Johannes Berg [Tue, 16 Jun 2009 16:53:21 +0000 (18:53 +0200)] 
print event on scan start

16 years agofix assoc/auth event parsing
Johannes Berg [Wed, 10 Jun 2009 11:55:31 +0000 (13:55 +0200)] 
fix assoc/auth event parsing

16 years ago"AP setup locked" is a u8 (bool)
Johannes Berg [Mon, 8 Jun 2009 10:46:43 +0000 (12:46 +0200)] 
"AP setup locked" is a u8 (bool)

16 years agoprint scan info on event
Johannes Berg [Sun, 24 May 2009 14:48:17 +0000 (16:48 +0200)] 
print scan info on event

16 years agoupdate nl80211.h
Johannes Berg [Wed, 20 May 2009 13:07:40 +0000 (15:07 +0200)] 
update nl80211.h

16 years agosync nl80211.h
Johannes Berg [Wed, 13 May 2009 23:19:34 +0000 (01:19 +0200)] 
sync nl80211.h

16 years agoiw/Makefile use pkg-config if passed from environmental var.
Karl Hiramoto [Wed, 13 May 2009 09:16:18 +0000 (11:16 +0200)] 
iw/Makefile use pkg-config if passed from environmental var.

This patch makes cross compiling easier.

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
16 years agov0.9.14 v0.9.14
Johannes Berg [Tue, 12 May 2009 22:10:08 +0000 (00:10 +0200)] 
v0.9.14

16 years agofinish docs
Johannes Berg [Tue, 5 May 2009 13:24:39 +0000 (15:24 +0200)] 
finish docs

16 years agomore interface help
Johannes Berg [Tue, 5 May 2009 13:14:52 +0000 (15:14 +0200)] 
more interface help

16 years agohelp for 'set name'
Johannes Berg [Tue, 5 May 2009 13:05:10 +0000 (15:05 +0200)] 
help for 'set name'

16 years agoadd note to set channel/freq
Johannes Berg [Tue, 5 May 2009 13:04:19 +0000 (15:04 +0200)] 
add note to set channel/freq

16 years agoprint version in help output
Johannes Berg [Tue, 5 May 2009 13:02:54 +0000 (15:02 +0200)] 
print version in help output

16 years agodocument scan commands
Johannes Berg [Tue, 5 May 2009 13:00:56 +0000 (15:00 +0200)] 
document scan commands

16 years agoadd help for ibss commands
Johannes Berg [Tue, 5 May 2009 12:56:40 +0000 (14:56 +0200)] 
add help for ibss commands

16 years agoadd help for info/list/phy commands
Johannes Berg [Tue, 5 May 2009 12:56:21 +0000 (14:56 +0200)] 
add help for info/list/phy commands

16 years agoadd ability to document commands, document event/help
Johannes Berg [Tue, 5 May 2009 12:48:16 +0000 (14:48 +0200)] 
add ability to document commands, document event/help

16 years agouse C99 initialiser for cmd struct
Johannes Berg [Tue, 5 May 2009 12:26:25 +0000 (14:26 +0200)] 
use C99 initialiser for cmd struct

16 years agoif command fails, print help for this command
Johannes Berg [Tue, 5 May 2009 12:17:28 +0000 (14:17 +0200)] 
if command fails, print help for this command

16 years agosplit out event handling code
Johannes Berg [Tue, 5 May 2009 12:10:09 +0000 (14:10 +0200)] 
split out event handling code

16 years agosplit out per-command help
Johannes Berg [Tue, 5 May 2009 12:06:39 +0000 (14:06 +0200)] 
split out per-command help

16 years agoallow printing timing on events (-t)
Johannes Berg [Tue, 5 May 2009 10:47:43 +0000 (12:47 +0200)] 
allow printing timing on events (-t)

16 years agoprint status
Johannes Berg [Tue, 5 May 2009 10:39:30 +0000 (12:39 +0200)] 
print status

16 years agoprint nicer auth/assoc/deauth/disassoc events
Johannes Berg [Tue, 5 May 2009 10:19:13 +0000 (12:19 +0200)] 
print nicer auth/assoc/deauth/disassoc events

16 years agomake event printing more regular
Johannes Berg [Tue, 5 May 2009 09:50:43 +0000 (11:50 +0200)] 
make event printing more regular

16 years agoprint extended capabilities
Johannes Berg [Tue, 5 May 2009 09:44:04 +0000 (11:44 +0200)] 
print extended capabilities

16 years agoprint rsn capabilities field
Johannes Berg [Tue, 5 May 2009 09:33:34 +0000 (11:33 +0200)] 
print rsn capabilities field

16 years agoadd AKM suites for 11r/11w
Johannes Berg [Tue, 5 May 2009 09:21:13 +0000 (11:21 +0200)] 
add AKM suites for 11r/11w

16 years agouse decimal like the standard for suites below OUI
Johannes Berg [Tue, 5 May 2009 08:45:30 +0000 (10:45 +0200)] 
use decimal like the standard for suites below OUI

16 years agoprint "00-0f-ac:7" instead of "Unknown (00-0f-ac:7)" to make it shorter
Johannes Berg [Tue, 5 May 2009 08:43:33 +0000 (10:43 +0200)] 
print "00-0f-ac:7" instead of "Unknown (00-0f-ac:7)" to make it shorter

16 years agoprint invalid tail on WPA/RSN IE if present
Johannes Berg [Mon, 4 May 2009 16:57:03 +0000 (18:57 +0200)] 
print invalid tail on WPA/RSN IE if present

16 years agoadd length checks for WPA/RSN cipher and authentication suites
Marcel Holtmann [Mon, 4 May 2009 16:49:09 +0000 (09:49 -0700)] 
add length checks for WPA/RSN cipher and authentication suites

16 years agoadd support for showing power constraint IE
Marcel Holtmann [Mon, 4 May 2009 16:06:07 +0000 (09:06 -0700)] 
add support for showing power constraint IE

16 years agorearrange some tests to be clearer
Johannes Berg [Mon, 4 May 2009 12:32:24 +0000 (14:32 +0200)] 
rearrange some tests to be clearer

16 years agoadd ability to scan certain SSIDs/frequencies
Johannes Berg [Mon, 4 May 2009 12:06:33 +0000 (14:06 +0200)] 
add ability to scan certain SSIDs/frequencies

16 years agovalidate IE length better in places
Johannes Berg [Mon, 4 May 2009 11:35:22 +0000 (13:35 +0200)] 
validate IE length better in places

still missing for the auth/cipher suites I think

16 years agoadd Country in/outdoor environ + invalid environ
Johannes Berg [Mon, 4 May 2009 11:12:01 +0000 (13:12 +0200)] 
add Country in/outdoor environ + invalid environ

16 years agoprint WPS version as major.minor
Johannes Berg [Mon, 4 May 2009 11:07:16 +0000 (13:07 +0200)] 
print WPS version as major.minor

16 years agoprint unknown cipher/auth suites with more info
Johannes Berg [Mon, 4 May 2009 11:06:07 +0000 (13:06 +0200)] 
print unknown cipher/auth suites with more info

16 years agos/WPA2/RSN/
Johannes Berg [Mon, 4 May 2009 11:02:32 +0000 (13:02 +0200)] 
s/WPA2/RSN/

16 years agoadd support for parsing WPA and RSN/WPA2 information elements
Marcel Holtmann [Mon, 4 May 2009 08:48:47 +0000 (01:48 -0700)] 
add support for parsing WPA and RSN/WPA2 information elements

16 years agoadd basic support for parsing WMM information element
Marcel Holtmann [Mon, 4 May 2009 08:48:46 +0000 (01:48 -0700)] 
add basic support for parsing WMM information element

16 years agoadd human readable decoding for capability information field
Marcel Holtmann [Mon, 4 May 2009 08:48:45 +0000 (01:48 -0700)] 
add human readable decoding for capability information field

16 years agoadd support for showing extended capabilities IE
Marcel Holtmann [Mon, 4 May 2009 08:48:44 +0000 (01:48 -0700)] 
add support for showing extended capabilities IE

16 years agoadd basic support for parsing country information element
Marcel Holtmann [Mon, 4 May 2009 08:48:43 +0000 (01:48 -0700)] 
add basic support for parsing country information element

16 years agoadd support for parsing ERP information element
Marcel Holtmann [Mon, 4 May 2009 08:48:42 +0000 (01:48 -0700)] 
add support for parsing ERP information element

16 years agoadd option to dump unknown IEs with scan command
Marcel Holtmann [Sat, 2 May 2009 20:07:24 +0000 (13:07 -0700)] 
add option to dump unknown IEs with scan command

16 years agoWPS scan: print out AP locked attribute
Johannes Berg [Fri, 1 May 2009 09:52:51 +0000 (11:52 +0200)] 
WPS scan: print out AP locked attribute

16 years agoparse some WPS data
Johannes Berg [Thu, 30 Apr 2009 18:05:59 +0000 (20:05 +0200)] 
parse some WPS data

16 years agoprint unknown IEs in nicer form
Johannes Berg [Thu, 30 Apr 2009 16:57:06 +0000 (18:57 +0200)] 
print unknown IEs in nicer form

16 years agodon't try parsing too short vendor IEs
Johannes Berg [Thu, 30 Apr 2009 16:49:44 +0000 (18:49 +0200)] 
don't try parsing too short vendor IEs

16 years agoadd scan warnings
Johannes Berg [Thu, 23 Apr 2009 13:57:38 +0000 (15:57 +0200)] 
add scan warnings

16 years ago0.9.13 v0.9.13
Johannes Berg [Mon, 20 Apr 2009 23:07:50 +0000 (01:07 +0200)] 
0.9.13

16 years agogenerate version.c instead of version.o
Johannes Berg [Mon, 20 Apr 2009 22:53:00 +0000 (00:53 +0200)] 
generate version.c instead of version.o

16 years agoMerge branch 'ibss-test'
Johannes Berg [Mon, 20 Apr 2009 22:36:20 +0000 (00:36 +0200)] 
Merge branch 'ibss-test'

Conflicts:
nl80211.h

16 years agoupdate nl80211.h
Johannes Berg [Mon, 20 Apr 2009 22:36:05 +0000 (00:36 +0200)] 
update nl80211.h

16 years agofix bug introduced by previous commit
Johannes Berg [Mon, 20 Apr 2009 22:22:12 +0000 (00:22 +0200)] 
fix bug introduced by previous commit

16 years agoadjust to new ibss API
Johannes Berg [Sun, 19 Apr 2009 15:52:14 +0000 (17:52 +0200)] 
adjust to new ibss API