Permalink
Commits on Dec 13, 2011
  1. wpa_supplicant: conf file updated

    Change-Id: Ia06f505eb1128e38afc6a035da77192ff77ab27e
    Signed-off-by: Ido Reis <idor@ti.com>
    Ido Reis committed Dec 13, 2011
Commits on Dec 8, 2011
  1. @elp

    update nl80211_copy.h

    for NL80211_STA_FLAG_PRE_ASSOC
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    elp committed with Yotam Rubin Dec 7, 2011
  2. rx filters: Add support for longer patterns

    - Add support for long patterns (longer than 8 bytes)
    - Separate Rx filters static configuration from code
    - Add DHCP and ARP Rx filters
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Assaf Azulay <assaf@ti.com>
    
    Conflicts:
    
    	src/drivers/driver_nl80211.c
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  3. driver_nl80211 - added the power save private driver commands for And…

    …roid
    
    Implemented support to POWERMODE and GETPOWER private commands
    for Android.
    
    Signed-off-by: Guy Eilam <guy@wizery.com>
    
    Conflicts:
    
    	src/drivers/driver_nl80211.c
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  4. hostap: set ht_capab from wiphy when in P2P GO mode

    Set the HT capabilities of a P2P GO according to the wiphy supported
    ones. Mask-in a white-list of HT capabilities that won't cause problems
    for non-supporting stations.
    
    Signed-hostap: Arik Nemtsov <arik@wizery.com>
    
    Conflicts:
    
    	wpa_supplicant/ap.c
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  5. @eyalsh

    sched scan: Logic changes

    Scan up to 16 network of the top priority in the configuration using
    sched scan. If there are more than 16 use normal scan as well.
    Stop using the timeout mechanism and interval/timeout backoffs.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Dec 4, 2011
  6. @eyalsh

    sched scan: Fallback to normal scan during WPS

    This is a fix for the WPS problem where WPS
    session wasn't initiated until an manual scan was triggered.
    During WPS session we need a periodic broadcast scan
    to occur so that APs will see that we're in WPS session.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Dec 4, 2011
  7. sched scan: Update scan according to changes in network list

    sched scan wasn't updated according to changes in the network list
    (enable/disable/remove). This caused the FW to continue scanning
    with the wrong list configured which triggered problems.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    
    Conflicts:
    
    	wpa_supplicant/wpa_supplicant.c
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  8. @eyalsh

    sched scan: Avoid scan if no enabled networks

    There's no point to sched scan when there's no enabled networks.
    This also fixes a bug where the supplicant would reset
    its scan results in case such a sched scan was initiated
    and therefore would cause a "flickering" network list effect on Android.
    (For a moment you see the network list and the next it's empty)
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Dec 4, 2011
  9. @eyalsh

    sched scan: Avoid changing state to SCANNING

    sched scan was indicating to the supplicant that scanning was in progress
    which prevented broadcast scan attempts from cli (or in Android from the
    framework).
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Dec 4, 2011
  10. @eyalsh

    sched scan: Turn passive scan into active

    In case there are no scan_ssid networks in the conf
    passive scan was done. Better do an active scan using
    broadcast probe request as it's shorter
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Nov 21, 2011
  11. @eyalsh

    sched scan: Fix passive scanning

    Scan wasn't initiated in case the config contained only networks without scan_ssid.
    In such a case we want scan to be initiated without any SSIDs to actively scan
    but include all the SSIDs in the filter list.
    Also added some debug logs to easily see which SSIDs were included in which list.
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    eyalsh committed with Yotam Rubin Nov 6, 2011
  12. driver_nl8011: Add support for DRIVER RXFILTER command

    Add support for this Android specific feature using WoWLAN packet
    pattern triggers.
    
    Signed-off-by: Pontus Fuchs <pontus.fuchs@tactel.se>
    
    Conflicts:
    
    	src/drivers/driver_nl80211.c
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  13. driver_nl80211 - added private driver commands for Android

    Added the private driver commands function for Android and all
    the framework which is needed for its call and usage.
    Only a couple of the private commands are implemented for now:
    START
    STOP
    MACADDR
    RSSI
    RSSI-APPROX
    LINKSPEED
    
    Need to implement also those commands (in future commit):
    SCAN-PASSIVE
    SCAN-ACTIVE
    SCAN-MODE
    POWERMODE
    GETPOWER
    
    Conflicts:
    
    	src/drivers/driver.h
    	src/drivers/driver_nl80211.c
    	src/drivers/linux_ioctl.c
    	wpa_supplicant/driver_i.h
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Yotam Rubin committed Dec 8, 2011
  14. nl80211: update nl80211_copy.h to add support for WPL

    Updated nl80211_copy.h to match the one in the kernel.  This adds a
    few new attributes for both schedualed scan and WPL.
    This is an alignment to support all latest features.
    
    Signed-off-by: Ido Reis <idor@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Ido Reis committed with Yotam Rubin Oct 17, 2011
  15. wpa_s: add extra IEs for P2P and WPS in scheduled scan probe reqs

    When WPS and P2P are enabled, we need to send the proper IEs in the
    probe requests sent during scheduled scans.  Add extra IEs to the
    scheduled scan parameters.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  16. wpa_s: add delayed scheduled scan request

    When initializing, the scheduled scan code was being called before
    everything is ready.  With normal scans, the first scan round is
    delayed, so the initialization is finished by the time it really
    starts.
    
    Add a function that can be used to request a delayed scheduled scan.
    The scan will only start after the specified time has elapsed.  Call
    this function instead of starting the scheduled scan directly during
    driver initialization.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  17. nl80211: add support for sched_scan filtering

    Use the SSID filter list passed in the scheduled scan request down to
    the kernel driver, so it can use the list to return only the wanted
    SSIDs.  Some kernel drivers can use this information to offload the
    SSID filter to the hardware, helping with reducing the power
    consumption.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  18. wpa_s: add filter support to scheduled scans

    Pass SSIDs to be matched in scheduled scan results.  Only the SSIDs
    that are included in the match lists will be reported by the driver,
    so the filtering can be offloaded to the hardware and the power
    consumption can be reduced.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  19. nl80211: check if sched_scan is supported in wiphy info

    Tell wpa_supplicant whether sched_scan is supported by the driver by
    looking into the wiphy info data.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  20. wpa_s: check if sched_scan is supported before using it

    Previously, we were trying to use scheduled scan without checking
    whether the driver supports it.  This is okay, but it is not efficient
    because we need to go all the way down to the kernel driver before we
    find out it is not supported.
    
    This patch adds a capability flag in wpa_supplicant that is used to
    check whether sched_scan is supported or not.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  21. wpa_s: Increase number of SSIDs per scan

    With scheduled scan support, we may need to pass more than 10 SSIDs in
    a single scan request.  Some drivers (eg. wl12xx) support up to 16
    SSIDs at once.
    
    Change WPAS_MAX_SCAN_SSIDS from 10 to 16.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  22. wpa_s: use sched_scan in driver init

    This patch uses sched_scan, if available, when the driver is
    initialized.  It also adds a couple of cancel operations where
    appropriate.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  23. nl80211: add scheduled scan support

    This commit adds scheduled scan support in the nl80211 driver.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  24. nl80211: update nl80211_copy.h to add support for scheduled scan

    Updated nl80211_copy.h to match the one in the kernel.  This adds a
    few new attributes for scheduled scan.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Ido Reis <idor@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  25. wpa_s: add scheduled scan driver operations

    In new kernel versions (>=3.0), NL80211 adds scheduled scan
    capability.  In order to use this feature to its full extent, we need
    to support it in the wpa_supplicant core, so that it can also be used
    by other drivers.
    
    This commit adds initial scheduled scan support operations and events.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  26. wpa_s: reorganize P2P and WPS scan code

    Move some code to separate functions to reorganize the P2P and WPS
    handling during scans.  This makes the code a bit cleaner and is
    needed for the scheduled scan implementation to avoid duplicated code.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    Luciano Coelho committed with Yotam Rubin Sep 30, 2011
  27. Revert "AP: use uapsd if go_apsd was set"

    This reverts commit 15a834d.
    Yotam Rubin committed Dec 8, 2011
  28. Revert "AP: Add station before sending the association response"

    This reverts commit dc9fd08.
    Yotam Rubin committed Dec 8, 2011
  29. @elp

    AP: use uapsd if go_apsd was set

    don't set params.uapsd to -1, as it's a valid value.
    
    set conf->bss->wmm_enabled and conf->bss->wmm_uapsd
    to enable (and advertise) wmm.
    
    This is currently only a workaround, until we'll have
    a more generic way to set GO params.
    
    Signed-off-by: Yotam Rubin <yotam@wizery.com>
    elp committed with Yotam Rubin Jul 24, 2011
  30. @elp

    AP: Add station before sending the association response

    There is a race condition between adding an associated sta (which
    happens on assoc_rsp tx completion) and getting the first
    packet.
    
    In the case of IEEE 802.1X we might drop the first EAPOL Start
    packet which will result in unsuccessful connection.
    
    Solve it by adding the associated station before sending the
    association response.
    elp committed with Yotam Rubin Jul 24, 2011
Commits on Nov 16, 2011
  1. wpa_supplicant: enable ROAMING in config

    CONFIG_ROAMING flag was added in Android for roaming and it is
    turned off by default.
    
    Change-Id: I3eb21cc5da656e7686e2f1f8d20df2e86696e788
    Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
    Vishal Mahaveer committed with Keith Deacon Oct 26, 2011
  2. Enable CONFIG_NO_RANDOM_POOL and CONFIG_IEEE80211N in .config

    Change-Id: I8fdc489aafc0709c2c1a7d53f264f9f2c38a1765
    Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
    Vishal Mahaveer committed with Keith Deacon Oct 24, 2011
  3. Sync nl80211_copy.h with R4-SP1 release

    Sync nl80211_copy.h with R4-SP1 release of TI.
    
    Change-Id: I10c0d69bd5b784fcc3c75cdc922bda40c90a71dd
    Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
    Vishal Mahaveer committed with Keith Deacon Oct 24, 2011
  4. @elp

    P2P: use GO channel for Operating Channel IE

    Change-Id: I5285126515b47cd3b4cdce717310835f23a78f0a
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
    elp committed with Keith Deacon Aug 22, 2011