1. 29 Aug, 2011 6 commits
  2. 21 Jul, 2011 2 commits
    • Johannes Berg's avatar
      iwlagn: rewrite HW crypto · 5a3d9882
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      5a3d9882
    • Emmanuel Grumbach's avatar
      iwlagn: transport layer receives struct iwl_trans* · 41c50542
      Emmanuel Grumbach authored
      
      
      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: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      41c50542
  3. 11 Jul, 2011 3 commits
  4. 13 May, 2011 1 commit
  5. 18 Apr, 2011 1 commit
  6. 07 Apr, 2011 2 commits
  7. 25 Mar, 2011 1 commit
  8. 21 Feb, 2011 3 commits
  9. 02 Dec, 2010 1 commit
  10. 16 Nov, 2010 1 commit
  11. 01 Nov, 2010 1 commit
  12. 07 Oct, 2010 1 commit
    • Johannes Berg's avatar
      iwlwifi: move agn specific station code there · a30e3112
      Johannes Berg authored
      
      
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      a30e3112
  13. 11 Sep, 2010 1 commit
    • Tomas Winkler's avatar
      iwlwifi: fix default LQ table in 5.2 band · cf6da94a
      Tomas Winkler authored
      
      
      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: default avatarTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      cf6da94a
  14. 27 Aug, 2010 8 commits
  15. 16 Aug, 2010 1 commit
  16. 06 Aug, 2010 1 commit
  17. 25 Jun, 2010 1 commit
  18. 21 Jun, 2010 3 commits
  19. 14 Jun, 2010 1 commit
  20. 24 May, 2010 1 commit