1. 26 11月, 2013 2 次提交
  2. 28 10月, 2013 6 次提交
  3. 17 10月, 2013 1 次提交
    • J
      mac80211: disable WMM with invalid parameters · 095d81ce
      Johannes Berg 提交于
      Some APs (notably a Sitecom WL-153 v1 with firmware 1.45) are sending
      invalid WMM parameters setting AIFSN, ECWmin and ECWmax to zero. The
      spec mandates that the value of AIFSN is at least 2, and some cards
      (e.g. Intel with the iwldvm driver) can't transmit when the invalid
      QoS parameters are actually uploaded to the firmware.
      
      Since there's little chance of being able to guess the values that
      the AP actually meant, disable WMM if such an invalid case is found.
      Since ECWmin/ECWmax are allowed to be zero, only verify AIFSN >= 2
      and ECWmin <= ECWmax.
      Reviewed-by: NEliad Peller <eliad@wizery.com>
      Reported-by: NAntonio Quartulli <antonio@meshcoding.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      095d81ce
  4. 10 10月, 2013 1 次提交
    • E
      mac80211: correctly close cancelled scans · a754055a
      Emmanuel Grumbach 提交于
      __ieee80211_scan_completed is called from a worker. This
      means that the following flow is possible.
      
       * driver calls ieee80211_scan_completed
       * mac80211 cancels the scan (that is already complete)
       * __ieee80211_scan_completed runs
      
      When scan_work will finally run, it will see that the scan
      hasn't been aborted and might even trigger another scan on
      another band. This leads to a situation where cfg80211's
      scan is not done and no further scan can be issued.
      
      Fix this by setting a new flag when a HW scan is being
      cancelled so that no other scan will be triggered.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a754055a
  5. 26 9月, 2013 3 次提交
  6. 06 8月, 2013 1 次提交
  7. 02 8月, 2013 1 次提交
  8. 01 8月, 2013 1 次提交
  9. 16 7月, 2013 5 次提交
  10. 18 6月, 2013 3 次提交
  11. 13 6月, 2013 1 次提交
  12. 12 6月, 2013 1 次提交
  13. 05 6月, 2013 1 次提交
  14. 25 5月, 2013 2 次提交
  15. 17 5月, 2013 1 次提交
  16. 22 4月, 2013 1 次提交
    • F
      mac80211: improve the rate control API · 0d528d85
      Felix Fietkau 提交于
      Allow rate control modules to pass a rate selection table to mac80211
      and the driver. This allows drivers to fetch the most recent rate
      selection from the sta pointer for already buffered frames. This allows
      rate control to respond faster to sudden link changes and it is also a
      step towards adding minstrel_ht support to drivers like iwlwifi.
      
      When a driver sets IEEE80211_HW_SUPPORTS_RC_TABLE, mac80211 will not
      fill info->control.rates with rates from the rate table (to preserve
      explicit overrides by the rate control module). The driver then
      explicitly calls ieee80211_get_tx_rates to merge overrides from
      info->control.rates with defaults from the sta rate table.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      0d528d85
  17. 17 4月, 2013 1 次提交
  18. 16 4月, 2013 4 次提交
  19. 08 4月, 2013 4 次提交