nl80211: use_monitor and non-mac80211 drivers

Rafał Miłecki zajec5 at gmail.com
Mon Nov 14 02:31:31 PST 2016


On 14 November 2016 at 11:02, Johannes Berg <johannes at sipsolutions.net> wrote:
> On Mon, 2016-10-31 at 14:44 -0500, Joel Cunningham wrote:
>> Actually, studying further, it looks like when drv->device_ap_sme is
>> set to 1 (which is the case with my full MAC driver) the monitor
>> interface is explicitly disabled and we don’t call
>> nl80211_mgmt_subscibe_ap().  So it appears that cfg80211 APIs are
>> always used for receiving management frames and poll command/TX
>> status support doesn’t matter.
>>
>> Is my understanding correct?
>
> Yes, more or less. However, the management TX/RX APIs might still get
> used for some higher-level purposes, I think.
>
> The monitor interface is something pretty much historic, we should
> perhaps consider removing support for it - it hasn't been used for
> about 5 years, since kernel 3.3 I believe.

Oh, that's something new for me. I still use (...) interface add mon0
type monitor and I can see many howtos saying to do that.

What's the new way of getting whole packets with radiotap header?

-- 
Rafał



More information about the Hostap mailing list