Re: [PATCH 20/25] iwlwifi : Set monitor mode for 4965

Zhu Yi
2008-05-05T08:54:38Z

On Mon, 2008-05-05 at 10:28 +0200, Johannes Berg wrote:

> but I still don't think you should treat monitors as a "mode" but
> rather as a reason to pass more frames up.

The thing is the firmware treats it as a different mode. For 4965, we
explicitly setup the "sniffer" type to the firmware so that it operates
differently with other modes. Some drivers (i.e ipw2200) have separated
firmware images for bss, ibss and monitor modes.

> > > In the case of the latter, that is
> > > a good thing, in the case of the former that isn't.
> >
> > Could you elaborate?
>
> You're precluding doing any kind of useful monitor operation when the
> card is actually up&running, which is quite useful for debugging.
>
> By the second condition, you're short-cutting the RX path so that when
> a monitor is enabled any other type of interface won't operation
> properly, as far as I can tell.

Yup. I don't think we can support STA mode while at the same time
receive frames to the other hosts.

Thanks,
-yi