Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: pacing_fix
Commits on Feb 18, 2013
  1. @ariknem

    wlcore: separate Tx/Rx notifications from FW

    ariknem authored
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Feb 11, 2013
  1. @ariknem

    wlcore: hold jiffies in unsigned long

    ariknem authored
    u32 can be incorrect (too small) for some architectures.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  2. @ariknem

    wlcore: cancel channel switch work on interface removal

    ariknem authored
    Otherwise, if the work is pending, we might get a bad dereference after
    the interface is removed.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  3. @ariknem

    wlcore: ROC on AP channel before auth reply

    ariknem authored
    Start a ROC on the AP channel beforing sending the authentication reply
    to a connecting STA. This ROC is held up to 1 second via a timer. If the
    station is authorized and added by mac80211, the ROC is extended until
    the station is fully authorized.
    We make sure not to ROC twice when several stations are connecting in
    parallel and to only release the ROC when both the pending-reply timer
    and the STA-state callbacks do not require it.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Feb 6, 2013
  1. @gitido @ariknem

    wlcore: Add missing wake_unlock in op_resume

    gitido authored ariknem committed
    When resuming, wlcore_irq_locked is called directly, but the wake lock which
    was acquired in op_suspend is not released. Fix this.
    
    Signed-off-by: Ido Yariv <ido@wizery.com>
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  2. @gitido @ariknem

    wlcore: Don't acquire a wakelock in the hardirq unless waking up

    gitido authored ariknem committed
    This wakelock doesn't seem to protect against a reoccurring race, but only
    cases in which the system starts suspending after the hardirq was serviced but
    prior to the threaded irq. This is not very likely and being handled by
    flushing the interrupts in the suspend op.
    
    Signed-off-by: Ido Yariv <ido@wizery.com>
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Feb 4, 2013
  1. @victorgld

    wl18xx: send EAPOL frames with TID 7

    victorgld authored
    Send EAPOL frames as voice, this should fix
    rekeying timeouts during heavy traffic.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Commits on Jan 28, 2013
  1. @ariknem

    wlcore: consider dummy packets when tx queues are empty

    ariknem authored
    Don't ignore dummy packets when our queues are empty. This causes dummy
    packets never to be sent when traffic is not suspended by FW thresholds,
    which happens only in high Tx throughput situations. This may hurt Rx
    performance.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Ido Yariv <ido@wizery.com>
  2. @ariknem

    wlcore: correctly check state before regdomain conf

    ariknem authored
    The wlcore state was checked without the mutex being taken. This leads
    to WARN_ONs sometimes if a notification arrives when the driver
    is on, but the mutex is only taken after it is off. This usually
    happens if stopping the driver while connected to a network.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  3. @ariknem

    wlcore: fix zeroing out of tx aggr stats (DEBUG)

    ariknem authored
    Before only a pointer was zeroed, giving little effect.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Jan 23, 2013
  1. @victorgld

    wl18xx: set default mac for untrimmed devices

    victorgld authored
    Some 18xx untrimmed devises doesn't have a saved
    oui and nic addresses on the chip registers, use
    default oui addr in this case.
    
    As a result the default mac address will be:
     addr 0: 08:00:28:00:00:01
     addr 1: 08:00:28:00:00:02
     addr 2: 08:00:28:00:00:03
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Commits on Jan 14, 2013
  1. @ariknem

    wlcore: AP-mode - recover security seq num for stations

    ariknem authored
    Save the sequence number of the broadcast AP link in the wlvif. For each
    connected station, save the sequence number in the drv_priv part of
    ieee80211_sta. Use the saved numbers on recovery/resume, with the
    obligatory increment on recovery.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  2. @ariknem

    wl18xx: allow using 40Mhz AP in 2.4Ghz for testing

    ariknem authored
    Print a more modest error and avoid the WARN_ON. It should be enough to
    detect this on a user setup.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  3. @ariknem

    wlcore: free AP global links properly on recovery

    ariknem authored
    Dont use free_sta() on AP global links. It would fail an internal check
    within the function and various structures within the link struct would
    not be reset.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Jan 7, 2013
  1. @victorgld

    wl18xx: print chip info during boot

    victorgld authored
    Print board type, PG with metal and ROM versions.
    This might help debugging HW related issues.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
  2. @ariknem

    wlcore: add missing wake_lock_destroy (ANDROID)

    Nadim Zubidat authored ariknem committed
    destroy wake_locks when failing allocation after
    they have been already initialized
    
    Signed-off-by: Nadim Zubidat <nadimz@ti.com>
