Is ieee80211_subif_start_xmit the standard function called for frame conversion ? Or will it change based on the driver under use ? For frame conversion to work , is it must to add eth and wlan interfaces to the bridge interface? Is it that once 802.3 stack understands that the dest mac is on wi-fi interface , it calls this function ? Please clarify. > skip_header_bytes = ETH_HLEN; > if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { > encaps_data = bridge_tunnel_header; > encaps_len = sizeof(bridge_tunnel_header); > skip_header_bytes -= 2; > } else if (ethertype >= 0x600) { > encaps_data = rfc1042_header; > encaps_len = sizeof(rfc1042_header); > skip_header_bytes -= 2; > } else { > encaps_data = NULL; > encaps_len = 0; > } > > nh_pos = skb_network_header(skb) - skb->data; > h_pos = skb_transport_header(skb) - skb->data; > > skb_pull(skb, skip_header_bytes); > > Eliad. > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html