1. 25 4月, 2012 1 次提交
  2. 14 4月, 2012 1 次提交
  3. 12 4月, 2012 3 次提交
    • J
      mac80211: add improved HW queue control · 3a25a8c8
      Johannes Berg 提交于
      mac80211 currently only supports one hardware queue
      per AC. This is already problematic for off-channel
      uses since if we go off channel while the BE queue
      is full and then try to send an off-channel frame
      the frame will never go out. This will become worse
      when we support multi-channel since then a queue on
      one channel might be full, but we have to stop the
      software queue for all channels. That is obviously
      not desirable.
      
      To address this problem allow drivers to register
      more hardware queues, and allow them to map them to
      virtual interfaces. When they stop a hardware queue
      the corresponding AC software queues on the correct
      interfaces will be stopped as well. Additionally,
      there's an off-channel queue to solve that problem
      and a per-interface after-DTIM beacon queue. This
      allows drivers to manage software queues closer to
      how the hardware works.
      
      Currently, there's a limit of 16 hardware queues.
      This may or may not be sufficient, we can adjust it
      as needed.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3a25a8c8
    • J
      mac80211: add explicit monitor interface if needed · 4b6f1dd6
      Johannes Berg 提交于
      The queue mapping redesign that I'm planning to do
      will break pure injection unless we handle monitor
      interfaces explicitly. One possible option would
      be to have the driver tell mac80211 about monitor
      mode queues etc., but that would duplicate the API
      since we already need to have queue assignments
      handled per virtual interface.
      
      So in order to solve this, have a virtual monitor
      interface that is added whenever all active vifs
      are monitors. We could also use the state of one
      of the monitor interfaces, but managing that would
      be complicated, so allocate separate state.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4b6f1dd6
    • A
      mac80211: Indicate basic rates when adding rate IEs · 657c3e0c
      Ashok Nagarajan 提交于
      Basic rates are added with supported rates IE and extended supported
      rates IE.
      Signed-off-by: NAshok Nagarajan <ashok@cozybit.com>
      Signed-off-by: NThomas Pedersen <thomas@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      657c3e0c
  4. 11 4月, 2012 5 次提交
  5. 10 4月, 2012 2 次提交
  6. 16 3月, 2012 1 次提交
  7. 13 3月, 2012 1 次提交
  8. 01 3月, 2012 1 次提交
  9. 28 2月, 2012 1 次提交
  10. 23 2月, 2012 1 次提交
  11. 31 1月, 2012 1 次提交
  12. 17 1月, 2012 1 次提交
  13. 16 12月, 2011 4 次提交
  14. 07 12月, 2011 1 次提交
  15. 29 11月, 2011 7 次提交
  16. 22 11月, 2011 4 次提交
  17. 18 11月, 2011 1 次提交
    • J
      mac80211: remove crypto special case for auth frames · a7f23f0a
      Johannes Berg 提交于
      The shared key authentication frame that needs to be
      encrypted (the third one in the shared key handshake)
      is directly encrypted in ieee80211_send_auth and the
      IEEE80211_TX_INTFL_DONT_ENCRYPT is set. All others
      are not encrypted, so the only way to get to this is
      erroneously on no-monitor AP side.
      
      Remove the special case for authentication frames to
      fix the AP shared key side when operating without
      cooked monitor interfaces -- with cooked monitor the
      IEEE80211_TX_INTFL_DONT_ENCRYPT also gets set, so we
      never get here -- an AP never encrypts auth frames.
      
      Without this patch, an AP operating in WEP mode with
      my no-monitor patches would erroneously encrypt all
      authentication frames, instead of none.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a7f23f0a
  18. 12 11月, 2011 1 次提交
  19. 10 11月, 2011 1 次提交
  20. 09 11月, 2011 2 次提交