Re: Sniffing/Protocol problems


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-07-25 17:02:02 UTC



On Wed, Jul 24, 2002 at 03:25:15PM -0700, Omesh Tickoo wrote:

> I am trying to introduce a content sensitive
> scheduling policy at the hostap. Specifically I plan
> to introduce a couple of new management frame
> types(using reserved FC fields) and add a scheduler at
> the hostap.

I'm not fully sure I understood what you are planning to do. Some sort of prioritizing of data frames, QoS, or something totally different?

> I was going through the source and at one
> point I thought of modifying hostapd for introducing
> the scheduler. But after checking the code thoroughly
> I am not sure if that is a good idea.

hostapd receives management frames, but it does not have much control over data frames. So, if you would like to modify data frame handling somehow, you would need to instruct the kernel driver about this. hostapd already uses an ioctl() for adding station information and similar methods could be used for configuring whatever is needed for the kernel driver. I see hostapd only as a management functionality implementation: it receives management frames, processes them, sends reply frames, and configures kernel driver to handle data frames properly.

> the recieved data going on (I couldnt get it running
> because it gave me an ioctl error on the existence of
> wlan0 though it was UP).

You will need to compiler Host AP driver with PRISM2_HOSTAPD definition (see driver/modules/hostap_config.h) to use hostapd. It needs another netdevice (wlan0ap) for management frames.

-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.