1. 16 12月, 2013 1 次提交
    • J
      mac80211: add pre-RCU-sync sta removal driver operation · 6a9d1b91
      Johannes Berg 提交于
      Currently, mac80211 allows drivers to keep RCU-protected station
      references that are cleared when the station is removed from the
      driver and consequently needs to synchronize twice, once before
      removing the station from the driver (so it can guarantee that
      the station is no longer used in TX towards the driver) and once
      after the station is removed from the driver.
      
      Add a new pre-RCU-synchronisation station removal operation to
      the API to allow drivers to clear/invalidate their RCU-protected
      station pointers before the RCU synchronisation.
      
      This will allow removing the second synchronisation by changing
      the driver API so that the driver may no longer assume a valid
      RCU-protected pointer after sta_remove/sta_state returns.
      
      The alternative to this would be to synchronize_rcu() in all the
      drivers that currently rely on this behaviour (only iwlmvm) but
      that would defeat the purpose.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      6a9d1b91
  2. 03 12月, 2013 1 次提交
  3. 01 10月, 2013 1 次提交
  4. 02 8月, 2013 1 次提交
  5. 29 5月, 2013 1 次提交
  6. 19 3月, 2013 3 次提交
  7. 11 3月, 2013 1 次提交
  8. 06 3月, 2013 1 次提交
  9. 15 2月, 2013 1 次提交
  10. 12 2月, 2013 1 次提交
  11. 24 1月, 2013 2 次提交
  12. 19 1月, 2013 1 次提交
    • J
      mac80211: allow drivers to access IPv6 information · a65240c1
      Johannes Berg 提交于
      To be able to implement NS response offloading (in
      regular operation or while in WoWLAN) drivers need
      to know the IPv6 addresses assigned to interfaces.
      Implement an IPv6 notifier in mac80211 to call the
      driver when addresses change.
      
      Unlike for IPv4, implement it as a callback rather
      than as a list in the BSS configuration, that is
      more flexible.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a65240c1
  13. 18 1月, 2013 1 次提交
  14. 03 1月, 2013 3 次提交
  15. 26 11月, 2012 1 次提交
    • J
      cfg80211: remove remain-on-channel channel type · 42d97a59
      Johannes Berg 提交于
      As mwifiex (and mac80211 in the software case) are the
      only drivers actually implementing remain-on-channel
      with channel type, userspace can't be relying on it.
      This is the case, as it's used only for P2P operations
      right now.
      
      Rather than adding a flag to tell userspace whether or
      not it can actually rely on it, simplify all the code
      by removing the ability to use different channel types.
      Leave only the validation of the attribute, so that if
      we extend it again later (with the needed capability
      flag), it can't break userspace sending invalid data.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      42d97a59
  16. 21 11月, 2012 1 次提交
  17. 19 11月, 2012 2 次提交
  18. 10 11月, 2012 1 次提交
  19. 26 10月, 2012 1 次提交
  20. 17 10月, 2012 1 次提交
  21. 20 8月, 2012 2 次提交
  22. 31 7月, 2012 1 次提交
  23. 03 7月, 2012 1 次提交
  24. 02 7月, 2012 1 次提交
  25. 24 6月, 2012 1 次提交
  26. 21 6月, 2012 1 次提交
  27. 09 5月, 2012 1 次提交
  28. 12 4月, 2012 2 次提交
  29. 11 4月, 2012 2 次提交
  30. 10 4月, 2012 1 次提交
  31. 13 3月, 2012 1 次提交