Permalink
Switch branches/tags
wl18xx-r5-20120103 wl18xx-internal-2012-05-21 wl18xx-20120203 wl18xx-20120202 wl18xx-2012-07-08 wl18xx-2012-07-08-2 wl18xx-2012-04-04 wl18xx-2012-03-23 wl18xx-2012-03-22 wl18xx-2012-03-21 wl18xx-2012-03-20 wl18xx-2012-03-02 wl18xx-2012-02-28 wl18xx-2012-02-27 wl18xx-2012-02-22 wl18xx-2012-02-21 wl18xx-2012-02-15 wl18xx-2012-02-14 wl18xx-2012-02-09 wl18xx-2012-02-08 wl18xx-2012-02-07 wl18xx-2011-12-16 wl18xx-2011-12-15 wl18xx-2011-12-15-2 wl18xx-2011-12-14 wl18xx-2011-12-13 wl18xx-2011-12-08-pre-rebase wl18xx-2011-12-02 wl18xx-2011-12-02-3 wl18xx-2011-12-02-2 wl18xx-2011-12-01 wl18xx-2011-11-30 wl18xx-2011-11-29 wl18xx-2011-11-29-2 wl18xx-2011-11-22 wl18xx-2011-11-21 wl18xx-2011-11-19-blaze wl18xx-2011-11-17-blaze wl18xx-2011-11-14-blaze wl18xx-2011-11-14-2-blaze wl18xx-2011-11-04-blaze wl18xx-2011-10-11 wl18xx-02-20 upstreaming-2013-03-25 upstreaming-2013-03-07 upstreaming-2013-03-05 upstream-3.4 testing-2011-12-12 r8.a6.06_38 r8.a3.09-build_51 r8.a3.09-build_50 r8.a3.09-build_49 r8.a3.09-build_48 r8.a3.09-build_47 r8.a3.09-build_45 r8.a3.09-build_44 r8.a3.09-build_43 r8.a3.09-build_42 r8.a3.09-build_41 r8.a3.09-build_39 r8.a3.09-build_38 r8.a3.09-build_37 r8.a3.09-build_36 r8.a3.09-build_35 r8.a3.09-build_30 r8.a3.09-build_29 r8.a3.09-build_28 r8.a3.09-build_27 r8.a3.09-build_25 r8.a3.09-build_24 r8.a3.09-build_23 r8.a3.09-build_22 r8.a3.09-build_21 r8.a3.09-build_20 r8.a3.09-build_19 r8.a3.08-build_18 r8.a3.08-build_16 r8.a3.08-build_14 r8.a3.08-build_13 r8.a3.08-build_12 r8.a3.08-build_11 r8.a3.08-build_10 r8.a3.05-build_7 r8.a3.05-build_6 r8.a3.05-build_5 r8.a3.05-build_4 r8.a3.05-build_3 r8.a3.05-build_1 r8.a2.09 r8.a2.08 r8.a2.08-candidate r8.a2.07 r8.a2.07-build_146 r8.a2.07-build_141 r8.a2.07-build_140 r8.a2.07-build_139 r8.a2.07-build_136 r8.a2.06 r8.a2.05 r8.a2.04
Nothing to show
Commits on Mar 23, 2012
  1. wlcore: export raw binary with the FW statistics in debugfs

    Luciano Coelho committed Mar 23, 2012
    Instead of parsing all the binary data returned by the firmware, we
    should simply export the binary and let the userspace do the parsing.
    
    This commit adds a new file to debugfs to do that.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wl18xx: add support to clear FW statistics

    Luciano Coelho committed Mar 19, 2012
    This patch calls ACX_CLEAR_STATISTICS to clear the firmware
    statistics.  The trigger is a new debugfs file called
    clear_fw_statistics in the fw_stats directory.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. wlcore: add more fine-grained statitistics about aggregation (DEBUG)

    Luciano Coelho committed Mar 14, 2012
    Instead of counting the reasons as an overall value, we now count the
    reasons for each number of packets used in the aggregation.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  4. wlcore: count aggregation packets (DEBUG)

    Luciano Coelho committed Mar 13, 2012
    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.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  5. wlcore: add counters with reasons for aggr packet sending (DEBUG)

    Luciano Coelho committed Mar 13, 2012
    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.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  6. wl18xx: use new fw stats structures

    Luciano Coelho committed Mar 13, 2012
    Some of the structures were updated, other structures had a few
    missing values and a few new ones were added.  Change the driver
    structs accordingly.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Mar 22, 2012
  1. wlcore/wl12xx/wl18xx: don't force version check everytime (SQUASH)

    Luciano Coelho committed Mar 22, 2012
    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>
