1. 06 6月, 2010 1 次提交
  2. 05 6月, 2010 1 次提交
  3. 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
  4. 14 5月, 2010 8 次提交
  5. 11 5月, 2010 8 次提交
  6. 01 5月, 2010 1 次提交
  7. 17 4月, 2010 8 次提交
  8. 10 4月, 2010 2 次提交
    • J
      iwlwifi: clean up last_phy_res · 05d57520
      Johannes Berg 提交于
      The last_phy_res[100] variable is used in an odd
      way. The first byte of it is used as a flag, and
      the rest as the data. Thus, the array need only
      be 61 bytes, since it is just the flag and a
      struct iwl_rx_phy_res (which is 60 bytes).
      
      Clean this up by splitting the variable into two:
      last_phy_res and last_phy_res_valid, using correct
      types for both (struct and bool). While doing all
      this also move the variables to the _agn part of
      the hw-specific union since they only apply to
      A-MPDUs.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      05d57520
    • J
      iwlwifi: make WEP key restoring explicit · 335348b1
      Johannes Berg 提交于
      The firmware clears default WEP keys on
      transitions to !associated, so we need
      to restore them just like stations. This
      is rather implicit as part of sending a
      station right now, which is odd. Make it
      explicit instead and only for agn since
      3945 doesn't use hw crypto for WEP.
      
      Due to that, iwl_send_static_wepkey_cmd
      is now only used in iwl-sta.c and can be
      static.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      335348b1
  9. 03 4月, 2010 1 次提交
  10. 01 4月, 2010 2 次提交
  11. 26 3月, 2010 3 次提交
  12. 20 3月, 2010 3 次提交
  13. 10 3月, 2010 1 次提交
    • J
      iwlwifi: clean up queue/fifo handling · edc1a3a0
      Johannes Berg 提交于
      4965 hardware has 7 queues reserved and the
      remaining ones used for aggregation, 5000
      and higher need to have 10 reserved. This
      is not very clear in the code right now,
      unfortunately.
      
      Introduce a new IWL_TX_FIFO_UNUSED constant
      and make the queue/FIFO mapping arrays able
      to hold that value, and change the setup
      code to reserve all queues in the arrays
      (the queue number is the index) and use the
      new unused constant to not map those queues
      to any FIFO.
      
      Additionally, clear up the AC/queue mapping
      code to be more understandable. The mapping
      is the identity mapping right now, but with
      the mapping function I think it's easier to
      understand what happens there.
      
      Finally, HCCA isn't implemented at all and
      I think newer microcode removed it, so let's
      remove all mention of it in the code, some
      comments remain for 4965.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Acked-by: NShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      edc1a3a0