Permalink
Commits on Nov 30, 2012
  1. @yairs534 @ariknem

    wl18xx: set default ht.mode to HT_MODE_WIDE (INTERNAL)

    Now that RDL1_3 has 2 antennas defined by default we need to explicitly
    define ht.mode to HT_MODE_WIDE to have SISO40 as default.
    
    Signed-off-by: Yair Shapira <yair.shapira@ti.com>
    yairs534 committed with ariknem Nov 19, 2012
  2. @eyalsh @ariknem

    mac80211: reject BA action frames if sent fron non HT STA (INTERNAL)

    The FW doesn't work well with BA sessions started from non 802.11n
    STAs. Reject these as a work around until the FW issue is fixed.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
    eyalsh committed with ariknem Nov 3, 2012
  3. @ariknem

    nl80211: sync nl80211.h header to supplicant (INTERNAL)

    This patch includes the following changes:
    - Add headers for NL80211_WOWLAN_ACTION and the associated action types.
      This feature is yet to be ported from R5 (probably wl12xx only at
      first).
    - Leave some room for adding nl80211 commands - our commands will now
      start after leaving a gap of 10 in the appropriate enum. This will
      ensure old kernel can work well with new wpa_supplicants (ABI-wise).
    - Add channel switch related commands
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed Jul 18, 2012
  4. @elp @ariknem

    mac80211: allow disabling scans while another vif is active (INTERNAL)

    Add new disable_scan_while_active module_param, to allow
    disabling scanning on one interface while another sta/ap
    interface is active.
    
    Return EBUSY in that case.
    
    (This is a limitation of some wl12xx/wl18xx FWs)
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed with ariknem Aug 2, 2012
  5. @ariknem

    wlcore: scan on the dev role for the p2p mgmt iface (INTERNAL)

    When starting a p2p mgmt interface, enable its device role. This
    allows us to keep the sta role disabled and scan on the dev role.
    
    In the scan code fallback to the dev role if the regular role id is
    invalid.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed Aug 5, 2012
  6. @ariknem

    mac80211: mark the p2p0 interface with a special flag (INTERNAL)

    This flag indicates the lower driver the interface will be used for
    p2p management operations only (p2p find). This will be superseded
    by pending upstream patches making p2p a wdev-only interface.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed Aug 5, 2012
  7. @igalc @ariknem

    wlcore: limit size of aggr_pkts_reason statistics (INTERNAL)

    Set the size of aggr_pkts_reason statistics array depending
    on the number of tx descriptors.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
    igalc committed with ariknem Jul 31, 2012
  8. @ariknem

    wlcore: android: don't suspend on pending recovery (INTERNAL)

    Some customers complain that if we cancel a pending recovery during
    suspend, the android scheduler will keep banging on the suspend handler,
    without letting recovery take its course. Grab a wakelock to give the
    recovery process some breathing room.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed Jun 27, 2012
  9. @ariknem

    wl18xx: handle dbg aggr size vs rate in a dedicated function (DEBUG)

    Size of the output is approximately 2 pages. I am using seq_file API
    to avoid overflow of the output buffer and ensure that all chars are
    going through to the user space.
    
    Signed-off-by: Arkady Miasnikov <a-miasnikov@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Arkady Miasnikov committed with ariknem Jun 13, 2012
  10. @igalc @ariknem

    wlcore: update debugfs for tx aggregation stats (INTERNAL)

    Use allocated size for aggr_pkts_reason instead of define
    WLCORE_AGGR_MAX_PACKETS.
    [Is to be applied on top of wlcore/wl18xx/wl12xx: aggregation buffer size set
    patch.]
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
    igalc committed with ariknem Jul 31, 2012
  11. @ariknem

    wlcore: add counters with reasons for aggr packet sending (DEBUG)

    Count the reasons that triggered us to send the buffer to the firmware
    for transmission.  Count buffer_full, fw_buffer_full, other reasons
    and no_data left to send.
    
    This is useful when debugging throughput issues.
    
    To have a better understanding of what is going on in the TX data
    path, we can count the number of times we sent n packets.  For
    example, if we sent 10 times aggregations of 2 packets, we print [2] =
    10.
    
    Instead of counting the reasons as an overall value, we count the
    reasons for each number of packets used in the aggregation.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed with ariknem May 21, 2012
  12. @eyalsh @ariknem

    wlcore: report roaming disabled when switching to multirole (INTERNAL)

    In multirole single channel userspace should be notified
    so that it can stop background scans and roaming attempts.
    This is intended in order to prevent a roaming attempt
    to a different channel and breaking another role active
    an additional interface.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    eyalsh committed with ariknem Jan 24, 2012
  13. @eyalsh @ariknem

    nl/mac80211: add roaming capability event to API (INTERNAL)

    Some drivers (e.g. wlcore) may want to notify
    userspace that roaming is limited and that
    background scan and roaming attempts can be stopped.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    eyalsh committed with ariknem Jan 24, 2012
  14. @eyalsh @ariknem

    wlcore: support short and long interval in sched scan (INTERNAL)

    Configure sched scan in FW to use a short interval
    for the first X cycles and the switch to a longer interval.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    eyalsh committed with ariknem Jan 18, 2012
  15. @elp @ariknem

    nl80211: support short and long interval in sched scan (INTERNAL)

    Enable having a short interval for sched scan for a
    given number of intervals and then switch to a longer interval.
    Have sched scan users (ath6kl and wl12xx) use long_interval
    field instead of just interval as a rename was needed.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    
    Conflicts:
    
    	drivers/net/wireless/ti/wl18xx/scan.c
    elp committed with ariknem Nov 18, 2012
  16. @elp @ariknem

    mac80211: fix list_aliases handling (INTERNAL)

    commit 37a5502 ("cfg80211: more correct support of multi-essid bss-es")
    used the wrong syntax for adding an entry to existing list, causing
    memory corruption later on, if the original list was not empty.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed with ariknem May 22, 2012
  17. @dmitry-tarnyagin @ariknem

    cfg80211: more correct support of multi-essid bss-es (INTERNAL)

    More correct implementation of the same idea as in the
    "cfg80211: merge in beacon ies of hidden bss" commit.
    
    The patch implements linked list of aliases for bss (alias is a bss
    with the same key information but with different ESSID).
    Ie update rules when new beacon/proberesp is coming:
     - Beacon updates target bss and aliases with empty beacon ies list.
     - Probe response ies updates only target bss structure.
     - Beacon ies of incoming probe response are filled with
       beacon ies taken from an alias.
    
    Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    dmitry-tarnyagin committed with ariknem Nov 16, 2011
  18. @elp @ariknem

    mac80211: retry auth and assoc on error 17 (INTERNAL)

    In some congested environments APs return
    WLAN_STATUS_AP_UNABLE_TO_HANDLE_NEW_STA on auth/assoc
    attempt. Instead of failing immediately, retry again
    in 200 msec.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with ariknem May 15, 2012
  19. @elp @ariknem

    wlcore: add support for dynamic scan configuration (INTERNAL)

    Adding new scan setup parameters: min/max dwell time
    and number of probe requests.
    Default scan parameters will be used whenever user doesn't set
    these new scan parameters during the scan.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    
    Conflicts:
    
    	drivers/net/wireless/ti/wl18xx/scan.c
    elp committed with ariknem Nov 18, 2012
  20. @victorgld @ariknem

    nl80211/cfg80211: add new scan configurations attributes (INTERNAL)

    To enhance scan abilities by being able to setup some low level
    scan parameters dynamically during NL80211_CMD_TRIGGER_SCAN
    command.
    
    Exposing 3 new attributes:
      NL80211_ATTR_SCAN_MIN_DWELL: Minimum scan dwell time (in TUs), u32
    	attribute to setup minimum time to wait on each channel, if received
    	at least one probe response during this period will continue waiting
    	%NL80211_ATTR_SCAN_MAX_DWELL, otherwise will move to next channel.
     	This is optional attribute, so if it's not set driver should
    	use hardware default values.
      NL80211_ATTR_SCAN_MAX_DWELL: Maximum scan dwell time (in TUs), u32
    	attribute to setup maximum time to wait on each channel.
    	This is optional attribute, so if it's not set driver should
    	use hardware default values.
      NL80211_ATTR_SCAN_NUM_PROBE:  Attribute (u8) to setup number of probe
     	requests to transmit on each active scan channel, used with
    	NL80211_CMD_TRIGGER_SCAN command.
    
    These attributes are also required for the beacon reports in the
    802.11k standard.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  21. @victorgld @ariknem

    nl80211/cfg80211: add intermediate scan result filter (INTERNAL)

    User might want to be notified with intermediate scan results only
    above some minimal RSSI. Adding new NL80211_ATTR_IM_SCAN_RESULT_MIN_RSSI
    u32 attribute for the intermediate scan results  RSSI filtering mechanism,
    which will significantly reduce unnecessary Kernel-User traffic.
    It might be optionally enabled during NL80211_CMD_TRIGGER_SCAN.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  22. @victorgld @ariknem

    mac80211: add intermediate scan result event call (INTERNAL)

    Adding "cfg80211_send_intermediate_result" call on reception
    of new beacon/probe response.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  23. @victorgld @ariknem

    nl80211/cfg80211: add intermediate scan result event (INTERNAL)

    Adding intermediate scan result event by exposing new
    NL80211_CMD_IM_SCAN_RESULT event, which will contain
    NL80211_BSS_BSSID to specify the BSSID of received scan result and
    NL80211_BSS_SIGNAL_MBM to indicate signal strength.
    
    This event might be optionally enabled during
    NL80211_CMD_TRIGGER_SCAN, with NL80211_ATTR_IM_SCAN_RESULT
    flag attribute.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  24. @victorgld @ariknem

    mac80211: add 'scan_cancel' command (INTERNAL)

    Implementing the scan_cancel operation in the mac80211,
    by calling existing ieee80211_scan_cancel() function.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  25. @victorgld @ariknem

    nl80211/cfg80211: add 'scan_cancel' command (INTERNAL)

    Mostly from an energy consumption and cpu load perspective,
    it can be useful to stop a triggered scan earlier, when one
    finds the desired scan results.
    Adding the ability to stop a scan from user space by exposing
    new NL80211_CMD_SCAN_CANCEL API.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    victorgld committed with ariknem May 16, 2012
  26. @eyalsh @ariknem

    nl80211: report stopped sched scan only after driver does (INTERNAL)

    Report NL80211_CMD_SCHED_SCAN_STOPPED and change internal
    states in cfg80211 only after the driver reports that
    sched scan was actually stopped.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    eyalsh committed with ariknem Dec 20, 2011
  27. @ariknem

    wlcore/wl12xx/wl18xx: add version.h to a new .gitignore file (INTERNAL)

    This file is generated by the build process and we should not store it.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    ariknem committed May 11, 2012
  28. @ariknem

    wlcore: force recheck of version.h and use -dirty if needed (INTERNAL)

    If the tree was changed and unstaged or if a new tag was added, we
    were not regenerating the version.h file, so it would contain outdated
    information.
    
    To fix this, force the version.h file to be rechecked during make and
    use __TIMESTAMP__ instead of using the shell's date command, so that
    we don't regenerate it everytime.
    
    Additionally, use --dirty in git describe to mark dirty trees as such.
    
    Thanks Eliad for the help with this.
    
    Cc: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    
    wlcore/wl12xx/wl18xx: don't force version check everytime (SQUASH)
    
    With compat-wireless, we shouldn't force the version.h file checks,
    otherwise it will overwrite what we generated in compat-wireless
    itself.  This was only needed for dirty trees anyway.  The side-effect
    is that the version will not be regenerated when the tree becomes
    dirty.
    
    Should be squashed with c062da5.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed with ariknem Feb 20, 2012
  29. @elp @ariknem

    wlcore/wl18xx/wl12xx: add version and timestamp strings (INTERNAL)

    In order to allow better version control, add version
    and timestamp strings into the wl12xx module.
    
    These strings will be printed on driver load, and when
    reading the driver_state.
    
    (this is not going to work well in compat, because it
    copies all the files instead of compiling them in the
    original tree, so the version of the compat tree will
    appear as the driver version. we can workaround it
    with the additional makefile hacks...)
    
    NOTE: I couldn't find how to make one module recompile
    when the .h file of another module was changed, so i
    just duplicated it for now.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with ariknem Feb 7, 2012
  30. @elp @ariknem

    mac80211: don't stop beaconing when going offchannel (INTERNAL)

    wl12xx manages the channel per-role, so there is no need
    to explicitly stop beaconing when doing offchannel operations,
    as the device will take care of it by itself.
    
    This way we avoid redundant stop_ap/start_ap calls when
    doing offchannel operations on another vif (e.g. auth)
    
    NOTE: this patch shouldn't go upstream. we have to come up
    with more generic multi-channel solution...
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with ariknem Jan 25, 2012
  31. @elp @ariknem

    wlcore: android: set "any" trigger by default (INTERNAL)

    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with ariknem May 23, 2011
  32. @elp @ariknem

    wlcore: android: add wake_locks (INTERNAL)

    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with ariknem May 20, 2011
  33. @yonid @ariknem

    wlcore: set default_wep_key when configured (INTERNAL)

    When associating to an AP with WEP set the
    default key upon association by implementing
    the set_deafult_key_idx op.
    
    Fixes auto-arp sent with wrong key_idx bug.
    
    Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    yonid committed with ariknem Jan 30, 2012
  34. @yonid @ariknem

    mac80211: add op to configure default key id to driver (INTERNAL)

    When hw_accel is enabled and encryption type is set to WEP,
    the driver should get the default key index from mac80211.
    
    Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    yonid committed with ariknem May 8, 2012
  35. @elp @ariknem

    add blaze_defconfig (INTERNAL)

    elp committed with ariknem May 24, 2012