Commits on Mar 21, 2012
  1. wlcore: add tx_ba_win_size entry in debugfs

    Luciano Coelho committed Mar 21, 2012
    Add a file in debugfs that let's us change the TX BA window size.
    After changing this value, the interface needs to be downed and then
    upped again for the changes to take effect.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wl18xx: increase tx_ba_win_size to 64 (SQUASH)

    Luciano Coelho committed Mar 21, 2012
    Now the firmware can support TX block ack sessions with 64 frames.
    
    Should be squashed with:
    a811804 wl18xx: add runtime configuration parameters
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. Revert "wlcore/wl12xx/wl18xx: make tkip extra space configurable by l…

    Luciano Coelho committed Mar 21, 2012
    …ower drivers"
    
    This reverts commit eca4290.
Commits on Mar 20, 2012
  1. wlcore: increase aggregation buffer size by one page

    Luciano Coelho committed Mar 15, 2012
    With 4 pages (16Kb), we can't fit 10 frames in the aggregation buffer
    during iperf.  This is the optimal for the firmware.  Thus, increase
    the buffer size by one page.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Mar 18, 2012
  1. wl12xx: fix broken multicast in AP mode

    eyalsh committed Mar 17, 2012
    commit 64981e8 (wl12xx: use correct link for bcast frames) broke
    multicast traffic in WPA as it would casue multicast
    packets to be sent on the global_hlid instead of the bcast_hlid
    
    (Should be squashed with original patch for upstream)
  2. wl12xx: use correct link for bcast frames

    elp committed with eyalsh Feb 28, 2012
    Broadcast management frames (e.g. global deauth)
    should be sent out on the bcast link, rather than
    the global, which should be used only for pre-added
    stations (e.g. for auth/assoc resp).
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
  3. wl12xx: fix a memory leak of probereq template upon recovery

    eyalsh committed Mar 14, 2012
    wlvif->probereq is zeroed when adding an interface but
    the skb pointed to isn't freed when the interface is removed.
    This would lead to a mem leak on every recovery.
    Fix it by freeing the skb when removing the interface.
  4. wl12xx: fix race between suspend/resume and recovery

    eyalsh committed Mar 13, 2012
    The iteration on the wlvif list in wl1271_op_resume/suspend was
    perfomed before locking wl->mutex which would lead to a kernel
    panic in case a recovery was queued at the same time
    and would delete the wlvifs from the list.
