Question on 802.11 to 802.3 frame conversion

Pavel Roskin proski
Mon Nov 7 14:12:04 PST 2011

On Tue, 8 Nov 2011 02:04:49 +0530
uday kiran <kaniki.uday at> wrote:

> Hi List
> How does 802.11 MAC layer knows whether to convert a frame to 802.3
> or not ?
> I read something about Integration service (IS) which does frame
> conversion. Will this IS comes along with the kernel or do we need to
> write one for our purpose ?
> Can some one throw some light here ?

Quick search in the Linux kernel sources finds what you are looking for.
Conversion is done in ieee80211_subif_start_xmit() for transmission and
in __ieee80211_data_to_8023() for reception.  Both functions are in
net/mac80211, in files tx.c and rx.c.

Pavel Roskin

More information about the Hostap mailing list