aboutsummaryrefslogtreecommitdiff
path: root/iw.h
AgeCommit message (Collapse)Author
2022-05-04Cumulative patch from upstream commit 05a5267android13-devSunil Ravi
05a5267 iw: fix 'upto' -> 'up to' ff67fb2 iw: fix double tab in mesh path header e3287a1 station: print EHT rate information 5a71b72 iw: Print local EHT capabilities a4e5418 iw: support 160MHz frequency command for 6GHz band 56c6077 iw: print out assoc comeback event 0900996 iw: print Radar background capability if supported 64bf570 update nl80211.h Bug: 230593180 Test: Manual - Wifi ON/OFF - executed iw commands Change-Id: I972a9b84667c8527209c8983f454d8511acc004e
2022-03-05Cumulative patch from upstream commit 5909e73Sunil Ravi
5909e73 iw: survey: add support for radio stats 7e06706 iw: event: report missing radar events d034d73 bump version to 5.16 4624220 info: add FILS_CRYPTO_OFFLOAD extended feature b8d5974 update nl80211.h 8614608 iw: print BSS coloring capability if supported ba4f75b iw: add set sar_specs command 50918cb iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions 5a29126 iw: mesh: add comments in the mesh confguration parameter printing sections e848afe iw: event: add the missing time display format in the "iw event" help menu 25bb9c3 iw: link: mention the need for MAC addr arg in link get_sta cmd usage menu f71bd68 iw: fix vendor event static warnings 3d3d8fc iw: fix various sparse static warnings 24fb155 iw: make parse_he_gi static bfc4a63 iw: add support for configuring the bss color for ranging measurements e0f0ee3 iw: update nl80211.h 0ed91f5 iw: use cipher suite defines in util.c d893e72 iw: add cipher suites definitions a6cedc6 iw: unify interface type list printing d59e908 iw: mesh: add new cmd to dump all the supported mesh config params at once 87728df iw: mesh: fix crash when attempting to print the conf param "mesh_nolearn" 3307775 iw: ps: fix "get power_save" documentation a0f53c1 iw: add option to set auth type for connect c9e7d27 update nl80211.h 1325244 iw: allow specifying CFLAGS/LIBS externally 8fab0c9 iw: fix ftm_request missing arguments segfault e816fbc iw: fix mgmt dump missing arguments segfault 5d9d1b8 iw: Fix timestamp output on 32-bit architectures 4b25ae3 iw: fix pointer arithmetic in __print_he_capa c3df363 iw: add option to print human readable event time cd64525 iw: print ctrl port tx status event 0ba98b9 iw: use correct type in policy check for mesh 9e38dee iw: scan: fixup HE caps whitespace 17e8564 iw: scan: parse HE capabilities 5735e58 iw: util: factor out HE capability parser 6d8d507 iw: scan: add extension tag parsing b4e1ec4 man: update wikipage URL, reformat SEE ALSO section c56036a iw: enable 80MHz support for 6GHz band 11s mesh fa72728 iw: handle positive error codes gracefully 7ba9093 iw: scan: add flag for scanning colocated ap 5ec60ed iw: Add 'coloc' and 'flush' options to sched_scan f8ade75 iw: update wikipage URL b6f2dac iw: Add support for specifying the 160MHz bandwidth when setting the channel/frequency 8934cc4 bump version to 5.9 562404c iw: support HE rate configuration in 6 GHz band 3071b52 iw: add HE rate/gi/ltf support 5864fa5 iw: update nl80211.h 4d2749a iw: add TID specific Tx bitrate configuration e90b693 iw: fix tid config help entries 49831d0 bump version to 5.8 8b159da iw: print hop_count and path_change info of mpath 700f7d9 iw: handle more mesh station info 0789fd2 iw: handle all mesh config parameters 06e9839 iw: print current ext feature set e0a45db update nl80211.h to 5.8-rc1 8e58fe9 iw: add support for vendor events 125abec iw: add support for NDP ranging - trigger based and non trigger based b3999a3 reg: Fix getting PHY specific regulatory information b12fc8a iw: update freq to chan mappings for 6GHz band per IEEE P802.11ax/D6.1 94ded88 iw: mesh: add mesh_param "mesh_nolearn" to skip path discovery f718f11 update nl80211.h 8e7cd59 iw: print current ext feature set e9d87a7 update nl80211.h 4378919 iw: sync frequency to channel mapping with kernel for 6GHz band 71ad41c iw: add TID specific configuration command d2a29c0 update nl80211.h 10b9b03 iw: Print limit for maximum associated stations in AP mode 83689ee iw: 'phy <name> reg get' shouldn't dump all domains 88f9e98 iw: tiny code style fixes 19b80cd iw: event: log rssi value for cqm 0250318 iw: event: also handle reg change on wiphy ec9f3e7 iw: update extended features in info 05157b1 iw: Complete Extended Key ID detection cb07eab iw: update nl80211.h 11c35ae iw: phy: dump wiphy index 08d7c40 scan: Fix printing of unknown WPS vendor extension 71340cd iw: correctly print signed TX power level 715cd40 resync nl80211.h 7d36556 scan: wps: remove useless string length checks ff32636 scan: wps: fix some misplaced code fe969ad iw: scan: parse AP Channel Report f395f75 iw: scan: parse wps version2 84289c0 scan: wps: add more bounds checks 7be767c iw: scan: better length checks in print_wifi_wps() 6e0ce46 iw: scan: fix some format string warnings found by clang a7375d5 iw: scan: fix undefined behaviour in print_vht_capa() 22145cf iw: scan: fix undefined behaviour in rm capa print 505f9e4 iw: scan: fix buffer over-read in print_p2p e4ebc46 iw: scan: fix buffer over-read in print_wifi_wps baea1a0 iw: scan: fix buffer over-read in parsing roaming consortium cb13b9d iw: scan: fix buffer over-read in print_ies() 7d8fcdc build: add -Wdeclaration-after-statement 0e6d544 iw: scan: parse measurement pilot element 2dfd1f0 iw: scan: parse tx power envelope 3d34360 iw: scan: parse 'supported Operating Classes element' a532a81 iw: scan: add missing word for rm capabilities ad5bd08 iw: reg: parse the NO_HE regulatory flag 97dd4da iw: print ru-alloc values when dumping stations ba300c3 update nl80211.h 4d72d1d iw: scan: print radio measurement capabilities bb391d2 iw: event: parse channel switch b31864b iw: info: add missing extended flags for 5.5 ce87a25 iw: event: parse stop ap and frame wait cancel events 51bfd5a iw: event: handle interface add/del e9b5958 iw: update nl80211.h a39d32a iw: info: print missing extended feature flag information 68257d0 event: remove unnecessary braces 47650ff iw: event: add sta opmode changed command 7d17ba9 iw: event: add set interface command d98f794 iw: event: add new peer candidate command d5b145c iw: bump version to 5.4 8e322f8 iw: scan: fix double-free in error paths 68dd562 iw: Fix typo in iw --help 3708f61 iw: Print current time in station info dump 0b39c40 iw: Support associated-at station statistic. 0c1a26b update nl80211.h 959fa3b bump version to 5.3 b5c0c33 info: update extended feature list 02b53ea info: macro-ify ext_feat_print() 732c1aa util: update command list a0c07e4 update nl80211.h 08c3f7d iw: scan: add missing newline c741be9 iw: print HE capabilities 35a458a iw: really fix build 848d97d iw: add HE support to station dump call 71e6d18 cac: fix error handling in channel parsing 4fadb60 nan: fix memory leak 1ea6085 mesh: initialize err in set_interface_meshparam() fc38d3e iw: fix fp handling inside handle_vendor 2f74c59 iw: fix memory leaks inside handle_scan edb5f4f iw: fix memory leak inside parse_sched_scan 3a51540 iw: fix fd leak inside handle_netns 6a7cc86 iw: fix memory leak inside handle_cac 2f31605 iw: fix endless loop inside handle_mgmt_dump 0b41c3b iw: fix memory leak inside register_mgmt_frame f46aab4 iw: add version.o to objects f561cfc iw: include all C files into the binary 338059a iw: change __cmd section scheme to fit gcc/clang 5bdf11e iw: Add support for controlling tx power for per station 24091b7 iw: add command to inject a frame via direct mesh link to mesh peer 2c8026d update nl80211.h e99bc38 iw: print 4ADDR attribute when dumping interface 4323f5a iw: small cleanup for the sizer code ae03bc6 iw: fix cmd_size determination with LTO 691c585 update nl80211.h 5c0784d iw: Print airtime fairness feature 8290324 iw: Add command to set airtime weight a85d693 iw: Add printing of station tx duration and airtime weight 1b0f808 iw: bump version to 5.0.1 6439859 iw: make it build with older compilers again 311c9f2 iw: bump version to 5.0 02b85d8 iw: add FTM responder commands 8ddb960 iw: add FTM initiator support 2e192ce iw: separate wait/print when waiting for an event 3c0117c iw: make parse_random_mac_addr() more generally available 806bb9a update nl80211.h and command list 687eeb3 iw: make all code files non-executable 9b2849e iw: add FEATURE support for scan randomization 5c01d5a iw: dump 'rx bitrate' in link stats 77bbbf1 iw: use -Wstringop-overflow=4 02bc775 iw: honor CPPFLAGS when compiling adfc102 iw: Fix NAN match event formatting ed3552e iw: nan: fix warning of uninitialized variable 572aae9 remove stray evp.h include 63d6aac iw: nan: Add NAN Commands 7c4e86c iw: nan: Handle NAN Events 084184e iw: Add inactivity timeout configuration support b7e8163 wowlan: Use MAX_NL80211_ATTR instead of NUM in nla_parse 0e39f10 connect: fix parsing of WEP keys d4f1ea1 connect: Fix parsing of PSK bcdceae iw: fix various static checker warnings fc16607 iw: scan: parse OWE Transition Mode element 7f87d3c iw: Make input to mac_addr_n2a() const a58f492 scan: Decode additional Authentication types befb32d iw: fix enum warnings 0fc9283 iw: fix the beacon average signal parsing d227267 iw: ack signal support for tx ack packets c8edf8f scan: fix fall through warning 75b78ff update nl80211.h c9c3b69 scan: fix indentation in previous change 86d907a scan: fix crash when driver doesn't report frame type 8a2dfd5 iw: 'idby' might be used uninitialized in main function 6ab936f iw: enable -Wextra and fix warnings caused by it b50d145 scan: print out "Information elements from Probe Response frame" only if certain f3c9666 iw: fix some scan code indentation 1eb2f5c iw: Add getting and setting of TXQ params for phy 910792c iw: Print TXQ statistics for stations and interfaces 7110108 update nl80211.h 56e36b2 iw: support reloading the regulatory database 3a99ff6 iw: Add duration parameter to scan command c1bdfe6 iw: add printout of all supported ext_features to phy info e06485e iw: update nl80211.h f328848 bump version to 4.14 45de060 update nl80211.h 378286c util: update command list f750458 ocb: Use common freqchan helper for setting the operating channel 86dbcee iw: add support for mfp c91fdbe iw: ap: don't return -EPERM ab50848 iw: ap: support hidden/zeroed SSID 26cab67 iw: ap: add support for passing a proper chandef 60b6c63 iw: Add support for start/stop AP 5f310d8 iw: print missing extended capabilities d792470 iw: allow CCMP-128/GCMP-128 as CCMP/GCMP aliases 6c2a012 iw: add support for WPA2 PSK CCMP / GCMP association 7e0a7c4 update nl80211.h 48e0a01 iw: add command to register and dump mgmt frames 86da57a iw: define SOL_NETLINK if it isn't 3a80732 iw: add extack support 8a9e0b3 update nl80211.h 5ce1f6c iw: Fix bitrate output when no rate info found 4871fcf iw: parse_freqs: check how many center frequencies to expect c37f6c6 iw: split str_to_bw() from parse_freqs() 03fb59d Print frequency of radar events. 444674c Add commands to send CSA 2ba2f59 Add cac command to allow clearing channels 3e1debe mesh: Use common freqchan helper for joining a mesh 2b8047a ibss: Use common freqchan helper for joining an ibss 159d5e4 phy: Use common freqchan helper for setting the operating channel 997c60f util: Add generic frequency/channel command line handler f13627c update version to 4.9 ed9b77e iw: nan: Add NAN interface type 386bacb iw: add support for VHT MU-MIMO air sniffer 2781d64 add new commands 4d17e34 ibss: remove _POSIX_SOURCE a574be4 update nl80211.h (kernel 4.9) 27ea56b event: handle NL80211_ATTR_TIMED_OUT in connect event 0a12cf8 iw: add scan-abort command 9ad3cc2 utils: make hex2byte and hex2bin parameter const 432b5ae iw: display 5/10 MHz channel widths b0c5a4a iw: recognize 256-bit cipher suites db9d405 add "channels" PHY command listing frequencies with more details feea0ff iw: bump version to 4.7 26e074a iw: version.sh: update to get version with git correctly 8ccc479 iw: Fix -Wabsolute-value compiler warning in iw.c d738686 iw: support setting frame subtype and reason code when deleting station e7c0923 iw: add vendor command response support 045c1c6 iw: Add support for NL80211_STA_INFO_RX_DURATION netlink attribute 7687d59 iw: Change socket configuration to avoid buffer allocation error f45d458 update nl80211.h 9ae0d10 iw: add scheduled scan plans configuration 568c705 iw: add missing station statistics b2c4bf4 iw: document handler return value 1 as HANDLER_RET_USAGE 94af668 iw: fix "iw reg get" double output f6fca12 print BSS boottime if received 478438c update nl80211.h 8366d19 iw: print NOHT always as first in usage texts 1029a54 iw: use get_cf1 and struct chanmode for ocb e7271e7 iw: add VHT80 support for 802.11s c1b2b63 iw: prepare get_cf1 for use in join_* functions 96fa73c iw: don't use NULL pointer in nla_nest_end() ab65a09 iw: Fix memory leak if nla_put fails 33cbe6c mesh: show mesh parameters when no args are given f755a22 iw: remove superfluous includes 7082f96 iw: Fix segfault when no args are given to offchannel 0ee571d iw: add and fix -Wsign-compare ef65e9c iw: fix help text for event command 6cd3634 iw: add helpful hints for vendor cmd f0dff70 ocb: use correct "MHz" instead of "MHZ" 86a9801 iw: Fix return values when parameters are wrong 24cc1cf iw: Fix memory leak in error path 5f17068 iw: remove superfluous includes 7187aad ibss: use correct "MHz" instead of "MHZ" faeef83 ibss: add VHT80 support for IBSS d06cda9 scan: Add FTM info to scan results 619d28a iw: display interface TX power if available 5d290c8 bump version to 4.3 516ef62 iw: fix off-by-one 8823f67 add a few new commands/events a723a10 print IR-concurrent instead of GO-concurrent 5c83c0e update nl80211.h to kernel 4.3 7d19e35 iw: don't mix declaration into code c0441e6 iw: make netns_get_fd static 7faa1ba iw: fix s_cb leak 572e47a iw: avoid passing NULL to nla_data() 8b80a2b iw: cqm: check nlmsg_alloc() return 63e11c4 iw: remove android-nl.c with unneeded workaround 74c7449 iw: fix references to libnl in Android.mk 367e7dd iw: free memory on scan parse errors 34b2301 iw: remove cb from arguments and simplify valid handler Bug: 206715716 Test: Manual - Wifi ON/OFF - executed iw commands Change-Id: Ia743f040e222602bb8eb047366ccc5b41710736a
2015-03-17iw: add randomise option for sched_scanLuciano Coelho
Like with normal scans, we can randomise the MAC address sent out in active scheduled scans. Add the randomise option to sched_scan (and net-detect) parsing code. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-03-17iw: add support for active scheduled scanLuciano Coelho
Add options to explicitly use active or passive scans on schedule scans (and net-detect). If neither active nor passive parameters are passed, the default is to do active scans with the wildcard SSID. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-03-17iw: move generic sched scan parsing code out of net detectLuciano Coelho
The scheduled scan structure is pretty much the same as the net-detect WoWLAN trigger's. Move the bulk of the command line parsing code to a generic function so we can reuse it for sched_scan. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-09-03iw: print hexdump when vendor eventJanusz Dziedzic
print hexdump when vendor event and -f requested Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-09-30iw: sync frequency to channel mapping with kernelBruno Randolf
Use ieee80211_frequency_to_channel() and ieee80211_channel_to_frequency() as in the current kernel. This is necessary to properly print the channel numbers for 4.9GHz channels which can be used in Japan. Signed-off-by: Bruno Randolf <br1@einfach.org>
2013-07-11iw: dump station rx bit rate informationFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-04-10refactor bitrate printingJohannes Berg
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.
2013-02-18iw: add radar detect widths to phy infoSimon Wunderlich
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
2012-11-12print VHT capabilitiesJohannes Berg
2012-07-19pass idby argument to all functionsJohannes Berg
2012-07-19add basics for identify wireless devsJohannes Berg
2011-11-29iw: Support ht-capability overrides mask.Ben Greear
Let user know which capabilities are supported.
2011-11-10use genl_ctrl_resolve()Johannes Berg
This simplifies the code quite a bit since we don't need an nl_cache or nl_family.
2011-09-07iw: add libnl-3.0 supportYegor Yefremov
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2011-05-09wowlan supportJohannes Berg
2010-11-24allow sub-command selectionJohannes Berg
fixes the plink_action vs. vlan bug
2010-10-13events: allow relative timestampsJohannes Berg
2010-09-24remove _ISOC99_SOURCE againJohannes Berg
It didn't help FC8, and I never had complaints about other systems, so let's just leave it as it was before to not break something else ...
2010-09-22define _ISOC99_SOURCEJohannes Berg
unfortunately netlink/object.h has a bug that leads to many warnings ("extern inline") so we can't use -std=c99 fully.
2010-06-09improve connect vs. notification race behaviourJohannes Berg
This doesn't fully fix it, but should fix it in the case there's only one application (iw) trying to connect.
2010-03-24add hex parser utilJohannes Berg
2010-01-11make command/section non-constJohannes Berg
It being const seems to be causing problems on ppc64.
2009-12-08completely unify MCS parsingJohannes Berg
Luis left two different ways to parse the MCS set, one of which was completely endianness broken. Fix this up by using the correct one in both places.
2009-12-08HT fixupsJohannes Berg
2009-12-08iw: bring together common ht capability parsingLuis R. Rodriguez
Both 'iw list' and 'iw dev wlan0 scan' now share the same HT capability parsing code making them consistent. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2009-12-08iw: share mimumum ampdu spacing and maximum ampdu length printsLuis R. Rodriguez
This brings together the two separate compuations for ampdu spacing and length to help being more consistant with terminology and with the spec. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2009-12-08iw: fix 'iw list' MCS set printLuis R. Rodriguez
The MCS set was being printed backward, fix this and while at it add a helper to share with scanning. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2009-11-15add support for showing NL80211_ATTR_SUPPORTED_COMMANDSMarcel Holtmann
2009-08-24separate commands into sectionsJohannes Berg
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.
2009-08-16Revert "magically set interface up for connect/join"Johannes Berg
This reverts commit ded1f078ef5283e49f1863e9160a6650566c0954. I decided that doing things magically isn't a good idea. Conflicts: iw.h
2009-07-25add link commandJohannes Berg
2009-07-11magically set interface up for connect/joinJohannes Berg
2009-07-08make connect able to waitJohannes Berg
2009-07-08make it possible to pass WEP keys to connect/joinJohannes Berg
2009-05-24print scan info on eventJohannes Berg
2009-05-05add ability to document commands, document event/helpJohannes Berg
2009-05-05use C99 initialiser for cmd structJohannes Berg
2009-05-05split out event handling codeJohannes Berg
2009-05-05print statusJohannes Berg
2009-05-05print nicer auth/assoc/deauth/disassoc eventsJohannes Berg
2009-04-21generate version.c instead of version.oJohannes Berg
2009-04-19allow more command aliasing, dev/phy commandsJohannes Berg
2009-04-08remove "raw" thingJohannes Berg
2009-04-08add functionality to wait for eventsJohannes Berg
2009-04-08prepare for more generic commandsJohannes Berg
2009-03-11iw: add regulatory events notification parsingLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
2009-01-29iw: rename nl_handle to nl_sock for libnl-2.0Pat Erley
Upstream has renamed nl_handle to nl_sock. Update iw to the new name and add #define for libnl-1.1. Signed-off-by: Pat Erley <pat-lkml@erley.org> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2009-01-21include netlink/netlink.hJohannes Berg
also fixes the nl_handle vs. nl_sock issue that has been plaguing people trying to use libnl from git