Skip to content

mac80211: multicast with AP_VLAN optimizations

Michael Braun linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mac80211: filter multicast data packets on AP / AP_VLANnet/mac80211/cfg.c net/mac80211/debugfs_netdev.c net/mac80211/ieee80211_i.h +3 more+78 -271 reply
2/3mac80211: multicast to unicast conversionnet/mac80211/debugfs_netdev.c net/mac80211/ieee80211_i.h net/mac80211/tx.c+133 -03 replies
3/3mac80211: cache the only AP_VLAN stationnet/mac80211/cfg.c net/mac80211/ieee80211_i.h net/mac80211/sta_info.c +1 more+54 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] mac80211: multicast with AP_VLAN optimizations

Hi,

this series tries to optimize multicast delivery on access points with AP_VLAN interfaces.

My setup is as follows: hostapd creates one AP_VLAN interface per station (per_sta_vif=1), which enables bridge igmp snooping to decide which stations need to receive a multicast packet.

This series then
- avoids multicast packets by tracking the number of authenticated stations per interface more accurately and drops packets if there is no receiver connected,
- converts multicast packets to unicast packets for the most common protocols, so they get delivered faster and more reliable. Additionally, waking up non-receivers in other VLANs is avoided.
- speeds up station lookup if there is only one authenticated station assigned to the AP_VLAN interface.

Sincerely,
M. Braun

Michael Braun (3):
mac80211: filter multicast data packets on AP / AP_VLAN
mac80211: multicast to unicast conversion
mac80211: cache the only AP_VLAN station

 net/mac80211/cfg.c            |  26 +++++-----
 net/mac80211/debugfs_netdev.c |  38 ++++++++++++++
 net/mac80211/ieee80211_i.h    |  61 ++++++++++++++++++++++
 net/mac80211/rx.c             |   5 +-
 net/mac80211/sta_info.c       |  41 +++++++++++----
 net/mac80211/tx.c             | 115 ++++++++++++++++++++++++++++++++++++++++--
 6 files changed, 258 insertions(+), 28 deletions(-)
Signature · 1 line
2.1.4