| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
am: bc8399dda5
Change-Id: Ibaa2c4dae3726c32b1f7a815da2ee69a0f5d3b20
|
| |\
| | |
| | |
| | |
| | |
| | | |
am: 6a3e9a164c
Change-Id: Ic1e399d649e8345763e83e356305663116dda0ef
|
| |/|
| | |
| | |
| | |
| | |
| | | |
am: 9f8f6f4ae3
Change-Id: I5fd8632b5db9dd1f4fab3b2fbf5ae955e88059ca
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Disable existing warnings and enable -Werror to prevent
any regressions.
Bug: 31434916
Test: make -j60 iw produces no warnings
Change-Id: Ia7f69acefc1eea55fbeb609e0a48e261f62c8b44
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ec3bcbbb4e
am: 4f45c7b49c
Change-Id: I8d7373eb3e4b6fcbb2c1dd00ea3e3986a2b5dcc6
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
am: ec3bcbbb4e
Change-Id: Iea598027b02917415bd33a11bae650e6d8f66b0e
|
| |/| |
| | |/
| | |
| | |
| | |
| | | |
am: 480621336e
Change-Id: I2c855e5ab849531d9dceadc0908871cfce326056
|
| |/|
| | |
| | |
| | |
| | |
| | | |
am: ed243cb4cb
Change-Id: I76bef59ba7131e9df85f7a36ec79f0f67f40649e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This isn't producing the correct results anyways, since the working
directory of the script is the top level of the android tree, not
external/iw like the script expects. And moving the working directory
doesn't help either, since we don't have a copy the git tags that it
expects.
I noticed this while testing git submodules as an alternative to repo,
where we suddenly have a .git directory at the top level, and the script
failed.
So just extract the version number itself from the script and write out
our own version.c file.
Test: m out/target/product/generic/gen/EXECUTABLES/iw_intermediates/version.c
Test: Compare version.c before/after
Change-Id: I98ff4e44b84afbcd2ce8319ccf6816d5fa57a90a
|
|\| |
| | |
| | |
| | |
| | |
| | | |
am: 8fb75ca6f9
Change-Id: I087949730bf3a31f422c923741b59f7d7af4f22d
|
|/| |
| |/
| |
| |
| |
| | |
am: 2750da3372
Change-Id: I489a54830af9aa28aba4001490dfddf45e1ce1f8
|
|/|
| |
| |
| |
| |
| | |
am: 9de42714ca
Change-Id: Ia17d1602907a4b28db72ad19591bf45b2803bc4a
|
|/|
| |
| |
| |
| |
| | |
am: 9235006c4b
Change-Id: I462308ffea38483075f1aa06bdc25f86f3879af3
|
|/
|
|
| |
Change-Id: Ifa778f084405647b10166b3cb82d290f44780969
|
|
|
|
|
|
|
| |
Silence some (benign) warnings.
Bug: 26105799
Change-Id: I5c8444662e0673f730d2ad196ad25d52d36cbead
|
|\
| |
| |
| | |
Change-Id: Iddc76f624b3655a84643749f430362fd6d5bce6f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
|
| |
Print if VHT-IBSS is supported.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
| |
(To 4.1-rc2)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
| |
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
|
| |
These were added to cfg80211 recently
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
| |
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|
|
|
|
| |
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
|