1. 10 8月, 2010 1 次提交
    • J
      iwlagn: fix rts cts protection · 94597ab2
      Johannes Berg 提交于
      Currently the driver will try to protect all frames,
      which leads to a lot of odd things like sending an
      RTS with a zeroed RA before multicast frames, which
      is clearly bogus.
      
      In order to fix all of this, we need to take a step
      back and see what we need to achieve:
       * we need RTS/CTS protection if requested by
         the AP for the BSS, mac80211 tells us this
       * in that case, CTS-to-self should only be
         enabled when mac80211 tells us
       * additionally, as a hardware workaround, on
         some devices we have to protect aggregated
         frames with RTS
      
      To achieve the first two items, set up the RXON
      accordingly and set the protection required flag
      in the transmit command when mac80211 requests
      protection for the frame.
      
      To achieve the last item, set the rate-control
      RTS-requested flag for all stations that we have
      aggregation sessions with, and set the protection
      required flag when sending aggregated frames (on
      those devices where this is required).
      
      Since otherwise bugs can occur, do not allow the
      user to override the RTS-for-aggregation setting
      from sysfs any more.
      
      Finally, also clean up the way all these flags get
      set in the driver and move everything into the
      device-specific functions.
      
      Cc: stable@kernel.org [2.6.35]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      94597ab2
  2. 23 7月, 2010 2 次提交
  3. 17 7月, 2010 1 次提交
  4. 26 6月, 2010 1 次提交
  5. 22 6月, 2010 2 次提交
  6. 06 6月, 2010 5 次提交
  7. 04 6月, 2010 1 次提交
    • J
      Revert "iwlwifi: move _agn statistics related structure" · 2daf6c15
      John W. Linville 提交于
      This reverts commit a2064b7a.
      
      when CONFIG_IWLAGN=n:
      
      drivers/net/wireless/iwlwifi/iwl-rx.c:254: error: 'struct iwl_priv' has no member named '_agn'
      drivers/net/wireless/iwlwifi/iwl-rx.c:303: error: 'struct iwl_priv' has no member named '_agn'
      drivers/net/wireless/iwlwifi/iwl-rx.c:304: error: 'struct iwl_priv' has no member named '_agn'
      drivers/net/wireless/iwlwifi/iwl-rx.c:305: error: 'struct iwl_priv' has no member named '_agn'
      drivers/net/wireless/iwlwifi/iwl-rx.c:306: error: 'struct iwl_priv' has no member named '_agn'
      
      and many more.
      
      Conflicts:
      
      	drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c
      	drivers/net/wireless/iwlwifi/iwl-debugfs.c
      	drivers/net/wireless/iwlwifi/iwl-dev.h
      	drivers/net/wireless/iwlwifi/iwl-rx.c
      Reported-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2daf6c15
  8. 14 5月, 2010 2 次提交
  9. 11 5月, 2010 8 次提交
  10. 17 4月, 2010 4 次提交
  11. 10 4月, 2010 2 次提交
  12. 09 4月, 2010 1 次提交
  13. 03 4月, 2010 3 次提交
    • F
      iwlwifi: remove trailing space in messages · 91dd6c27
      Frans Pop 提交于
      Includes minor improvements in debugging messages in iwl-4965.c,
      function iwl4965_is_temp_calib_needed().
      Signed-off-by: NFrans Pop <elendil@planet.nl>
      Cc: Zhu Yi <yi.zhu@intel.com>
      Cc: Reinette Chatre <reinette.chatre@intel.com>
      Cc: Intel Linux Wireless <ilw@linux.intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      91dd6c27
    • W
      iwlwifi: code cleanup for generic defines · b744cb79
      Wey-Yi Guy 提交于
      Some defines used by all agn devices, but the definitions were in
      iwl-4965-hw.h, move those to iwl-agn-hw.h which is the better place for
      those.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      b744cb79
    • W
      iwlwifi: merge module parameters into single place · 2b068618
      Wey-Yi Guy 提交于
      Module parameters used to be defined in both iwl-5000.c and iwl-4965.c,
      after the code re-structure, merge into iwl-agn.c for easy to read and
      maintenance.
      
      Number of module parameters are deprecated after this merge. These are also
      scheduled for removal by 2.6.40.
      
      The current supported parameters are:
      
       parm: debug50:50XX debug output mask (deprecated) (uint)
       parm: debug:debug output mask (uint)
       parm: swcrypto50:using crypto in software (default 0 [hardware])
      (deprecated) (bool)
       parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
       parm: queues_num50:number of hw queues in 50xx series (deprecated)
      (int)
       parm: queues_num:number of hw queues. (int)
       parm: 11n_disable50:disable 50XX 11n functionality (deprecated) (int)
       parm: 11n_disable:disable 11n functionality (int)
       parm: amsdu_size_8K50:enable 8K amsdu size in 50XX series (deprecated)
      (int)
       parm: amsdu_size_8K:enable 8K amsdu size (int)
       parm: fw_restart50:restart firmware in case of error (deprecated) (int)
       parm: fw_restart:restart firmware in case of error (int)
       parm: disable_hw_scan:disable hardware scanning (default 0) (int)
      
      Remove "antenna" module parameter, it is not being used in "agn" driver.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      2b068618
  14. 31 3月, 2010 1 次提交
  15. 26 3月, 2010 4 次提交
  16. 20 3月, 2010 2 次提交