1. 17 6月, 2013 1 次提交
    • I
      wl18xx: FDSP Code RAM Corruption fix · e3b8bbb9
      Ido Reis 提交于
      In PG2.0 there is an issue where PHY's FDSP Code RAM sometimes gets
      corrupted when exiting from ELP mode. This issue is related to FDSP
      Code RAM clock implementation.
      
      PG2.1 introduces a HW fix for this issue that requires the driver to
      change the FDSP Code Ram clock settings (mux it to ATGP clock instead
      of its own clock).
      
      This workaround uses PHY_FPGA_SPARE_1 register and is relevant to WL8
      PG2.1 devices.
      
      The fix is also backward compatible with older PG2.0 devices where the
      register PHY_FPGA_SPARE_1 is not used and not connected.
      
      The fix is done in the wl18xx_pre_upload function (must be performed
      before uploading the FW code) and includes the following steps:
      
      1. Disable FDSP clock
      2. Set ATPG clock toward FDSP Code RAM rather than its own clock.
      3. Re-enable FDSP clock
      Signed-off-by: NYair Shapira <yair.shapira@ti.com>
      Signed-off-by: NIdo Reis <idor@ti.com>
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      e3b8bbb9
  2. 12 6月, 2013 1 次提交
  3. 16 4月, 2013 1 次提交
    • J
      mac80211: support secondary channel offset in CSA · 85220d71
      Johannes Berg 提交于
      Add support for the secondary channel offset IE in channel
      switch announcements. This is necessary for proper handling
      of CSA on HT access points.
      
      For this to work it is also necessary to convert everything
      here to use chandef structs instead of just channels. The
      driver updates aren't really correct though. In particular,
      the TI wl18xx driver update can't possibly be right since
      it just ignores the new channel width for lack of firmware
      API.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      85220d71
  4. 25 3月, 2013 2 次提交
  5. 15 2月, 2013 1 次提交
    • J
      mac80211: stop toggling IEEE80211_HT_CAP_SUP_WIDTH_20_40 · e1a0c6b3
      Johannes Berg 提交于
      For VHT, many more bandwidth changes are possible. As a first
      step, stop toggling the IEEE80211_HT_CAP_SUP_WIDTH_20_40 flag
      in the HT capabilities and instead introduce a bandwidth field
      indicating the currently usable bandwidth to transmit to the
      station. Of course, make all drivers use it.
      
      To achieve this, make ieee80211_ht_cap_ie_to_sta_ht_cap() get
      the station as an argument, rather than the new capabilities,
      so it can set up the new bandwidth field.
      
      If the station is a VHT station and VHT bandwidth is in use,
      also set the bandwidth accordingly.
      
      Doing this allows us to get rid of the supports_40mhz flag as
      the HT capabilities now reflect the true capability instead of
      the current setting.
      
      While at it, also fix ieee80211_ht_cap_ie_to_sta_ht_cap() to not
      ignore HT cap overrides when MCS TX isn't supported (not that it
      really happens...)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      e1a0c6b3
  6. 08 2月, 2013 1 次提交
  7. 11 12月, 2012 9 次提交
  8. 07 12月, 2012 1 次提交
  9. 05 12月, 2012 2 次提交
    • A
      wl18xx: set last Tx rate from FW status · 4d703847
      Arik Nemtsov 提交于
      Obtain the last Tx rate from the FW status and translate it to
      the mac80211 rate+flag format before sending it up via the Tx status.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      4d703847
    • A
      wlcore: improved Tx scheduling algorithm · 0e810479
      Arik Nemtsov 提交于
      Prioritize EDCA by choosing the AC before anything else. Use the
      fast/slow link bitmap in FW to improve the scheduling algorithm for
      the multi-link scenario.
      
      Set packet thresholds to determine if a given link is high or low
      priority according to its speed. A slow link will be given high priority
      if the amount of packets queued for it in the FW is lower than the
      slow-threshold. Similarly, a fast link will be given high priority if
      the number of its packets queued in FW is smaller than the high-threshold.
      
      The improved algorithm:
      1. Choose optimal AC according to FW utilization
      2. Traversing the VIFs in a round-robin fashion, try to choose a high
         priority link. Links are traversed in a round-robin fashion inside a
         VIF.
      3. If no high priority links are found, choose the first non-empty
         (low priority) link found in the round robin.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      0e810479
  10. 04 12月, 2012 8 次提交
  11. 28 11月, 2012 4 次提交
  12. 27 11月, 2012 6 次提交
  13. 27 9月, 2012 3 次提交