aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Iw: Silence some warningsandroid-wear-n-preview-1android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasebrillo-m9-releasebrillo-m9-devbrillo-m8-releasebrillo-m8-devbrillo-m10-releasebrillo-m10-devAndreas Gampe2015-12-091-0/+7
| | | | | | | Silence some (benign) warnings. Bug: 26105799 Change-Id: I5c8444662e0673f730d2ad196ad25d52d36cbead
* Merge remote-tracking branch 'goog/master' into 'goog/mnc-dr-dev'Filipe Brandenburger2015-08-124-21/+30
|\ | | | | | | Change-Id: Iddc76f624b3655a84643749f430362fd6d5bce6f
| * iw: Remove include of Makefile to avoid definition of invalid rulesbrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devFilipe Brandenburger2015-08-101-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be harmful for rules such as "clean" and implicit make rules defined in iw's Makefile, such as "%.o", etc. The problem was detected from this build warning: build/core/main.mk:1045: warning: overriding commands for target `clean' external/iw/Makefile:126: warning: ignoring old commands for target `clean' Fix it by removing the include of Makefile in Android.mk. For now, this creates even more duplication between the two files, in the future we can try to prevent that by factoring out common code (such as the list of *.o files, cflags, etc.) into a "common" file that can be included in both makefiles. TEST=Build iw from the AOSP tree and confirm it is built correctly. Confirmed that the warning about the "clean" rule is gone. Change-Id: Ia927a71edbf0243dc0074a0ac6f6aa583ce636c5
| * iw: include iw in both "userdebug" and "eng" Android buildsFilipe Brandenburger2015-08-031-2/+1
| | | | | | | | | | | | | | | | | | | | | | The binary is also relevant on debug builds. While at it, removed commented out line marking it as optional. TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I0bb234c5035235155e9bfb0eb3fd05fb698d4775 Signed-off-by: Filipe Brandenburger <filbranden@google.com>
| * iw: remove android-nl.c with unneeded workaroundFilipe Brandenburger2015-08-032-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The workaround might have been necessary in the past, however now it produces the following error: .../libnl.a(attr.o): multiple definition of 'nla_put_flag' .../android-nl.o: previous definition here collect2: error: ld returned 1 exit status TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I932d6d3530f0aaea3dd822d48a74344be35b383a Signed-off-by: Filipe Brandenburger <filbranden@google.com>
| * iw: fix references to libnl in Android.mkFilipe Brandenburger2015-08-031-5/+1
| | | | | | | | | | | | | | | | | | The latest AOSP refers to that library as libnl and not libnl_2. TEST=Built AOSP tree with this patchset, tested the generated iw binary. Change-Id: I79ba4249e3f43bb6d593915458f9a06002d200d2 Signed-off-by: Filipe Brandenburger <filbranden@google.com>
| * Include NOTICE and license information for "iw"Filipe Brandenburger2015-07-302-0/+16
|/ | | | | | | The project is licensed under ISC license which is compatible with BSD: http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/COPYING Change-Id: Ib6624ab263fedcdb9815656ca932c37b221deac8
* iw: add connected time to station infoArik Nemtsov2015-06-171-0/+4
| | | | | | | | | | | | | Useful for long testing scenarios Signed-off-by: Arik Nemtsov <arik@wizery.com> -- As a side note, I had to change version.sh to make this compile in the intel git. The "4.1" tag is missing here, so this line fails in version.sh: [ "${descr%%-*}" = "v$VERSION" ] || exit 2
* iw: print beacon-loss and wiphy delete eventsBen Greear2015-06-171-9/+18
| | | | | | | This is nicer than messages about unknown events. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: only use tags matching "v*"Johannes Berg2015-06-081-1/+1
| | | | | | | Some people/build systems may add additional tags, so use only tags matching "v*" for the version creation. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* bump version to 4.1Johannes Berg2015-05-051-1/+1
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: handle NL80211_ATTR_EXT_FEATURES attributeJanusz.Dziedzic@tieto.com2015-05-051-0/+20
| | | | | | | Print if VHT-IBSS is supported. Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2015-05-051-3/+31
| | | | | | (To 4.1-rc2) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: trivial spelling fix (initial)Stefan Lippers-Hollmann2015-05-051-1/+1
| | | | | | | | Introduced in 29af20194aedd2f1c26205bb70a395d394845708, "iw: add a delay option to net-detect". Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Print OSEN element for HotSpot 2.0 IE.Ben Greear2015-03-301-8/+43
| | | | | | | | | | | | | | | | Re-uses most of the print-rsn logic since only the header differs. Example output: ... HotSpot 2.0 OSEN: * Group cipher: NO-GROUP * Pairwise ciphers: CCMP * Authentication suites: OSEN * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c) Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add randomise option for sched_scanLuciano Coelho2015-03-172-1/+12
| | | | | | | | | 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>
* iw: add support for active scheduled scanLuciano Coelho2015-03-172-3/+59
| | | | | | | | | 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>
* iw: implement scheduled scanLuciano Coelho2015-03-173-0/+44
| | | | | | | | Add sched_start, sched_stop and events parsing for scheduled scan. For now, only passive scans are supported. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: move generic sched scan parsing code out of net detectLuciano Coelho2015-03-173-167/+181
| | | | | | | | | 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>
* version 4.0Johannes Berg2015-03-171-1/+1
|
* iw: add a delay option to net-detectLuciano Coelho2015-03-171-4/+27
| | | | | | | | | Add an option that allows the initial net-detect scan to be delayed by the specified number of seconds. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> [add missing closing brace] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* phy: Allow set netns by fdVadim Kochan2015-03-031-9/+46
| | | | | | | | | | | | | | Added possibility to change network namespace for phy device by network namespace name from /var/run/netns or by absolute file path: iw phy XXX set netns name <nsname> iw tries to open fd of given nsname from /var/run/netns or by absoute path if nsname contains "/". Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2015-03-031-30/+148
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: print human readable radar eventsHelmut Schaa2015-03-031-0/+25
| | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Read number of supported net-detect matchesLuciano Coelho2015-01-141-2/+3
| | | | | | | | | Instead of just printing whether netdetect is supported, parse the attribute and report the maximum number of matchsets the driver supports. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Add OCB mode handlingRostislav Lisovy2015-01-144-1/+81
| | | | | | | | | | | | | | | | | Since the commit 6e0bd6c35b021dc73a81ebd1ef79761233c48b50 ("cfg80211: 802.11p OCB mode handling") and 239281f803e2efdb77d906ef296086b6917e5d71 ("mac80211: 802.11p OCB mode support") does the Linux kernel support OCB mode. This commit adds proper OCB mode handling. Modify the command for device type setting to support OCB mode. Add commands for "joining" and "leaving" the OCB mode network. When joining two arguments are mandatory -- frequency and channel bandwidth (5 or 10 MHz). Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: fix android buildArik Nemtsov2015-01-062-1/+4
| | | | | | | | | | | Don't define "iw" build target in the regular Makefile which gets included. This confuses the Android build system (coincides with module name). Also correct libnl_2 to a be static library, as compiled on Android. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: support multiple regdom printArik Nemtsov2014-12-171-4/+36
| | | | | | | | When a phy is given, print only its regdomain. Otherwise, use the newly implement dump functionality to print all regdomains in the system. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-12-171-1/+28
|
* iw: fix attr max for reg_ruleArik Nemtsov2014-12-121-3/+3
| | | | | Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: print new RRF_ regulatory flagsArik Nemtsov2014-12-121-0/+6
| | | | | | | These were added to cfg80211 recently Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: print phy TDLS ch-switch supportArik Nemtsov2014-12-121-0/+2
| | | | | Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* parse net detect wowlan configuration informationLuciano Coelho2014-12-121-1/+38
| | | | | | | | Parse the net detect information when it is reported. This includes the scan interval, SSIDs to match and frequencies to scan. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* add WoWLAN net-detect triggerLuciano Coelho2014-12-123-3/+205
| | | | | | | | | Adds a netdetect option to the wowlan triggers that allows the user to request network detection to be started when the device goes to suspend mode. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* support random scan requestJohannes Berg2014-12-121-6/+39
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-12-121-6/+82
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Fix calculation of maximum supported 802.11n data rateHenning Rogge2014-12-121-1/+1
| | | | | | | | Fix typo in calculation, binary AND combination of low byte and high byte is always zero. Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.h and command IDsJohannes Berg2014-11-132-1/+44
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* add WMM tspec capabilityJohannes Berg2014-10-291-0/+2
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: support setting vif MAC during creationBen Greear2014-10-292-2/+20
| | | | | | | | | This saves an extra call to change it later, and will also keep udev from potentially messing with a vif it should not be messing with. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-10-291-1/+14
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* add vendor command to MakefileJohannes Berg2014-10-291-1/+1
| | | | | | Apparently I forgot this when applying the previous commit. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add vendor send commandJanusz Dziedzic2014-10-241-0/+95
| | | | | | | | | | | | | | | This allow to send vendor data to the driver. This command required OUI and SUBCMD parameters. Also optional DATA parameter could be used: cat data.bin | iw wlan0 send oui subcmd - iw wlan0 send oui subcmd file.bin iw wlan0 vendor send oui subcmd 0x00 0x00 0x00 0x1f echo EOF | iw wlan0 vendor send oui subcmd - Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* Add mpp get/dump commandsHenning Rogge2014-10-092-1/+85
| | | | | | | | Add the "mpp get" and "mpp dump" command to query to mac80211s mesh proxy path table through nl80211. Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211.hJohannes Berg2014-10-091-0/+6
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update to version 3.17Johannes Berg2014-10-091-1/+1
| | | | | | This means I forgot and am skipping 3.16, too bad. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* update nl80211 feature list in the codeJohannes Berg2014-10-091-0/+30
| | | | Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: add auto parameter to set distance commandLorenzo Bianconi2014-10-092-18/+27
| | | | | | | | | | | | Add auto parameter to set distance command in order to enable ACK timeout estimation algorithm (dynack). Dynack is automatically disabled setting valid value for coverage class. Currently dynack is supported just by ath9k This patch is based on "configure dynack through mac80211/cfg80211 stack" patchset sent on linux-wireless Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: fix memory leakYegor Yefremov2014-10-091-1/+3
| | | | | | | Close f, when returning before while loop. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: remove double breakYegor Yefremov2014-10-091-1/+0
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>