1. 15 11月, 2011 11 次提交
  2. 01 10月, 2011 1 次提交
    • J
      mac80211: implement uAPSD · 47086fc5
      Johannes Berg 提交于
      Add uAPSD support to mac80211. This is probably not
      possible with all devices, so advertising it with
      the cfg80211 flag will be left up to drivers that
      want it.
      
      Due to my previous patches it is now a fairly
      straight-forward extension. Drivers need to have
      accurate TX status reporting for the EOSP frame.
      For drivers that buffer themselves, the provided
      APIs allow releasing the right number of frames,
      but then drivers need to set EOSP and more-data
      themselves. This is documented in more detail in
      the new code itself.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      47086fc5
  3. 08 7月, 2011 1 次提交
    • J
      mac80211: fix TKIP races, make API easier to use · 523b02ea
      Johannes Berg 提交于
      Our current TKIP code races against itself on TX
      since we can process multiple packets at the same
      time on different ACs, but they all share the TX
      context for TKIP. This can lead to bad IVs etc.
      
      Also, the crypto offload helper code just obtains
      the P1K/P2K from the cache, and can update it as
      well, but there's no guarantee that packets are
      really processed in order.
      
      To fix these issues, first introduce a spinlock
      that will protect the IV16/IV32 values in the TX
      context. This first step makes sure that we don't
      assign the same IV multiple times or get confused
      in other ways.
      
      Secondly, change the way the P1K cache works. I
      add a field "p1k_iv32" that stores the value of
      the IV32 when the P1K was last recomputed, and
      if different from the last time, then a new P1K
      is recomputed. This can cause the P1K computation
      to flip back and forth if packets are processed
      out of order. All this also happens under the new
      spinlock.
      
      Finally, because there are argument differences,
      split up the ieee80211_get_tkip_key() API into
      ieee80211_get_tkip_p1k() and ieee80211_get_tkip_p2k()
      and give them the correct arguments.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      523b02ea
  4. 30 4月, 2011 1 次提交
  5. 21 4月, 2011 1 次提交
    • S
      iwl4965: fix skb usage after free · 069f40fc
      Stanislaw Gruszka 提交于
      Since
      
      commit a120e912
      Author: Stanislaw Gruszka <sgruszka@redhat.com>
      Date:   Fri Feb 19 15:47:33 2010 -0800
      
          iwlwifi: sanity check before counting number of tfds can be free
      
      we use skb->data after calling ieee80211_tx_status_irqsafe(), which
      could free skb instantly.
      
      On current kernels I do not observe practical problems related with
      bug, but on 2.6.35.y it cause random system hangs when stressing
      wireless link, making bisection of other problems impossible.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      069f40fc
  6. 01 3月, 2011 1 次提交
  7. 26 2月, 2011 1 次提交
    • J
      iwlegacy: change some symbols duplicated from iwlwifi directory · ef33417d
      John W. Linville 提交于
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x29f0): multiple definition of `iwl_rates'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0xa68): first defined here
      powerpc64-linux-ld: Warning: size of symbol `iwl_rates' changed from 143 in drivers/net/wireless/iwlwifi/built-in.o to 130 in drivers/net/wireless/iwlegacy/built-in.o
      drivers/net/wireless/iwlegacy/built-in.o:(.data+0x0): multiple definition of `bt_coex_active'
      drivers/net/wireless/iwlwifi/built-in.o:(.data+0x668): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x750): multiple definition of `iwl_eeprom_band_1'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x27d0): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x3f0): multiple definition of `iwl_bcast_addr'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x24f8): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.bss+0x3d48): multiple definition of `iwl_debug_level'
      drivers/net/wireless/iwlwifi/built-in.o:(.bss+0x21950): first defined here
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ef33417d
  8. 22 2月, 2011 1 次提交
  9. 22 1月, 2011 1 次提交
  10. 14 12月, 2010 1 次提交
  11. 25 11月, 2010 3 次提交
  12. 17 11月, 2010 1 次提交
  13. 16 11月, 2010 4 次提交
  14. 26 10月, 2010 1 次提交
  15. 08 10月, 2010 1 次提交
  16. 06 10月, 2010 1 次提交
    • W
      iwlagn: reduce redundant parameter definitions · 7cb1b088
      Wey-Yi Guy 提交于
      move paramater definitions to a device paramater structure only
      leaving the device name, which antennas are used and what firmware
      file to use in the iwl_cfg structure.  this will not completely
      remove the redundancies but greatly reduce them for devices that
      only vary by name or antennas.  the parameters that are more
      likely to change within a given device family are left in iwl_cfg.
      also separate bt param structure added to help reduce more.
      Signed-off-by: NJay Sternberg <jay.e.sternberg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      7cb1b088
  17. 28 8月, 2010 3 次提交
  18. 27 8月, 2010 2 次提交
  19. 26 8月, 2010 3 次提交
  20. 17 8月, 2010 1 次提交