1. 06 Mar, 2013 5 commits
  2. 15 Feb, 2013 2 commits
    • Johannes Berg's avatar
      mac80211: stop modifying HT SMPS capability · af0ed69b
      Johannes Berg authored
      
      
      Instead of modifying the HT SMPS capability field
      for stations, track the SMPS mode explicitly in a
      new field in the station struct and use it in the
      drivers that care about it. This simplifies the
      code using it.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      af0ed69b
    • Johannes Berg's avatar
      mac80211: stop toggling IEEE80211_HT_CAP_SUP_WIDTH_20_40 · e1a0c6b3
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      e1a0c6b3
  3. 13 Feb, 2013 1 commit
  4. 11 Feb, 2013 1 commit
  5. 30 Nov, 2012 1 commit
  6. 12 Jul, 2012 1 commit
  7. 09 Jul, 2012 1 commit
  8. 13 Apr, 2012 1 commit
  9. 10 Apr, 2012 1 commit
  10. 15 Mar, 2012 1 commit
  11. 12 Mar, 2012 1 commit
  12. 17 Nov, 2011 3 commits
  13. 30 Sep, 2011 1 commit
  14. 14 Sep, 2011 1 commit
  15. 09 Aug, 2011 1 commit
  16. 01 Jun, 2011 1 commit
  17. 12 May, 2011 1 commit
  18. 31 Mar, 2011 1 commit
  19. 28 Mar, 2011 1 commit
  20. 14 Mar, 2011 1 commit
  21. 09 Mar, 2011 1 commit
  22. 04 Mar, 2011 1 commit
  23. 15 Dec, 2010 1 commit
  24. 24 Nov, 2010 1 commit
  25. 15 Nov, 2010 1 commit
  26. 11 Oct, 2010 1 commit
    • Björn Smedman's avatar
      mac80211: minstrel_ht A-MPDU fix · 15d46f38
      Björn Smedman authored
      
      
      This patch fixes two problems with the minstrel_ht rate control
      algorithms handling of A-MPDU frames:
      
      1. The ampdu_len field of the tx status is not always initialized for
      non-HT frames (and it would probably be unreasonable to require all
      drivers to do so). This could cause rate control statistics to be
      corrupted. We now trust the ampdu_len and ampdu_ack_len fields only when
      the frame is marked with the IEEE80211_TX_STAT_AMPDU flag.
      
      2. Successful transmission attempts where only recognized when the A-MPDU
      subframe carrying the rate control status information was marked with the
      IEEE80211_TX_STAT_ACK flag. If this information happed to be carried on a
      frame that failed to be ACKed then the other subframes (which may have
      succeeded) where not correctly registered. We now update rate control
      statistics regardless of whether the subframe carrying the information was
      ACKed or not.
      
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarBjörn Smedman <bjorn.smedman@venatech.se>
      Acked-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      15d46f38
  27. 26 Jul, 2010 2 commits
  28. 02 Jul, 2010 2 commits
  29. 24 Jun, 2010 1 commit
  30. 14 Jun, 2010 1 commit
  31. 02 Jun, 2010 1 commit