1. 06 6月, 2010 2 次提交
  2. 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
  3. 14 5月, 2010 1 次提交
  4. 11 5月, 2010 5 次提交
  5. 01 5月, 2010 1 次提交
  6. 17 4月, 2010 1 次提交
  7. 10 4月, 2010 1 次提交
  8. 03 4月, 2010 1 次提交
    • 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
  9. 26 3月, 2010 10 次提交
  10. 20 3月, 2010 5 次提交
    • W
      iwlwifi: code cleanup for connectivity recovery · fa8f130c
      Wey-Yi Guy 提交于
      Split the connectivity check and recovery routine into separated
      functions based on the types
         1. iwl_good_ack_health() - check for ack count
         2. iwl_good_plcp_health() - check for plcp error
      
      Based on the type of errors being detected, different recovery methods
      will be used to bring the system back to normal operational state.
      
      Because different NIC has different HW and uCode, the behavior is also
      different; these functions thus now form part of the ops infrastructure,
      so we can have more control on how to monitor and recover from error condition
      case per device.
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      fa8f130c
    • W
      iwlwifi: move plcp check to separated function · beac5498
      Wey-Yi Guy 提交于
      Move the plcp error checking into stand alone function and pointed by ops
      to accommodate devices not needing this recovery.
      Signed-off-by: NTrieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      beac5498
    • W
      iwlwifi: Recover TX flow stall due to stuck queue · b74e31a9
      Wey-Yi Guy 提交于
      Monitors the internal TX queues periodically.  When a queue is stuck
      for some unknown conditions causing the throughput to drop and the
      transfer is stop, the driver will force firmware reload and bring the
      system back to normal operational state.
      
      The iwlwifi devices behave differently in this regard so this feature is
      made part of the ops infrastructure so we can have more control on how to
      monitor and recover from tx queue stall case per device.
      Signed-off-by: NTrieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      b74e31a9
    • S
      iwlwifi: clean up driver names for 1000/5000/6000 · c11362c0
      Shanyu Zhao 提交于
      Align the driver names with official product names for 1000/5000/6000
      series. This change mainly affects the debug messages show up in system
      log. No functional changes.
      Signed-off-by: NShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      c11362c0
    • R
      iwlwifi: only add broadcast station once · 7e246191
      Reinette Chatre 提交于
      Currently the broadcast station is added after every RXON command. Change
      this to only add the broadcast station when interface is added by mac80211.
      With this we need some extra work to ensure broadcast station is always
      present since station table is cleared when RXON without ASSOC bit set is
      sent. To deal with this we re-add all driver known stations to uCode after
      such an RXON command is sent.
      
      We also do some cleanup and remove the various calls to clear the station
      table. We now only clear the station table in two scenarios:
      - only clear uCode portion of station table when RXON command without ASSOC
      bit is sent
      - clear uCode and driver portion when interface goes down or is removed.
      
      We need to do this clearing when interface goes down to deal with the
      device restart/reconfigure routines which do not remove the interface, but
      do add the interface during reconfiguration.
      
      Previously the keys were also cleared when station table in driver is
      cleared, this is not done anymore since mac80211 will take care that keys
      are set and cleared correctly.
      
      There is a known issue with this change. Associating with different AP
      without bringing interface down fails with a firmware error. This is
      because of the lack of full station notification support and the later
      patches in this series that complete the station notification support will
      fix this.
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      7e246191
  11. 10 3月, 2010 3 次提交
  12. 23 2月, 2010 2 次提交
  13. 12 2月, 2010 2 次提交
  14. 09 2月, 2010 1 次提交
  15. 30 1月, 2010 2 次提交
  16. 26 1月, 2010 2 次提交
    • R
      iwlwifi: make broadcast station addition generic · 3459ab5a
      Reinette Chatre 提交于
      Add function pointer for broadcast station addition so that we can call it
      in from iwlcore at a later time. We only distinguish between iwlagn and
      iwl3945 broadcast station addition. For the iwl3945 station addition we add
      that function to iwlcore since that is where most station functionality
      resides, making it part of iwl3945 will require significant code
      reorganization that will dilute station management functionality. This
      seems to be an efficient solution.
      
      It may seem as though we are removing error checking when adding the 3945
      broadcast station but this error checking was never really necessary since
      the function returns the station id and the broadcast station id is always
      set.
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3459ab5a
    • T
      iwlwifi: Tune radio to prevent unexpected behavior · 3e4fb5fa
      Trieu 'Andrew' Nguyen 提交于
      We have seen the throughput dropped due to external noisy environment
      and the radio is out of tune.  There are lot of plcp errors indicating
      this condition. Eventually the station can get de-authenticated by the
      Access Point.  By resetting and tuning the radio, the plcp errors are
      reduced or eliminated and the throughput starts to rise.
      
      To prevent unexpected behavior such as drop in throughput or deauthentication,
      - The change provides the driver feature to monitor and tune the radio base on
      the statistics notification from the uCode.
      - It also allows the setting of the plcp error rate threshold via
      the plcp_delta under debugfs interface.
      Signed-off-by: NTrieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3e4fb5fa