On Mon, 27 Nov 2017 12:43:13 +0100
Johannes Berg <johannes-cdvu00un1vgdhxzaddl...@public.gmane.org> wrote:

> > What would be the correct way of fixing it? Maybe I can provide a patch.  
> 
> That's a really good question :-)
> 
> I think if the driver has WANT_MONITOR_VIF, then we can pass that
> through and let the driver sort it out.
>
> But if not, we probably just have to reject the configuration?

With passing through you mean calling bss_info_changed on the driver for the
monitor interface?

Are monitor interfaces allowed to exist when WANT_MONITOR_VIF is not set?
I ask, whether I would have to check 
  sdata->vif.type == NL80211_IFTYPE_MONITOR
_and_ also
  ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF)
?

Regards
Peter

Attachment: pgpjak_9TtR1A.pgp
Description: OpenPGP digital signature

Reply via email to