[Avila] Problem with wds bridging on avila board

Jake Farrell jake at amperion.com
Thu May 17 13:48:29 EDT 2007


------_=_NextPart_001_01C798AB.A6CE2608
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I had a similar problem, the root cause is that madwifi isnt updating =
the llc correctly. the patch below will fix your problem

Jake

diff -Naur madwifi-0.9.2.orig/net80211/ieee80211_input.c =
madwifi-0.9.2/net80211/ieee80211_input.c
--- madwifi-0.9.2.orig/net80211/ieee80211_input.c	2006-07-05 =
23:23:08.000000000 -0400
+++ madwifi-0.9.2/net80211/ieee80211_input.c	2007-01-25 =
15:11:26.000000000 -0500
@@ -3491,7 +3491,11 @@
 		if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
 			skb->pkt_type =3D PACKET_OTHERHOST;
=20
-	return eth->h_proto;
+	//return eth->h_proto;
+	//phj: 802.2?  return eth->h_proto;                                    =
                    =20
+    	if (ntohs(eth->h_proto) >=3D 1536)  return eth->h_proto;           =
                      =20
+	//phj: skip NETWARE check now                                          =
                    =20
+   	return htons(ETH_P_802_2);
 }
 #endif

------_=_NextPart_001_01C798AB.A6CE2608--





More information about the Avila mailing list