1. 06 4月, 2016 1 次提交
  2. 05 4月, 2016 1 次提交
    • F
      mac80211: minstrel_ht: improve sample rate skip logic · 06171e9c
      Felix Fietkau 提交于
      There were a few issues that were slowing down the process of finding
      the optimal rate, especially on devices with multi-rate retry
      limitations:
      
      When max_tp_rate[0] was slower than max_tp_rate[1], the code did not
      sample max_tp_rate[1], which would often allow it to switch places with
      max_tp_rate[0] (e.g. if only the first sampling attempts were bad, but the
      rate is otherwise good).
      
      Also, sample attempts of rates between max_tp_rate[0] and [1] were being
      ignored in this case, because the code only checked if the rate was
      slower than [1].
      
      Fix this by checking against the fastest / second fastest max_tp_rate
      instead of assuming a specific order between the two.
      
      In my tests this patch significantly reduces the time until minstrel_ht
      finds the optimal rate right after assoc
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      06171e9c
  3. 01 3月, 2016 1 次提交
  4. 23 2月, 2016 1 次提交
  5. 02 2月, 2016 2 次提交
  6. 17 7月, 2015 1 次提交
  7. 10 6月, 2015 1 次提交
    • J
      mac80211: convert HW flags to unsigned long bitmap · 30686bf7
      Johannes Berg 提交于
      As we're running out of hardware capability flags pretty quickly,
      convert them to use the regular test_bit() style unsigned long
      bitmaps.
      
      This introduces a number of helper functions/macros to set and to
      test the bits, along with new debugfs code.
      
      The occurrences of an explicit __clear_bit() are intentional, the
      drivers were never supposed to change their supported bits on the
      fly. We should investigate changing this to be a per-frame flag.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      30686bf7
  8. 02 4月, 2015 4 次提交
  9. 17 3月, 2015 1 次提交
  10. 28 11月, 2014 2 次提交
  11. 20 11月, 2014 1 次提交
  12. 19 11月, 2014 1 次提交
  13. 27 10月, 2014 1 次提交
  14. 21 10月, 2014 4 次提交
  15. 09 10月, 2014 1 次提交
  16. 11 9月, 2014 1 次提交
  17. 21 5月, 2014 1 次提交
    • A
      mac80211: export the expected throughput · cca674d4
      Antonio Quartulli 提交于
      Add get_expected_throughput() API to mac80211 so that each
      driver can implement its own version based on the RC
      algorithm they are using (might be using an HW RC algo).
      The API returns a value expressed in Kbps.
      
      Also, add the new get_expected_throughput() member
      to the rate_control_ops structure in order to be
      able to query the RC algorithm (this patch provides an
      implementation of this API for both minstrel and
      minstrel_ht).
      
      The related member in the station_info object is now
      filled accordingly when dumping a station.
      
      Cc: Felix Fietkau <nbd@openwrt.org>
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      cca674d4
  18. 19 5月, 2014 1 次提交
  19. 05 2月, 2014 2 次提交
  20. 18 12月, 2013 1 次提交
  21. 26 11月, 2013 3 次提交
  22. 25 11月, 2013 2 次提交
  23. 26 9月, 2013 1 次提交
  24. 22 8月, 2013 1 次提交
  25. 21 8月, 2013 1 次提交
  26. 12 8月, 2013 1 次提交
    • J
      mac80211: add control port protocol TX control flag · af61a165
      Johannes Berg 提交于
      A lot of drivers check the frame protocol for ETH_P_PAE,
      for various reasons (like making those more reliable).
      Add a new flags bitmap to the TX control info and a new
      flag indicating the control port protocol is in use to
      let all drivers also apply such logic to other control
      port protocols, should they be configured.
      
      Also use the new flag in the iwlwifi drivers.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      af61a165
  27. 16 7月, 2013 2 次提交