Permalink
Commits on Feb 7, 2012
  1. @elp

    wlcore: temporarily remove scheduled scan

    wpa_supplicant tries starting a scheduled scan on
    explicit roaming request, but it fails since
    it's already connected and sched scan can't be started.
    
    as a temporary workaround - remove sched scan support
    from our driver.
    elp committed Feb 7, 2012
  2. @elp

    wlcore: remove wl1271_tx_update_filters

    this function is not needed anymore since we
    disassoc before authentication (and it might
    scheduling while atomic...)
    elp committed Feb 7, 2012
  3. @elp

    mac80211: avoid lockdep warning on roaming

    disconnect before authentication, but do it
    before scheduling the work to avoid possible
    deadlock
    elp committed Feb 7, 2012
Commits on Feb 3, 2012
  1. wl18xx: derive the MAC address from the BD_ADDR in fuse ROM

    Add the get_mac operation in order to fetch the BD_ADDR from fuse ROM,
    so that we can derive the WLAN MAC addresses from it.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 3, 2012
  2. wlcore/wl12xx/wl18xx: clean PG_VER and MAC address reading (SQUASH/SP…

    …LIT)
    
    This patch cleans up the PG_VER reading for wl12xx and wl18xx (add a
    new op for it) and the MAC from fuse reading for wl12xx.
    
    This got broken when rebasing the wl18xx work on top of R5_3.2.
    
    This patch should be squashed back to the point when it got broken and
    fixed there directly.  We also need to split the wl18xx part out of
    it.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 3, 2012
  3. @elp

    Revert "wl12xx: implement SW Tx watchdog"

    This reverts commit 6df9295a32eb5a7fbd1523637a24b2dbe5f0a32d.
    
    The current commit doesn't handle the AP case, in which the
    fw might buffer a frame for a sleeping station.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with Luciano Coelho Feb 2, 2012
  4. @yonid

    wl12xx: set default_wep_key when configured

    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 Luciano Coelho Jan 30, 2012
  5. @yonid

    mac80211: add op to configure default key id to driver

    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 Luciano Coelho Jan 30, 2012
  6. @elp

    wl12xx: wait for ROLE_STOP_COMPLETED event

    We previously didn't wait for this event, as it wasn't
    necessary, and sometimes the fw didn't send it.
    
    However, this event is now needed again for some roaming
    scenarios. if we'll encounter cases in which we don't get
    the event - they will be treated as fw bugs.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with Luciano Coelho Jan 30, 2012
  7. @elp

    wl12xx: configure the correct beacon_interval

    We didn't update the beacon interval on association
    (or on a change notification when working as sta),
    so the default interval (100ms) was always used.
    
    Update the beacon interval according to the bss_conf
    before starting the sta role (on association).
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    elp committed with Luciano Coelho Jan 30, 2012
  8. Revert "wl12xx: auto-arp sent with wrong key_idx"

    This reverts commit 8717529.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 3, 2012
  9. wl18xx: update fw_status struct after the split (SQUASH)

    The firmware status array had to be split into two.  This patch makes
    the required changes in the wl18xx driver.
    
    This should be squashed with the patch that introduces the fw_status
    array in wl18xx and the wlcore/wl12xx split patch needs to be pushed
    down.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 3, 2012
  10. wlcore/wl12xx: split fw_status struct into two

    The number of RX packet descriptors may vary from chip to chip and
    in different firmware versions.  Unfortunately, the array that
    contains the actual descriptors is in the middle of the fw_status
    structure.  To manage this, we split the struct into two so we can
    calculate the offset of what comes after the array and access the last
    elements more easily.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 3, 2012
  11. wl18xx: add module parameter to disable TCP checksum

    Add a new module parameter to disable TCP checksum offload.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 2, 2012
  12. wl18xx: add number of antennas and dc2dc type as module params

    We need to specify the number of 2.4GHz and 5GHz antennas and whether
    the board has an internal or external DC2DC.  Add some module
    parameters that allow changing that.
    
    In the future this will come from the "NVS" file.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 1, 2012
  13. wl18xx: change the low_band_component_type for HDK boards

    Currently, all HDK boards use low_band_component_type 0x06.  In the
    future this may change, but for now, we hardcode this value when the
    board_type is set to HDK.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 1, 2012
  14. wl18xx: add plt_init operation

    Add the correct FW name for PLT (which is the same as the normal
    firmware) and implement the plt_init operation.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 1, 2012
  15. wlcore/wl12xx: add plt_init op and move the code to wl12xx

    PLT mode needs to be initialized differently for each chip.  This
    patch adds an operation to init PLT and moves the existing PLT
    initialization into the wl12xx driver.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Feb 1, 2012
  16. @ariknem

    wlcore: wip - support 16 Rx descs

    also changed the board enum - this has to be separated to two patches.
    
    [[ This works with the Dror FW ]]
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Jan 22, 2012
  17. @ariknem

    wl18xx: don't upload NVS to FW

    In this chip family the NVS file should not be uploaded to FW. In fact,
    we encounter strange bugs (sdio errors) when trying to upload it with
    certain parameters.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Jan 22, 2012
  18. @ariknem

    mmc: core: claim host during mmc_power_off on suspend

    Make sure the host is claimed in all calls of mmc_power_off() during
    suspend. In addition make sure mmc_power_off() isn't called twice in
    some suspend flows.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    Signed-off-by: Ido Yariv <ido@wizery.com>
    ariknem committed with Luciano Coelho Jan 10, 2012
  19. @ariknem

    wl18xx: init Tx-released index to 0 on HW init

    This ensures the index is 0 on FW recovery and prevents spurious error
    prints - "WARNING illegal id in tx completion".
    ariknem committed with Luciano Coelho Jan 10, 2012
  20. wlcore/wl12xx: move rx_mem_pool_addr element to wl12xx

    Only wl127x chips use the rx_mem_pool_addr values, which need to be
    given to the firmware as part of the RX path.  Move this from core to
    the wl12xx driver.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 16, 2011
  21. wl18xx: read HW PG version

    Read the HW PG version and store it in the exported structure.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 16, 2011
  22. wlcore/wl12xx: move ref_clock and tcxo_clock elements to wl12xx

    Only wl12xx needs to get the ref_clock anc tcxo_clock values from the
    platform data.  Move these elements from the wl1271 structure to
    wl12xx's private data.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 15, 2011
  23. wlcore: rename wl12xx.h to wlcore_i.h

    The wl12xx.h file now contains mostly definitions that are internal to
    wlcore.  Still, some things need to me moved to the public header, so
    for now we keep including it in wlcore.h.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 14, 2011
  24. wl18xx: read clock frequency and do top init accordingly

    Instead of using hardcoded values for a single frequency, we need to
    read the frequency and use the appropriate values for it in the top
    initialization.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 8, 2011
  25. @ariknem

    wl18xx: disable FW log functionality

    Currently (Fw .67) appears to do more harm than good.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 8, 2011
  26. @ariknem

    wl18xx: read FW pc on recovery

    Define the FW pc in the 18xx register translation table. This specific
    register is only valid in the boot partition, so change the momentarily
    change partitions. This doesn't damage 12xx cards, where the FW pc is
    accessible via boot partition as well.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 8, 2011
  27. wl18xx: translate and write the board type to SCR_PAD2

    The firmware uses the SCR_PAD2 register to read the board type passed
    from the driver.  The values don't match the ones used in the mac and
    phy configuration, so we need to map them before writing.  This commit
    adds a translation table that is used when writing the board type to
    SCR_PAD2.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 7, 2011
  28. wl18xx: add board type module argument

    Different board types (ie. FPGA, HDK and DVP/EVB) require slightly
    different init configuration options.  Since we cannot probe the type
    of board from the actual hardware, we need to pass it as an option
    during module load.
    
    This patch adds a module parameters that accepts the 3 different board
    types, with DVP/EVB as the default, and uses this value where needed.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed Dec 7, 2011
  29. @ariknem

    wl18xx: add module param for overriding HT caps

    Set an alternate HT cap allowing MIMO rates (but only 20mhz) channels,
    when the module is loaded with ht_mode=mimo.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 5, 2011
  30. @ariknem

    wl18xx: set HT capabilities

    Define the default HT capabilities of the 18xx chip family - these include
    support for wide-channel.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 13, 2011
  31. @ariknem

    wlcore/wl18xx: enable MIMO/wide-chan rates in AP-mode rate config

    Add a HW op to add extra enabled rates for AP-mode data-rates. Since
    the rates might depend on channel properties, reconfigure AP-mode rates
    when these change.
    
    Implement the HW op for the 18xx family, where MIMO or wide-chan rates
    can be added.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 5, 2011
  32. @ariknem

    wlcore: support peer MIMO rates

    Parse the peer ht_cap element containing MCS8-MCS15 rates and pass it
    to the FW. Rates unsupported by the HW will be sanitized by mac80211
    before reaching us.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with Luciano Coelho Dec 5, 2011