nl80211: use_monitor and non-mac80211 drivers

Rafał Miłecki zajec5 at gmail.com
Mon Oct 31 13:21:02 PDT 2016


On 31 October 2016 at 20:44, Joel Cunningham <joel.cunningham at me.com> 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

I believe so. You just should use WIPHY_FLAG_HAVE_AP_SME in your
driver. That's what I was trying to do (and still plan to do) with
brcmfmac: https://patchwork.kernel.org/patch/8071741/



More information about the Hostap mailing list