Commits on Jan 2, 2013
  1. @victorgld

    18xx: add new configuration parameters for Telec support

    victorgld authored
    Update WL18XX_CONF_VERSION and set default values.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Commits on Dec 27, 2012
  1. @eyalsh

    wlcore: don't attempt to roam in case of p2p

    eyalsh authored
    For STA we report beacon loss to higher levels so that wpa_s
    can attempt to roam without disconnecting. In case of P2P CLI
    we don't want to attempt roaming and instead disconnect immediately
    upon beacon loss.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
Commits on Dec 26, 2012
  1. @ariknem

    wlcore: change warn on missing lock in wlcore_queue_xx funcs

    ariknem authored
    On !CONFIG_SMP builds spin_is_locked always returns 0. Assert the
    locking using assert_spin_locked, which is written to behave correctly
    in all cases.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  2. @victorgld @ariknem

    mac80211: fix delayed ADDBA response

    victorgld authored ariknem committed
    Block frame processing during scan might delay the
    ADDBA response, which eventually timeouts and
    significantly reduces the device throughput.
    Remove this constrain as it's not required for the
    HW scan.
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
Commits on Dec 25, 2012
  1. @ariknem

    wlcore: report rssi from roaming statistics

    Nadim Zubidat authored ariknem committed
    report the average beacon rssi which is calculated
    by firmware for roaming statistics instead of the
    last rx packet rssi. this results a more accurate
    rssi reporting
    
    Signed-off-by: Nadim Zubidat <nadimz@ti.com>
