[RFC 2/2] driver_nl80211: use nl80211 p2p interface types

Eliad Peller eliad
Mon Jan 17 01:58:53 PST 2011


i guess you mean this one:
http://lists.shmoo.com/pipermail/hostap/2010-September/021755.html

i haven't seen it before.
is there any reason it was not upstreamed yet?

On Mon, Jan 17, 2011 at 11:37 AM, Johannes Berg
<johannes at sipsolutions.net> wrote:
> On Mon, 2011-01-17 at 11:29 +0200, Eliad Peller wrote:
>> Create NL80211_IFTYPE_P2P_CLIENT/GO interfaces for p2p, rather
>> than NL80211_IFTYPE_STATION/AP.
>>
>> After doing it, we need to start considering these interfaces
>> as well (for example, when doing scan while being ap).
>> For that, add the is_sta_interface() and is_ap_interface()
>> functions that take into account the p2p equivalents of
>> NL80211_IFTYPE_STATION and NL80211_IFTYPE_AP.
>>
>> When doing "ap_scan_as_station" we now need to save the
>> actual ap interface type (normal/p2p) in order to restore
>> it properly. for that, change ap_scan_as_station type from
>> int to nl80211_iftype, and set it NL80211_IFTYPE_UNSPECIFED
>> when not used.
>
> I think instead of this we want the patches that I had posted that will
> create a new P2P interface with the right type, and then use the
> use_p2p_group_interface=1 option for the driver (which should be default
> at some point for it)
>
> johannes
>
>



More information about the Hostap mailing list