1. 01 5月, 2010 1 次提交
    • D
      iwlwifi: set AMPDU status variables correctly · e3a3cd87
      Daniel Halperin 提交于
      The TX status code is currently abusing the ampdu_ack_map field (a bitmap) to
      count the number of successfully received frames.  The comments in mac80211.h
      show there are actually three different, relevant variables, of which we are
      currently using two, both incorrectly. Fix this by making
      
      - ampdu_ack_len -> the number of ACKed frames (i.e. successes)
      - ampdu_ack_map -> the bitmap
      - ampdu_len -> the total number of frames sent (i.e., attempts)
      
      to match the header file (and verified with ath9k's usage) and updating Intel's
      RS code to match.
      Signed-off-by: NDaniel Halperin <dhalperi@cs.washington.edu>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      e3a3cd87
  2. 17 4月, 2010 2 次提交
    • W
      iwlwifi: sanity check for turn on aggregation tid · 82ca9341
      Wey-Yi Guy 提交于
      Perform sanity check for turn on aggregation tid. Also remove the
      option for turn on all the aggregation tids at once since it is
      deprecated function and not being used.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      82ca9341
    • W
      iwlwifi: set correct single/dual stream mask · 3a23d695
      Wey-Yi Guy 提交于
      Even the initial single/dual stream values will be overridden later when
      issue link quality command; but still make sense not to use hard-code
      value during initialization. Single/Dual stream mask are used to indicate the
      best antenna for SISO/MIMO; different NIC has different tx antenna
      configuration; so the parameter need to based on the valid tx antenna.
      
      1x2 device: single tx antenna available, only SISO is valid
      configuration, but still need to set up MIMO configuration, so set it up
      with antenna A & B as default.
      2x2 device: two tx antenna available, dual_stream will use both valid
      antenna.
      
      3x3 device: three tx antenna available, skip the first antenna and
      choice the second and third antenna for dual_stream.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      3a23d695
  3. 10 4月, 2010 1 次提交
    • R
      iwlwifi: fix compile warnings when compiling without debug · f875f518
      Reinette Chatre 提交于
      Fixes:
      CC [M]  drivers/net/wireless/iwlwifi/iwl-agn-rs.o
      drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In function ‘rs_get_rate’:
      drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2419: warning: unused variable ‘priv’
      CC [M]  drivers/net/wireless/iwlwifi/iwl-sta.o
      drivers/net/wireless/iwlwifi/iwl-sta.c: In function ‘iwl_send_add_sta’:
      drivers/net/wireless/iwlwifi/iwl-sta.c:197: warning: unused variable ‘sta_id’
      
      drivers/net/wireless/iwlwifi/iwl-3945.c: In function ‘iwl3945_rx_reply_rx’:
      drivers/net/wireless/iwlwifi/iwl-3945.c:601: warning: unused variable ‘rx_stats_noise_diff’
      drivers/net/wireless/iwlwifi/iwl-3945.c:600: warning: unused variable ‘rx_stats_sig_avg’
      drivers/net/wireless/iwlwifi/iwl-3945-rs.c: In function ‘rs_get_rate’:
      drivers/net/wireless/iwlwifi/iwl-3945-rs.c:650: warning: unused variable ‘priv’
      Reported-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      f875f518
  4. 03 4月, 2010 2 次提交
  5. 26 3月, 2010 1 次提交
  6. 20 3月, 2010 2 次提交
  7. 10 3月, 2010 2 次提交
  8. 12 2月, 2010 1 次提交
  9. 20 1月, 2010 1 次提交
  10. 29 12月, 2009 1 次提交
  11. 24 11月, 2009 1 次提交
  12. 19 11月, 2009 1 次提交
  13. 11 11月, 2009 1 次提交
    • W
      iwlwifi: Use RTS/CTS as the preferred protection mechanism for 6000 series · 73871f71
      Wey-Yi Guy 提交于
      When 802.11g was introduced, we had RTS/CTS and CTS-to-Self protection
      mechanisms. In an HT Beacon, HT stations use the "Operating Mode" field
      in the HT Information Element to determine whether or not to use
      protection.
      
      The Operating Mode field has 4 possible settings: 0-3:
      Mode 0: If all stations in the BSS are 20/40 MHz HT capable, or if the
      BSS is 20/40 MHz capable, or if all stations in the BSS are 20 MHz HT
      stations in a 20 MHz BSS
      Mode 1: used if there are non-HT stations or APs using the primary or
      secondary channels
      Mode 2: if only HT stations are associated in the BSS and at least one
      20 MHz HT station is associated.
      Mode 3: used if one or more non-HT stations are associated in the BSS.
      
      When in operating modes 1 or 3, and the Use_Protection field is 1 in the
      Beacon's ERP IE, all HT transmissions must be protected using RTS/CTS or
      CTS-to-Self.
      
      By default, CTS-to-self is the preferred protection mechanism for less
      overhead and higher throughput; but using the full RTS/CTS will better
      protect the inner exchange from interference, especially in
      highly-congested environment.
      
      For 6000 series WIFI NIC, RTS/CTS protection mechanism is the
      recommended choice for HT traffic based on the HW design.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Cc: stable@kernel.org
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      73871f71
  14. 03 11月, 2009 1 次提交
  15. 28 10月, 2009 2 次提交
  16. 08 10月, 2009 5 次提交
  17. 23 9月, 2009 2 次提交
  18. 15 9月, 2009 2 次提交
  19. 01 9月, 2009 2 次提交
  20. 29 8月, 2009 1 次提交
  21. 20 8月, 2009 4 次提交
  22. 14 8月, 2009 2 次提交
  23. 28 7月, 2009 2 次提交