Permalink
Commits on Jun 7, 2016
  1. iw: Allow scan, connect using 5Mhz channels.

    Just passing down the specified channel widht with the scan
    and connect netlink messages.
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 7, 2016
  2. iw: Allow scanning on 5, 10Mhz channel widths.

    This is useful when dealing with half and quarter width
    frequencies.
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 7, 2016
  3. iw: 5-10 Mhz bandwidth support.

    From: matthias.may@neratec.com
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 7, 2016
  4. iw: Support 5-10 HT rates.

    From: matthias.may@neratec.com
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 7, 2016
  5. iw: Support 5-10 Mhz bandwidths.

    From: matthias.may@neratec.com
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 7, 2016
Commits on Sep 17, 2015
  1. iw: Use ifname if available, print new/del/stop events.

    If the kernel sends the IFNAME in the netlink message, then
    use it to save the call to map ifindex to name (and
    potentially fix races, especially when kernel is
    busy deleting an interface.
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 10, 2015
  2. Fix compile on systems that don't have htole16.

    Use htons and manual tweaking to get it right.
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    committed Jun 18, 2013
Commits on Aug 13, 2015
  1. iw: avoid passing NULL to nla_data()

    The attr pointer is checked for NULL but the function
    doesn't handle it appropriately - fix that.
    
    Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
    Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Amit Khatri committed with jmberg Aug 13, 2015
  2. iw: cqm: check nlmsg_alloc() return

    If nlmsg_alloc() fails, don't crash but return an error.
    
    Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
    Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Amit Khatri committed with jmberg Aug 13, 2015
  3. iw: remove android-nl.c with unneeded workaround

    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.
    
    Signed-off-by: Filipe Brandenburger <filbranden@google.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    filbranden committed with jmberg Jul 30, 2015
  4. iw: fix references to libnl in Android.mk

    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.
    
    Signed-off-by: Filipe Brandenburger <filbranden@google.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    filbranden committed with jmberg Jul 30, 2015
  5. iw: free memory on scan parse errors

    Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
    Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    Amit Khatri committed with jmberg Jun 26, 2015
  6. iw: remove cb from arguments and simplify valid handler

    Just provide our own valid handler and let the command
    functions assign it without going through the cb.
    
    (With the event handling fixed by Eliad Peller)
    
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    jmberg committed Jun 26, 2015
Commits on Jun 17, 2015
  1. iw: add connected time to station info

    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
    ariknem committed with jmberg Jun 3, 2015
  2. iw: print beacon-loss and wiphy delete events

    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>
    committed with jmberg Jun 11, 2015
Commits on Jun 8, 2015
  1. iw: only use tags matching "v*"

    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>
    jmberg committed Jun 8, 2015
Commits on May 5, 2015
  1. bump version to 4.1

    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    jmberg committed May 5, 2015
  2. iw: handle NL80211_ATTR_EXT_FEATURES attribute

    Print if VHT-IBSS is supported.
    
    Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    dziedjan committed with jmberg Mar 30, 2015
  3. update nl80211.h

    (To 4.1-rc2)
    
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    jmberg committed May 5, 2015
  4. iw: trivial spelling fix (initial)

    Introduced in 29af201, "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>
    pkgadd committed with jmberg Apr 28, 2015
Commits on Mar 30, 2015
  1. iw: Print OSEN element for HotSpot 2.0 IE.

    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>
    committed with jmberg Mar 17, 2015
Commits on Mar 17, 2015
  1. iw: add randomise option for sched_scan

    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>
    Luciano Coelho committed with jmberg Mar 17, 2015
  2. iw: add support for active scheduled scan

    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>
    Luciano Coelho committed with jmberg Mar 17, 2015
  3. iw: implement scheduled scan

    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>
    Luciano Coelho committed with jmberg Mar 17, 2015
  4. iw: move generic sched scan parsing code out of net detect

    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>
    Luciano Coelho committed with jmberg Mar 17, 2015
  5. version 4.0

    jmberg committed Mar 17, 2015
  6. iw: add a delay option to net-detect

    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>
    Luciano Coelho committed with jmberg Mar 13, 2015
Commits on Mar 3, 2015
  1. phy: Allow set netns by fd

    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>
    vkochan committed with jmberg Feb 14, 2015
  2. update nl80211.h

    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    jmberg committed Mar 3, 2015
  3. iw: print human readable radar events

    Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
    Signed-off-by: Johannes Berg <johannes.berg@intel.com>
    helmut-jacob committed with jmberg Jan 30, 2015
Commits on Jan 14, 2015
  1. Read number of supported net-detect matches

    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>
    Luciano Coelho committed with jmberg Jan 13, 2015
  2. iw: Add OCB mode handling

    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>
    lisovy committed with jmberg Jan 12, 2015
Commits on Jan 6, 2015
  1. iw: fix android build

    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>
    ariknem committed with jmberg Jan 6, 2015
Commits on Dec 17, 2014
  1. iw: support multiple regdom print

    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>
    ariknem committed with jmberg Dec 15, 2014
  2. update nl80211.h

    jmberg committed Dec 17, 2014