diff mbox

[RFC,08/12] mac80211: forward group frames on mbss-shared interfaces

Message ID 1367548442-8229-9-git-send-email-thomas@cozybit.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Thomas Pedersen May 3, 2013, 2:33 a.m. UTC
From: Bob Copeland <me@bobcopeland.com>

When multiple local interfaces are in the same MBSS, we should
forward group-directed data frames received on one interface
for transmit on the other interfaces, so that the frames may be
seen on other channels.

Signed-off-by: Bob Copeland <bob@cozybit.com>
---
 net/mac80211/rx.c |    2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 0c5f870..850bfe3 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -2142,6 +2142,8 @@  ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx)
 
 	IEEE80211_IFSTA_MESH_CTR_INC(ifmsh, fwded_frames);
 	ieee80211_add_pending_skb(local, fwd_skb);
+	if (is_multicast_ether_addr(fwd_hdr->addr1))
+		mesh_bss_forward_tx(sdata, fwd_skb);
  out:
 	if (is_multicast_ether_addr(hdr->addr1) ||
 	    sdata->dev->flags & IFF_PROMISC)