[PATCH] Revert "nl80211: Use global netlink rtm event object"
Ben Greear
greearb
Fri Oct 28 10:19:46 PDT 2011
On 10/28/2011 09:55 AM, Ben Greear wrote:
> On 10/28/2011 09:42 AM, Jouni Malinen wrote:
>> On Fri, Oct 28, 2011 at 09:09:02AM -0700, Ben Greear wrote:
>>> I did test it, but not with p2p (and bundled with the other pending
>>> global-netlink patches). Any idea what is why
>>> this breaks p2p? Are there any directions anywhere for how
>>> to set up a p2p environment for testing?
>>
>> To be more exact, this breaks AP (including P2P GO) mode operations
>> with wpa_supplicant because of EVENT_INTERFACE_DISABLED event getting
>> generated at a particularly inconvenient time. Currently, that makes
>> wpa_supplicant start scanning to find a station mode connection when the
>> interface "comes back" (i.e., immediately after that on the next netlink
>> event). This is obviously wrong behavior and should be fixed somehow
>> regardless.
>>
>> There are instructions for P2P somewhere.. Anyway, the easiest way of
>> showing this particular regression is by adding following to
>> wpa_supplicant/.config:
>> CONFIG_AP=y
>> CONFIG_P2P=y
Just FYI: The build will break unless you also
have WPS enabled. Not sure if WPS2 is required or not,
but seemed like a good idea to enable it.
# Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y
# Enable WSC 2.0 support
CONFIG_WPS2=y
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list