Skip to contentSkip to conversation

d80211: allow vlan interfaces to receive ToDS frames

PATCH Applied David Kimdon 2 participants 2 messages Sep 14, 2006 – Sep 21, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 d80211: allow vlan interfaces to receive ToDS frames

Interfaces of type IEEE80211_IF_TYPE_VLAN are similar to AP interfaces. One difference is stations are bound to a particular vlan interface after authentication/association based on management policy (for example a radius server).

Interfaces of type IEEE80211_IF_TYPE_VLAN need to be able to receive ToDS frames.

net/d80211/ieee80211.c +2 -1
Index: wireless-dev/net/d80211/ieee80211.c
===================================================================
@@ -2353,7 +2353,8 @@ ieee80211_rx_h_data(struct ieee80211_txr
 		memcpy(dst, hdr->addr3, ETH_ALEN);
 		memcpy(src, hdr->addr2, ETH_ALEN);
 
-		if (unlikely(sdata->type != IEEE80211_IF_TYPE_AP)) {
+		if (unlikely(sdata->type != IEEE80211_IF_TYPE_AP &&
+			     sdata->type != IEEE80211_IF_TYPE_VLAN)) {
 			printk(KERN_DEBUG "%s: dropped ToDS frame (BSSID="
 			       MAC_FMT " SA=" MAC_FMT " DA=" MAC_FMT ")\n",
 			       dev->name, MAC_ARG(hdr->addr1),

--

Applied
#1 lore raw

Thu, 14 Sep 2006 07:33:56 -0700, David Kimdon pise:

Quoted 2 lines

Interfaces of type IEEE80211_IF_TYPE_VLAN need to be able to receive ToDS frames.

Applied to my tree. Thanks for the patch!

Jiri

Signature · 2 lines
Jiri Benc
SUSE Labs