Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 9, 2014
  1. @elp

    wl18xx: support 2 rx stbc streams

    elp committed
    The wl18xx chip supports 2 rx stbc streams.
    Declare this support in the ht_cap attributes.
    Signed-off-by: Eliad Peller <>
Commits on Dec 12, 2013
  1. @elp

    wlcore: fix unused variables warnings (SQUASH)

    elp committed
    If CONFIG_OF is not defined, the compiler complains about
    some unused variables. solve it.
    This patch should be squashed into
    "wlcore: ifdef CONFIG_OF-dependant functions"
    Signed-off-by: Eliad Peller <>
  2. @elp

    mac80211: fix wowlan-related compilation error (squash, ANDROID)

    elp committed
    The wowlan structs were changed a bit, so we
    need to update our workaround patch as well.
    should be squashed into
    7ecbdd6 ('wlcore: set "any" trigger by default (ANDROID)')
    Signed-off-by: Eliad Peller <>
  3. @elp

    mac80211/drivers: fix remain_on_channel(_expired) users (SQUASH)

    elp committed
    commit ec79d1b ("mac80211: add cookie to remain_on_channel callback")
    broke the compilation of some drivers. fix it.
    additionally, allow passing 0 as wildcard cookie.
    Signed-off-by: Eliad Peller <>
  4. @elp

    mac80211: use skb_tail_pointer (squash)

    elp committed
    commit 7ae5c8e ("mac80211: extract basic rates on start_ap")
    used skb->tail directly, which might generate warnings
    under some configurations. use skb_tail_pointer() instead.
    Signed-off-by: Eliad Peller <>
Commits on Nov 27, 2013
  1. cfg80211: don't stop sched scan if it runs for another station

    Barak Bercovitz committed
    In a multi interface environment cfg80211_leave called
    for one station stops sched scan that runs for another.
    Fix this by checking that device is the sched_scan_req device
Commits on Nov 6, 2013
  1. @elp

    wlcore: enable beacon filtering only after receiving a beacon

    elp committed
    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 <>
Commits on Nov 5, 2013
  1. @yanivma
Commits on Oct 10, 2013
  1. @elp

    wlcore: consider tx_lnk_free_pkts only if valid (squash)

    elp committed
    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 <>
Commits on Oct 8, 2013
  1. @ariknem @elp

    wl18xx: increase the number of RX BA sessions to 13

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

    wl18xx: update statistics acx and debugfs files

    elp committed
    Sync the driver statistics acx and debugfs representation
    with the current fw api.
    Signed-off-by: Eliad Peller <>
  3. @elp

    wlcore: update apis to support multi-ap

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

    wlcore/wl12xx/wl18xx: configure iface_combinations per-hw

    elp committed
    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 <>
  5. @elp

    wlcore/wl12xx/wl18xx: configure max_stations per-hw

    elp committed
    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 <>
  6. @elp

    wl18xx: increase the number of links to 16

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

    wl18xx: bump min fw version

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

    wlcore: decrease warning verbosity during recovery

    ariknem committed
    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
    Signed-off-by: Arik Nemtsov <>
Commits on Oct 2, 2013
  1. @elp

    wlcore/wl12xx/wl18xx: configure num_links per-hw

    elp committed
    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 <>
  2. @elp

    wlcore/wl18xx/wl12xx: simplify fw_status handling

    elp committed
    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 <>
  3. @elp

    wlcore: consider multiple APs when checking active_link_count

    elp committed
    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 <>
  4. @eyalreizer @elp

    wlcore: ifdef CONFIG_OF-dependant functions

    eyalreizer committed with elp
    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 <>
    Signed-off-by: Eliad Peller <>
  5. @elp

    wlcore: don't handle unsetting of default wep key

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

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

    ariknem committed with elp
    Otherwise p2p packets come out with arbitrary rates.
    Signed-off-by: Arik Nemtsov <>
  7. @ariknem @elp

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

    ariknem committed with elp
    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 <>
  8. @ariknem @elp

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

    ariknem committed with elp
    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
    Signed-off-by: Arik Nemtsov <>
  9. @ariknem @elp

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

    ariknem committed with elp
    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 <>
  10. @elp

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

    Arkady Miasnikov committed with elp
    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 <>
    Signed-off-by: Luciano Coelho <>
  11. @igalc @elp

    wlcore: update debugfs for tx aggregation stats

    igalc committed with elp
    Use allocated size for aggr_pkts_reason instead of define
    Signed-off-by: Igal Chernobelsky <>
  12. @eyalsh @elp

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

    eyalsh committed with elp
    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 <>
    Signed-off-by: Luciano Coelho <>
  13. @eyalsh @elp

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

    eyalsh committed with elp
    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 <>
    Signed-off-by: Luciano Coelho <>
  14. @elp

    mac80211: retry auth and assoc on error 17 (INTERNAL)

    elp committed
    In some congested environments APs return
    attempt. Instead of failing immediately, retry again
    in 200 msec.
    Signed-off-by: Eliad Peller <>
    Signed-off-by: Luciano Coelho <>
  15. @victorgld @elp

    wlcore: add support for dynamic scan configuration (INTERNAL)

    victorgld committed with elp
    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 <>
    Signed-off-by: Luciano Coelho <>
  16. @victorgld @elp

    nl80211/cfg80211: add new scan configurations attributes (INTERNAL)

    victorgld committed with elp
    To enhance scan abilities by being able to setup some low level
    scan parameters dynamically during NL80211_CMD_TRIGGER_SCAN
    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 <>
    Signed-off-by: Luciano Coelho <>
  17. @eyalsh @elp

    nl80211: report stopped sched scan only after driver does (INTERNAL)

    eyalsh committed with elp
    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 <>
  18. @ariknem @elp

    wlcore/wl12xx/wl18xx: add version.h to a new .gitignore file (INTERNAL)

    ariknem committed with elp
    This file is generated by the build process and we should not store it.
    Signed-off-by: Arik Nemtsov <>
    Signed-off-by: Luciano Coelho <>
Something went wrong with that request. Please try again.