1. 27 5月, 2013 1 次提交
    • J
      mac80211: assign AP_VLAN hw queues correctly · 1351c5d3
      Johannes Berg 提交于
      A lot of code in mac80211 assumes that the hw queues are
      set up correctly for all interfaces (except for monitor)
      but this isn't true for AP_VLAN interfaces. Fix this by
      copying the AP master configuration when an AP VLAN is
      brought up, after this the AP interface can't change its
      configuration any more and needs to be brought down to
      change it, which also forces AP_VLAN interfaces down, so
      just copying in open() is sufficient.
      Reported-by: NJouni Malinen <j@w1.fi>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      1351c5d3
  2. 24 5月, 2013 1 次提交
    • J
      mac80211: fix queue handling crash · 2b436312
      Johannes Berg 提交于
      The code I added in "mac80211: don't start new netdev queues
      if driver stopped" crashes for monitor and AP VLAN interfaces
      because while they have a netdev, they don't have queues set
      up by the driver.
      
      To fix the crash, exclude these from queue accounting here
      and just start their netdev queues unconditionally.
      
      For monitor, this is the best we can do, as we can redirect
      frames there to any other interface and don't know which one
      that will since it can be different for each frame.
      
      For AP VLAN interfaces, we can do better later and actually
      properly track the queue status. Not doing this is really a
      separate bug though.
      Reported-by: NIlan Peer <ilan.peer@intel.com>
      Reported-by: NJouni Malinen <j@w1.fi>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2b436312
  3. 17 5月, 2013 7 次提交
  4. 22 4月, 2013 7 次提交
  5. 19 4月, 2013 1 次提交
  6. 17 4月, 2013 5 次提交
  7. 16 4月, 2013 10 次提交
  8. 11 4月, 2013 8 次提交