Search Linux Wireless

Re: Query on ieee80211_subif_start_xmit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux