Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: upstream_313_m…
Commits on Jan 16, 2014
  1. @elp

    wlcore: fix unused variables warnings (SQUASH)

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

    wlcore: enable beacon filtering only after receiving a beacon

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

    Increase TO to 5000 instead of 1500, required for DFS command

    yanivma authored elp committed
  7. @elp

    wlcore: consider tx_lnk_free_pkts only if valid (squash)

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

    wl18xx: increase the number of RX BA sessions to 13

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

    wl18xx: update statistics acx and debugfs files

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

    wlcore: update apis to support multi-ap

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

    wlcore/wl12xx/wl18xx: configure iface_combinations per-hw

    elp authored
    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 <>
  12. @elp

    wlcore/wl12xx/wl18xx: configure max_stations per-hw

    elp authored
    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 <>
  13. @elp

    wl18xx: increase the number of links to 16

    elp authored
    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 <>
  14. @elp

    wl18xx: bump min fw version

    elp authored
    Bump the min fw version to (multi-ap support)
    TODO: squash it with the first api change
    Signed-off-by: Eliad Peller <>
  15. @ariknem @elp

    wlcore: decrease warning verbosity during recovery

    ariknem authored elp 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 <>
  16. @elp

    wlcore/wl12xx/wl18xx: configure num_links per-hw

    elp authored
    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 <>
  17. @elp

    wlcore/wl18xx/wl12xx: simplify fw_status handling

    elp authored
    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 <>
  18. @elp

    wlcore: consider multiple APs when checking active_link_count

    elp authored
    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 <>
  19. @eyalreizer @elp

    wlcore: ifdef CONFIG_OF-dependant functions

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

    wlcore: don't handle unsetting of default wep key

    elp authored
    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 <>
  21. @ariknem @elp

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

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

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

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

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

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

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

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

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

    Arkady Miasnikov authored elp committed
    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 <>
  26. @igalc @elp

    wlcore: update debugfs for tx aggregation stats

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

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

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

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

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

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

    elp authored
    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 <>
  30. @victorgld @elp

    wlcore: add support for dynamic scan configuration (INTERNAL)

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

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

    victorgld authored elp committed
    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 <>
  32. @eyalsh @elp

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

    eyalsh authored elp committed
    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 <>
  33. @ariknem @elp

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

    ariknem authored elp committed
    This file is generated by the build process and we should not store it.
    Signed-off-by: Arik Nemtsov <>
    Signed-off-by: Luciano Coelho <>
  34. @elp

    wlcore: force recheck of version.h and use -dirty if needed (INTERNAL)

    Luciano Coelho authored elp committed
    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
    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
    Thanks Eliad for the help with this.
    Signed-off-by: Luciano Coelho <>
  35. @elp

    wlcore/wl18xx/wl12xx: add version and timestamp strings (INTERNAL)

    elp authored
    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 <>
    Signed-off-by: Luciano Coelho <>
Something went wrong with that request. Please try again.