HostAP - ToS

Jouni Malinen j
Sun Dec 9 18:27:43 PST 2007


On Sun, Dec 09, 2007 at 08:06:38PM -0500, Archana Rajagopal wrote:

>     I am having a problem with HostAP.When I send packets directly to it, it
> identifies the ToS value properly(the ToS is extracted properly).But when I
> send a packet to be forwarded to another client, the ToS value is altered
> .But it does forward it to the correct client.I am not sure if this is
> related to HostAP.

If you are referring to the ToS field in the IP header, then no, Host AP
does not have anything to do with it. That is higher layer networking
functionality; Host AP driver only handles the MAC layer processing and
it doesn't even care whether the frame itself is an IP packet or not.

> Only wifi0 is created and no wlan0.But there is a file name wlan0 in
> /proc/net/../hostap/.
> Not sure if its correct to use HostAP on wifi0.

That sounds odd.. The driver creates two interfaces which are, by
default, called wifi0 and wlan0. wifi0 is only used internally and all
higher layer (e.g., bridging or IP routing) network configuration should
be done using wlan0.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list