Re: [PATCH] nl80211: Try running without mgmt frames subscription

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 25, 2016 at 05:10:47PM +0200, Rafał Miłecki wrote:
> One of supported code paths already allows this scenario. It is used if
> driver doesn't report NL80211_ATTR_DEVICE_AP_SME and doesn't support
> monitor interface. In such situation:
> 1) We don't quit if subscribing for WLAN_FC_STYPE_PROBE_REQ fails
> 2) We don't try subscribing for WLAN_FC_STYPE_ACTION
> 3) We fallback to AP SME mode after failing to create monitor interface
> 4) We don't quit if subscribing for WLAN_FC_STYPE_PROBE_REQ fails
> Above scenario is used e.g. with brcmfmac. As you can see - thanks to
> events provided by cfg80211 - it's not really required to receive probe
> or action frames
> 
> However current code doesn't allow using hostapd with drivers that:
> 1) Report NL80211_ATTR_DEVICE_AP_SME
> 2) Don't support subscribing for PROBE_REQ and/or ACTION frames
> In case of using such a driver hostapd will cancel setup after failing
> to subscribe for WLAN_FC_STYPE_ACTION. I noticed it after setting flag
> WIPHY_FLAG_HAVE_AP_SME in brcmfmac driver for my experiments.
> 
> This patch allows working with such drivers with just a small warning
> printed as debug message.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux