1. 30 8月, 2011 32 次提交
  2. 09 8月, 2011 4 次提交
  3. 25 7月, 2011 1 次提交
  4. 21 7月, 2011 3 次提交
    • E
      iwlagn: probe would crash with DEBUG_SHIRQ · 1e89cbac
      Emmanuel Grumbach 提交于
      This is since my patch:
      
          iwlagn: introduce transport layer and implement rx_init
      
      The IRQ is requested before the locks are initialized, hence the crash.
      Initialize the tasklet before we request the IRQ on the way.
      Reported-by: NJohannes Berg <johannes.berg@intel.com>
      Tested-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      1e89cbac
    • J
      iwlagn: implement WoWLAN · c8ac61cf
      Johannes Berg 提交于
      Implement WoWLAN support in iwlagn. The device
      supports a number of wakeup triggers and can do
      GTK rekeying when asleep (if HW crypto is used).
      Unfortunately, we need to disconnect from the AP
      after resume since we can't yet get all the info
      out of the wowlan uCode to stay connected safely.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      c8ac61cf
    • 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