#839: LLC input  frame error
-----------------------------------+----------------------------------------
 Reporter:  [EMAIL PROTECTED]         |            Owner:       
     Type:  defect                 |           Status:  new  
 Priority:  major                  |        Milestone:       
Component:  madwifi: 802.11 stack  |          Version:  trunk
 Keywords:  LLC                    |   Patch_attached:  1    
-----------------------------------+----------------------------------------
 Kernel later than 2.6.16 use separate LLC handling when using the bridge
 module. Because of this, it is necessary to mark all the LLC type input
 frame ( for STP,etc..) as 802.2. This is missing from ieee80211_input.c.
 The suggested patch:
 {{{
 --- madwifi.old/net80211/ieee80211_input.c  2006-08-06 16:35:40.000000000
 +0200
 +++ madwifi/net80211/ieee80211_input.c  2006-08-25 07:59:25.000000000
 +0200
 @@ -3501,7 +3501,10 @@
         if (memcmp(eth->h_dest, dev->dev_addr, ETH_ALEN))
             skb->pkt_type = PACKET_OTHERHOST;

 -   return eth->h_proto;
 +//phj: 802.2?  return eth->h_proto;
 +    if (ntohs(eth->h_proto) >= 1536)  return eth->h_proto;
 +//phj: skip NETWARE check now
 +   return htons(ETH_P_802_2);
  }
  #endif
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/839>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to