Commits on Dec 24, 2012
  1. @ariknem

    wlcore: consolidate tx_seq handling on recovery

    ariknem authored
    Accumulate the total number of sent packets per-link to find out how far
    the encryption sequence number has progressed. Use this number as the
    initial security sequence number after recovery.
    
    This consolidates security sequence handling for both chip families, as
    we no longer have to rely on 12xx specific Tx completion.
    
    A fortunate side effect of this is correct management of seq numbers for
    AP roles and multi-role scenarios.
    
    When a link is removed we save the last seq number on a persistent part
    of the wlvif. This helps the data survive through recoveries/suspends,
    which also entail changes in the hlid of the link.
    
    This functionality is STA only currently.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
  2. @ariknem

    wlcore: don't risk using stale HLID during .sta_state callback

    ariknem authored
    The HLID of a STA can change, particularly during recovery. Don't cache
    the HLID before it was potentially allocated.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Dec 18, 2012
  1. @elp

    wlcore: remove set/cancel_priority ops

    elp authored
    since we now manage the ROCs on sta state updates, we
    no longer need the explicit set/cancel_priority implementations
    (which had some bugs).
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  2. @elp

    wlcore: use sta_state-based ROCs for AP mode

    elp authored
    Try an opportunistic ROC when a STA is first added and stop the ROC when
    the STA is removed or successfully authenticated. This would ensure we
    don't miss auth/assoc/EAPOL packets during connection
    
    [cherry-picked]
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. @elp

    wlcore: initiate ROC/CROC on sta state updates

    elp authored
    Use the sta_state notifications to ROC when a station
    is about to connect, and CROC respectively on
    authorization (success) / deletion (failure).
    
    Change the wl12xx_update_sta_state() flow to bail out
    only on error, so multiple code blocks could refer
    to the same state.
    
    [Cherry-picked]
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Reviewed-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Dec 17, 2012
  1. @victorgld @ariknem

    mac80211: fix NULL dereference in ieee80211_sta_process_chanswitch

    victorgld authored ariknem committed
    Dereference "ifmgd->associated" while not being associated
    will cause a kernel panic:
    
      Unable to handle kernel NULL pointer dereference at virtual address 00000000
      pgd = c0004000
      [00000000] *pgd=00000000
      Internal error: Oops: 5 [#1] PREEMPT SMP
      Modules linked in: wlcore_sdio fmdrv_chr(C) gps_drv wl18xx wl12xx wlcore mac80211 cfg80211 ..
    
      CPU: 0    Tainted: G        WC   (3.0.31 #1)
      PC is at ieee80211_sta_process_chanswitch+0x10/0x28c [mac80211]
      LR is at ieee80211_sta_rx_queued_mgmt+0x220/0x5a4 [mac80211]
      ...
    
    Verify that the ifmgd->associated != NULL before processing
    with ieee80211_sta_process_chanswitch().
    
    Signed-off-by: Victor Goldenshtein <victorg@ti.com>
  2. @ariknem

    wlcore: fix link count in single-link-PSM optimization

    ariknem authored
    commit 144614f only allowed a single active link when
    turning on the optimization, ignoring the fact that an AP has two
    additional global links.
    Use 3 links as an indication for a single active link. Use the
    FW PSM bits to verify the extra active link belongs to the AP role.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Commits on Dec 11, 2012
  1. @igalc @idor

    wlcore: set max num of Rx BA sessions per chip

    igalc authored idor committed
    Maximum number of supported RX BA sessions depends on chip type.
    wl18xx supports 5 RX BA sessions while wl12xx supports 3.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Commits on Dec 10, 2012
  1. @igalc

    Revert "mac80211: use legacy mode for all ACs"

    igalc authored
    This reverts commit c0ebe79
    
    It fixes the issue of STA in legacy/UAPSD mixed mode to send periodically
    trigger frame to AP.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
  2. @igalc

    wlcore: enter elp in force ps mode in 5ms

    igalc authored
    It is requiered to enter sleep mode with smaller delay in forced PS mode.
    This fixes issue of testing force PS mode during VoIP traffic where packets
    are sent every 20ms. Chip never enters ps mode with default 30 ms delay
    in such test.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Commits on Dec 4, 2012
  1. @elp

    mac80211: extract basic rates on start_ap

    elp authored
    On ap start, the beacon is configured while
    the basic rates were not set yet (they are
    set only later by userspace).
    
    Since sometimes it's important to know
    the supported rates before we start
    beaconing (e.g. 11a, p2p), parse the beacon
    and configure the bss_conf with the correct
    basic rates, according to the supported_rates
    and ext_supported_rates ies.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  2. @eyalsh @igalc

    mac80211: deny ADDBA on VO AC TIDs

    eyalsh authored igalc committed
    Avoid Rx BA on TID 6 and 7 to prefer lower latency
    on VO AC instead of higher throughput.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Commits on Dec 2, 2012
  1. @eyalsh

    wlcore: disable Tx BA on TIDs 6 and 7

    eyalsh authored
    These TIDs are used for VO and we don't want
    BA to be used in VO where we prefer lower latency
    over higher throughput.
    
    Signed-off-by: Eyal Shapira <eyal@wizery.com>
Commits on Nov 22, 2012
  1. @ariknem

    wlcore: re-enable idle handling

    ariknem authored
    We need some stuff done on idle change, most notably we have to stop
    sched-scanning. Take care of this be reintroducing idle handling.
    While at it, fix a bug where we would send sched_scan_stopped() up
    before getting an event about stopping it from FW.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
Something went wrong with that request. Please try again.