Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: smart_config_39
Commits on May 12, 2013
  1. @elp

    wlcore: increase max roc duration to 30 seconds

    elp authored
    we don't have any actual limitation in the driver, so
    increase it arbitrarily to 30 seconds (for smart_config)
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  2. @elp

    wlcore: add testmode smart_config set group key command

    elp authored
    Add testmode command to configure a group key for
    a smart config group.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  3. @elp

    wlcore: add smart_config set group key command

    elp authored
    implement wlcore_cmd_smart_config_set_group_key which
    will be used in order to configure a key for
    a smart_config group.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  4. @elp

    wlcore: handle SMART_CONFIG events

    elp authored
    add defintions and handling for SMART_CONFIG_SYNC_EVENT_ID
    and SMART_CONFIG_DECODE_EVENT_ID events.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  5. @elp

    wlcore: handle smart_config_start/stop testmode commands

    elp authored
    userspace can ask to enter/exit smart_config mode via
    smart_config_start and smart_config_stop testmode commands.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  6. @elp

    wlcore: add smart_config testmode definitions

    elp authored
    Add testmode attributes and events that will be used
    during smart_config.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  7. @elp

    wlcore: move testmode definitions to testmode.h

    elp authored
    These definitions will be used by userspace as well
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  8. @elp

    wlcore: wrap testmode.h code with __KERNEL__

    elp authored
    we are going to move the testmode definitions to testmode.h,
    and then use it by userspace as well, so wrap any kernel-only
    code with a proper ifdef.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  9. @elp

    wlcore: add smart_config_start/stop commands

    elp authored
    These commands configures the fw to enter and
    exit smart_config mode.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  10. @elp

    wlcore: add smart config definitions

    elp authored
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  11. @ariknem @elp

    wlcore: wl18xx: allow CCK rates for AP mode

    ariknem authored elp committed
    12xx chips allow only OFDM rates in AP mode for BT-Coex purposes. This
    is no longer required in 18xx chips, starting with FW 8.6.0.0.8.
    
    Update the min allowed FW version in 18xx to support this functionality.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  12. @igalc @elp

    wlcore: fix interrogate command length

    igalc authored elp committed
    Change interrogate command prototype to have command size and returned
    buffer length. This fixes the issue when command parameters are to
    be passed to FW in addition to acx header as in the case with get RSSI command
    where role_id is to be passed.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
  13. @elp

    wlcore: add ap_event_mask

    elp authored
    Add new ap_event_mask field, to indicate events that
    should be unmasked only when there's an ap interface.
    
    This is done in order to avoid spurious wakeups
    when we don't care about the incoming event anyway.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  14. @ariknem @elp

    wlcore: allow setting min req rx blocks in debugfs

    ariknem authored elp committed
    Also fix IRQ timeout in debugfs (related to Rx irq pacing).
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  15. @ariknem @elp

    wlcore: debugfs: allow changing tx pacing settings

    ariknem authored elp committed
    This is helpful for tweaking settings for new platforms
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  16. @ariknem @elp

    wlcore: debugfs: avg number of loops in wlcore_irq

    ariknem authored elp committed
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  17. @ariknem @elp

    wlcore: add tx/rx number of packets per interrupt to debugfs

    ariknem authored elp committed
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  18. @ariknem @elp

    wlcore: add avg Tx aggregation size to debugfs

    ariknem authored elp committed
    This helps determine if we are sending traffic efficiently over the bus.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  19. @victorgld @elp

    wlcore: print active channel in the driver_state

    victorgld authored elp committed
    Print current active channel/s and a role type for
    that channel in the driver_state debugfs.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
  20. @eyalsh @elp

    mac80211: use legacy mode for all ACs

    eyalsh authored elp committed
    AVM FritzBox 7390 has a weird behaviour where once we enable
    U-APSD only on the VO AC it limits the rate of the packets
    it sends to 39Mbps and doesn't do AMPDU aggregation.
    This causes a big degradation in throughput obviously.
    It's important to note that this isn't related to PS and happens
    also when ACTIVE is forced. The traffic affected is sent in BE AC.
    Once legacy mode for all ACs is used the AP begins using higher rates
    as well as AMPDU aggregation which improves throughput significantly.
    
    In order to deal with this AP and potentially others switch to
    using legacy mode for all ACs by default.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  21. @ariknem @elp

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

    ariknem authored elp committed
    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).
    - channel switch related commands
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  22. @ariknem @elp

    wlcore: configure rate policies for p2p mgmt interface (INTERNAL)

    ariknem authored elp committed
    Otherwise p2p packets come out with arbitrary rates.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  23. @elp

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

    elp authored
    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>
  24. @ariknem @elp

    wlcore: block most mac80211 ops on p2p mgmt iface (INTERNAL)

    ariknem authored elp committed
    In general, p2p management interfaces cannot send vif-specific commands
    to FW, as the vif role id is invalid. Only off-channel data and scans
    happen on this vif, so most ops are not relevant.
    
    If the vif is a p2p mgmt vif, block non relevant mac80211 ops.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  25. @ariknem @elp

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

    ariknem authored elp committed
    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>
  26. @ariknem @elp

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

    ariknem authored elp committed
    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>
  27. @igalc @elp

    wlcore: limit size of aggr_pkts_reason statistics

    igalc authored elp committed
    Set the size of aggr_pkts_reason statistics array depending
    on the number of tx descriptors.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
  28. @igalc @elp

    wlcore: add num tx desc parameter to alloc_hw

    igalc authored elp committed
    Add number of Tx descriptors as new paramter to wlcore_alloc_hw function.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
  29. @elp

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

    Arkady Miasnikov authored elp committed
    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>
  30. @igalc @elp

    wlcore: delete unused WL1271_AGGR_BUFFER_SIZE def

    igalc authored elp committed
    WL1271_AGGR_BUFFER_SIZE and WLCORE_AGGR_MAX_PACKETS unused
    defines are deleted, aggr_buf_size from wl1271 structure is used
    instead.
    
    [Arik - rework for upstream]
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  31. @igalc @elp

    wlcore: update debugfs for tx aggregation stats

    igalc authored elp committed
    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>
  32. @eyalsh @elp

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

    eyalsh authored elp committed
    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>
  33. @eyalsh @elp

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

    eyalsh authored elp committed
    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>
  34. @eyalsh @elp

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

    eyalsh authored elp committed
    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>
  35. @eyalsh @elp

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

    eyalsh authored elp committed
    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>
Something went wrong with that request. Please try again.