1. 20 1月, 2010 2 次提交
  2. 29 12月, 2009 1 次提交
  3. 23 12月, 2009 1 次提交
  4. 22 12月, 2009 2 次提交
    • J
      mac80211: reduce reliance on netdev · 47846c9b
      Johannes Berg 提交于
      For bluetooth 3, we will most likely not have
      a netdev for a virtual interface (sdata), so
      prepare for that by reducing the reliance on
      having a netdev. This patch moves the name
      and address fields into the sdata struct and
      uses them from there all over. Some work is
      needed to keep them sync'ed, but that's not
      a lot of work and in slow paths anyway.
      
      In doing so, this also reduces the number of
      pointer dereferences in many places, because
      of things like sdata->dev->dev_addr becoming
      sdata->vif.addr.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      47846c9b
    • J
      mac80211: make station management completely depend on vif · abe60632
      Johannes Berg 提交于
      The station management currently uses the virtual
      interface, but you cannot add the same station to
      multiple virtual interfaces if you're communicating
      with it in multiple ways.
      
      This restriction should be lifted so that in the
      future we can, for instance, support bluetooth 3
      with an access point that mac80211 is already
      associated to.
      
      We can do that by requiring all sta_info_get users
      to provide the virtual interface and making the RX
      code aware that an address may match more than one
      station struct. Thanks to the previous patches this
      one isn't all that large and except for the RX and
      TX status paths changes has low complexity.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      abe60632
  5. 05 12月, 2009 1 次提交
    • J
      mac80211: Fix TX status reporting for injected data frames · 914828fa
      Jouni Malinen 提交于
      An earlier optimization on removing unnecessary traffic on cooked
      monitor interfaces ("mac80211: reduce the amount of unnecessary traffic
      on cooked monitor interfaces ") ended up removing quite a bit more
      than just unnecessary traffic. It was not supposed to remove TX status
      reporting for injected frames, but ended up doing it by checking the
      injected flag in skb->cb only after that field had been cleared with
      memset.. Fix this by taking a local copy of the injected flag before
      skb->cb is cleared.
      
      This broke user space applications that depend on getting TX status
      notifications for injected data frames. For example, STA inactivity
      poll from hostapd did not work and ended up kicking out stations even
      if they were still present.
      Signed-off-by: NJouni Malinen <j@w1.fi>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      914828fa
  6. 19 11月, 2009 1 次提交