Commits on Mar 2, 2012
  1. wlcore/wl12xx/wl18xx: move lower driver debugfs to a subdir (SQUASH)

    Luciano Coelho committed Mar 2, 2012
    Instead of adding more files from the lower drivers into the same
    directory in debugfs as wlcore, we now add a subdirectory for the
    lower driver.  This makes things a bit easier, because we can quickly
    see where the debugfs entry is implemented and what is specific to the
    lower driver.
    
    This should be squashed into:
    cd44ede wlcore: abstract debugfs fw_stats to be handled by the lower drivers
    d335bf2 wl12xx: implement fw status debugfs entries
    e373343 wl18xx: implement fw status debugfs entries
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wlcore/wl12xx/wl18xx: make tkip extra space configurable by lower dri…

    Luciano Coelho committed Mar 2, 2012
    …vers
    
    The wl18xx firmware doesn't need the TKIP extra space for TX.
    Abstract this value and let the lower driver set it as needed, by
    introducing a new value in the wl structure and adding the correct
    values for both lower drivers.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Mar 1, 2012
  1. wl18xx: export pwr_limit_reference_11_abg value as a module parameter

    Luciano Coelho committed Mar 1, 2012
    Yet another temporary module parameter requested by the firmware team.
    This will be replaced by the conf binary.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wl18xx: export low/high band component values as module params

    Luciano Coelho committed Mar 1, 2012
    We use hardcoded values for the different board types.  In some cases
    we may need to override the defaults, so export the values as module
    params.  If not defined, the defaults for the specified board type
    will be used.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. wl18xx: add power limit reference value to mac_and_phy settings

    Luciano Coelho committed Mar 1, 2012
    With more recent PHY firmware versions (>8.1.0.0.116), we need to use
    the correct value for the pwr_limit_reference_11_abg parameter when
    setting the mac_and_phy options.
    
    For now we use a hardcoded 0xc8 as the value.  This will be moved to
    the configuration binary when it gets implemented.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Feb 28, 2012
  1. wlcore: gather information about firmware stability

    Luciano Coelho committed Feb 28, 2012
    It's sometimes useful to gather information about the firmware
    stability in long test runs, especially to see if problems are
    recurring frequently or not.  With this commit we count the number of
    times a hardware recovery was issued and print it out during recovery
    and in the driver_state in debugfs.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wlcore: add a debugfs entry to allow changing the sleep mode by hand

    Luciano Coelho committed Feb 28, 2012
    For FW debugging purposes, we may need to change the sleep mode
    (aka. sleep_auth) by hand, and set it to the mode we want.  To allow
    this, a debugfs entry is added.
    
    Now we store the sleep_auth value that has been set and use that
    instead of the quirk to decide whether we should enter ELP or not.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Feb 27, 2012
  1. wl18xx: add module parameter to force SISO 20MHz

    Luciano Coelho committed Feb 27, 2012
    In some cases it may be useful to force narrow-band SISO channels.
    Add a new value to the ht_mode module parameter to force the device to
    operate in SISO 20MHz.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wlcore: use proper values for supported local rates

    Luciano Coelho committed Feb 27, 2012
    We were setting all the rates bits when starting the AP role.  Instead
    of doing this, we should set only the rates we really support
    (eg. MIMO rates or wide-channel rates).  This commit changes that so
    that we always use the default rates (basic rates + MCS0-7) and add
    the values returned by the ap_get_mimo_wide_rate_mask operation.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. wl18xx: don't use MIMO when ht_mode is set to wide

    Luciano Coelho committed Feb 27, 2012
    If the wl18xx module is loaded with ht_mode=wide (the default), we
    shouldn't use MIMO rates when the channel type is not HT40.  Fix this
    by checking the ht_mode before deciding which rates to used.
    Additionally, set the ht_mode parameter explicitly to "wide" as the
    default.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  4. wlcore: update channel also when channel type has changed

    Luciano Coelho committed Feb 27, 2012
    We were not updating wl->channel_type when only the type has changed
    in wl12xx_config_vif.  This was causing problems when restarting the
    AP role in the same channel as before.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Feb 23, 2012
  1. wlcore: print the interrupt status when recovery is triggered

    Luciano Coelho committed Feb 23, 2012
    In some cases it may be useful for debugging to check what is the
    status of the interrupt register when a hardware recovery happens.
    Print the contents of REG_INTERRUPT_NO_CLEAR (aka. HINT_STS_RAW) when
    recovery starts.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wl18xx: print the PHY firmware version from the private static data

    Luciano Coelho committed Feb 23, 2012
    The wl18xx firmware writes the PHY firmware version in the static
    data.  Add an operation to parse the static data and print the PHY
    firmware version when booting.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. wlcore: create private static_data area and add operation to parse it

    Luciano Coelho committed Feb 23, 2012
    The wl18xx firmware has more information in the static_data than
    wl12xx.  To be able to parse that in an abstracted way, this patch
    adds a priv area to the static data struct and an operation that
    allows the lower driver to parse it if necessary.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Feb 22, 2012
  1. wlcore: fix "wlcore: update beacon and probe_resp..." (SQUASH)

    Luciano Coelho committed Feb 22, 2012
    This makes the code a bit cleaner.  Thanks Eliad for the comment.
    
    Needs to be squashed with:
    fbf05e7 (wlcore: update beacon and probe_resp templates when rates change)
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  2. wl18xx: implement fw status debugfs entries

    Luciano Coelho committed Feb 22, 2012
    Implement the operations that are necessary to fetch the
    wl18xx-specific FW statistics and export them in debugfs.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  3. wl12xx: implement fw status debugfs entries

    Luciano Coelho committed Feb 22, 2012
    Implement the operations that are necessary to fetch the
    wl12xx-specific FW statistics.  Re-add some of the code removed from
    wlcore.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  4. wlcore: add debugfs macro to help print fw statistics arrays

    Luciano Coelho committed Feb 22, 2012
    Add a macro to make it easy to print arrays from the FW statistics
    array in debugfs.  At the same time, increase the buffer size so
    arrays fit more easily.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
  5. wlcore: abstract debugfs fw_stats to be handled by the lower drivers

    Luciano Coelho committed Feb 22, 2012
    The FW statistics differ from hardware to hardware.  This commit
    prepares for hardware-specific implementation of the FW statistics
    debugfs entries.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
Commits on Feb 21, 2012
  1. wlcore: use all AP basic rates as default

    Luciano Coelho committed Feb 21, 2012
    Sometimes we get a BSS_CHANGED_BEACON_ENABLED event before the basic
    rates have been properly set.  To avoid problems with the firmware not
    expecting to receive frames at rates that are not set during
    CMD_START_ROLE, we now start with all basic rates by default.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>