1. 30 8月, 2011 4 次提交
  2. 21 7月, 2011 2 次提交
    • J
      iwlagn: rewrite HW crypto · 5a3d9882
      Johannes Berg 提交于
      As I just discovered while doing WoWLAN, HW crypto
      is done wrong for GTKs: they should be programmed
      for the AP station ID (in the managed mode case)
      and the HW can actually deal with multiple group
      keys per station as well (which is useful in IBSS
      RSN but that I've chosen not to use this).
      
      To fix all this, modify the way keys are sent to
      the device and key offsets are allocated. After
      these changes, key offsets are stored into the
      hw_key_idx which we can then track for the key
      lifetime, not relying on our sta_cmd array. WEP
      default keys get special treatment, of course.
      
      Additionally, since I had the API for it, we can
      now pre-fill TKIP phase 1 keys for RX now that we
      can obtain the P1K from mac80211, a capability I
      had added for WoWLAN initially.
      
      Finally, some keys simply don't need to be added
      into the device's key cache -- a key that won't
      be used for RX is only needed in the TX header,
      so "pretend" to have accepted any key without
      adding it into the device -- no need to use up
      key space there for it.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      5a3d9882
    • E
      iwlagn: transport layer receives struct iwl_trans* · 41c50542
      Emmanuel Grumbach 提交于
      It still holds a pointer to iwl_priv. But hopefully this will disappear at some point.
      Also add the multiple inclusion protection to iwl-trans.h that was forgotten.
      Move iwl-trans structures to iwl-trans.h
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      41c50542
  3. 12 7月, 2011 3 次提交
  4. 14 5月, 2011 1 次提交
  5. 19 4月, 2011 1 次提交
  6. 08 4月, 2011 2 次提交
  7. 25 3月, 2011 1 次提交
  8. 22 2月, 2011 3 次提交
  9. 03 12月, 2010 1 次提交
  10. 16 11月, 2010 1 次提交
  11. 02 11月, 2010 1 次提交
  12. 08 10月, 2010 1 次提交
    • J
      iwlwifi: move agn specific station code there · a30e3112
      Johannes Berg 提交于
      By duplicating a little bit of code between 3945
      and agn, we can move a lot of code into an agn
      specific station management file and thus reduce
      the amount of code in core that is dead to 3945.
      
      before:
         text	   data	    bss	    dec	    hex	filename
       212886	   3872	     96	 216854	  34f16	iwlcore.ko
       620542	  10448	    304	 631294	  9a1fe	iwlagn.ko
       314013	   3264	    196	 317473	  4d821	iwl3945.ko
      
      after:
         text	   data	    bss	    dec	    hex	filename
       202857	   3872	     92	 206821	  327e5	iwlcore.ko
       629102	  10448	    308	 639858	  9c372	iwlagn.ko
       314240	   3264	    196	 317700	  4d904	iwl3945.ko
      
      delta:
       -10029   iwlcore.ko
         8560   iwlagn.ko
          227   iwl3945.ko
      
      so it's a net win even if you have both loaded,
      likely because a lot of EXPORT_SYMBOLs go away.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      a30e3112
  13. 11 9月, 2010 1 次提交
    • T
      iwlwifi: fix default LQ table in 5.2 band · cf6da94a
      Tomas Winkler 提交于
      The default LQ is filled decreasingly using
      iwl_get_prev_ieee_rate from a starting rate.
      Since the starting rate is already the lowest one for
      a specific band it should be actually filled evenly with
      the starting rate: 1M and 6M for 5.2GHZ and 2.4GH respectively.
      The bug is that for for A or G-only it decreases to
      CCK rates which are not supported.
      iwl_get_prev_ieee_rate function is just not band aware.
      This affects broadcast station which lq table
      is not updated by rs algorithm
      
      G-only scenario is not treated by this patch
      
      iwl_get_prev_ieee_rate is removed completely as it
      is not used in other contexts
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      cf6da94a
  14. 28 8月, 2010 5 次提交
  15. 27 8月, 2010 3 次提交
  16. 17 8月, 2010 1 次提交
  17. 07 8月, 2010 1 次提交
  18. 26 6月, 2010 1 次提交
  19. 22 6月, 2010 3 次提交
  20. 15 6月, 2010 1 次提交
  21. 25 5月, 2010 1 次提交
  22. 14 5月, 2010 2 次提交