Skip to content
Commits on Feb 3, 2014
  1. @yanivma

    wl12xx : fix platform data struct to match old kernels (INTERNAL)

    This patch should be used only in case the kernel can't be compiled with the gpio alignment.
    It is relevant mostly when using pre-compiled kernel with unaligned struct (kernel 3.2)
    in any other cases this should not be used.
    
    Signed-off-by: Yaniv Machani <yanivma@ti.com>
    yanivma committed Feb 3, 2014
Commits on Nov 6, 2013
  1. @elp

    wlcore: enable beacon filtering only after receiving a beacon

    Enabling beacon filtering before receving a beacon
    might result in not having a beacon at all for the
    current connected AP, which prevents the station
    from entering power-save.
    
    Replace the current approach (of starting beacon
    filtering on init) and configure beacon filering
    only after bss_conf->dtimper is set (which means
    mac80211 already parsed a beacon).
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Nov 3, 2013
Commits on Nov 5, 2013
  1. @yanivma
Commits on Oct 10, 2013
  1. @elp

    wlcore: consider tx_lnk_free_pkts only if valid (squash)

    On recovery, fw_status might exist yet, causing
    fw_status->tx_lnk_free_pkts to be NULL.
    
    Check for it explicitly.
    
    (this patch should be squashed into "wlcore/wl18xx/wl12xx: simplify
    fw_status handling")
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Oct 10, 2013
Commits on Oct 8, 2013
  1. @ariknem @elp

    wl18xx: increase the number of RX BA sessions to 13

    The 18xx FW now supports it. Most sessions are used by the AP roles.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with elp Aug 26, 2013
  2. @elp

    wl18xx: update statistics acx and debugfs files

    Sync the driver statistics acx and debugfs representation
    with the current fw api.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Aug 1, 2013
  3. @elp

    wlcore: update apis to support multi-ap

    Some modifications were done to the driver-fw api
    in order to support multiple APs.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Aug 11, 2013
  4. @elp

    wlcore/wl12xx/wl18xx: configure iface_combinations per-hw

    Each hw supports a different iface combinations.
    Define the supported combinations in each driver,
    and save it in wl->iface_combinations.
    
    Since each driver defines its own combinations now,
    it can also define its max supported channels, so
    we no longer need to save and set it explicitly
    in wlcore.
    
    Update wl18xx interface combinations to allow
    multiple APs.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 23, 2013
  5. @elp

    wlcore/wl12xx/wl18xx: configure max_stations per-hw

    Each hw supports a different max stations (connected to the
    same ap). add a new wl->max_ap_stations and use it instead
    of the current common AP_MAX_STATIONS.
    
    Increase wl18xx max stations to 10.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 23, 2013
  6. @elp

    wl18xx: increase the number of links to 16

    Current wl18xx fw supports 16 links.
    Note that this change affects the fw_status struct,
    and thus breaking backward compatibility.
    
    TODO: squash with the fw bump
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Aug 22, 2013
  7. @elp

    wl18xx: bump min fw version

    Bump the min fw version to 8.8.0.0.1 (multi-ap support)
    
    TODO: squash it with the first api change
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 15, 2013
Commits on Oct 7, 2013
  1. @ariknem

    wlcore: decrease warning verbosity during recovery

    Silently ignore repetitive scheduling of recovery work and commands
    being passed to the bus when the HW is not available. This can happen
    many times during recovery and slow it down. It also spams the kernel
    logs.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed Oct 7, 2013
Commits on Oct 2, 2013
  1. @elp

    wlcore/wl12xx/wl18xx: configure num_links per-hw

    Upcoming fw versions will have different max links support
    (according to the hw). Get ready for it by configuring
    wl->num_links per-hw, instead of using the const WL12XX_MAX_LINKS.
    
    However, continue using WLCORE_MAX_LINKS in order to simplify
    structs declarations (we use it in multiple bitmaps, and converting
    them to dynamic arrays is just cumbersome).
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 23, 2013
  2. @elp

    wlcore/wl18xx/wl12xx: simplify fw_status handling

    Instead of splitting the fw_status into 2 and using some
    complex calculations, read the fw status and let each low-level
    driver (wl12xx/wl18xx) convert it into a common struct.
    
    This is required for the upcoming fw api changes, which
    break the current logic anyway.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 22, 2013
  3. @elp

    wlcore: consider multiple APs when checking active_link_count

    Each AP has its own global and broadcast links, so when
    checking for active sta count (according to the active_link_count)
    we must take them all into account.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 15, 2013
  4. @eyalreizer @elp

    wlcore: ifdef CONFIG_OF-dependant functions

    some of_* functions are defined only if CONFIG_OF
    is defined. make the relevant block dependant
    on it.
    
    make sure to handle invalid pdata now, as it might
    not get overriden if CONFIG_OF is not defined.
    
    Signed-off-by: Eyal Reizer <eyalr@ti.com>
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    eyalreizer committed with elp Sep 15, 2013
  5. @elp

    wlcore: don't handle unsetting of default wep key

    mac80211 unsets the default wep key on disassoc.
    The fw doesn't support this notification, so simply
    ignore it.
    
    The actual flow actually triggers fw recovery in some
    cases, as mac80211 unsets the default key only after
    disassoc, when wlvif->sta.hlid, resulting in invalid
    hlid being passed to the fw.
    
    Signed-off-by: Eliad Peller <eliad@wizery.com>
    elp committed Sep 11, 2013
  6. @ariknem @elp

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

    Otherwise p2p packets come out with arbitrary rates.
    
    Signed-off-by: Arik Nemtsov <arik@wizery.com>
    ariknem committed with elp Aug 8, 2012
  7. @ariknem @elp

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

    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>
    ariknem committed with elp Aug 5, 2012
  8. @ariknem @elp

    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 with elp Aug 5, 2012
  9. @ariknem @elp

    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 with elp Aug 5, 2012
  10. @elp

    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 elp Jun 13, 2012
  11. @igalc @elp

    wlcore: update debugfs for tx aggregation stats

    Use allocated size for aggr_pkts_reason instead of define
    WLCORE_AGGR_MAX_PACKETS.
    
    Signed-off-by: Igal Chernobelsky <igalc@ti.com>
    igalc committed with elp Jul 31, 2012
  12. @eyalsh @elp

    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 elp Jan 18, 2012
  13. @eyalsh @elp

    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>
    eyalsh committed with elp Nov 18, 2012
  14. @elp

    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 May 15, 2012
  15. @victorgld @elp

    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>
    victorgld committed with elp Nov 18, 2012
  16. @victorgld @elp

    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 elp May 16, 2012
  17. @eyalsh @elp

    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 elp Dec 20, 2011
  18. @ariknem @elp

    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 with elp May 11, 2012
  19. @elp

    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.
    
    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.
    
    Thanks Eliad for the help with this.
    
    Signed-off-by: Luciano Coelho <coelho@ti.com>
    Luciano Coelho committed with elp Feb 20, 2012
  20. @elp

    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 Feb 7, 2012
  21. @ariknem @elp

    wlcore: don't suspend on pending recovery (ANDROID)

    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 with elp Jun 27, 2012
  22. @elp

    wlcore: set "any" trigger by default (ANDROID)

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

    wlcore: acquire a wakelock in the hardirq only on wake up (ANDROID)

    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>
    codido committed with elp Feb 6, 2013
Something went wrong with that request. Please try again.