* [ath9k-devel] Supported Wi-Fi direct of Android?
@ 2013-06-20 12:44 Check Zhao
2013-06-20 13:17 ` Arend van Spriel
0 siblings, 1 reply; 4+ messages in thread
From: Check Zhao @ 2013-06-20 12:44 UTC (permalink / raw)
To: ath9k-devel
Hi list,
I want to enable concurrently the wlan0 and p2p0 interface with the usb
wifi dongle on PCs,
It is similar to the Wi-Fi direct of Android-4.2.2(Samsung Galaxy Nexus).
I found out Galaxy Nexus Wi-Fi chip is Broadcom BCM4330, but I can't buy a
usb dongle used this chip, however I can buy TP-LINK TL-WN722N with using
ar9271( ath9k_htc driver).
Now I want to know if ath9k_htc driver support to enable concurrently the
wlan0 and p2p0 interface, and how to support this functionality with coding.
Please help!
Some reference information:
*http://readlist.com/lists/shmoo.com/hostap/3/15004.html*
------------------------------------------------------------------------------------------------------------------
*> To me it seem YanBo is working with a mac80211 driver and asking how to
> tell mac80211 it can support multiple (concurrent) interfaces.
Same like for cfg80211, advertise interface combinations? And if you
advertise a combination with P2P_DEVICE then wpa_s (with these patches)
will pick it up and create one.
johannes*
-------------------------------------------------------------------------------------------------------------------
Best Regards,
Chengyi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130620/7af044a4/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Supported Wi-Fi direct of Android?
2013-06-20 12:44 [ath9k-devel] Supported Wi-Fi direct of Android? Check Zhao
@ 2013-06-20 13:17 ` Arend van Spriel
2013-06-20 13:22 ` Berg, Johannes
0 siblings, 1 reply; 4+ messages in thread
From: Arend van Spriel @ 2013-06-20 13:17 UTC (permalink / raw)
To: ath9k-devel
On 06/20/2013 02:44 PM, Check Zhao wrote:
> Hi list,
>
> I want to enable concurrently the wlan0 and p2p0 interface with the usb
> wifi dongle on PCs,
> It is similar to the Wi-Fi direct of Android-4.2.2(Samsung Galaxy Nexus).
>
> I found out Galaxy Nexus Wi-Fi chip is Broadcom BCM4330, but I can't buy
> a usb dongle used this chip, however I can buy TP-LINK TL-WN722N with
> using ar9271( ath9k_htc driver).
>
> Now I want to know if ath9k_htc driver support to enable concurrently
> the wlan0 and p2p0 interface, and how to support this functionality with
> coding.
>
> Please help!
From the code:
static const struct ieee80211_iface_limit if_limits[] = {
{ .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_P2P_CLIENT) },
{ .max = 2, .types = BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_P2P_GO) },
};
static const struct ieee80211_iface_combination if_comb = {
.limits = if_limits,
.n_limits = ARRAY_SIZE(if_limits),
.max_interfaces = 2,
.num_different_channels = 1,
};
It has P2P support, but it is a mac80211 driver and it may need
P2P_DEVICE support as well. Johannes?
Regards,
Arend
> Some reference information:
>
> /http://readlist.com/lists/shmoo.com/hostap/3/15004.html/
>
> ------------------------------------------------------------------------------------------------------------------
> /> To me it seem YanBo is working with a mac80211 driver and asking how to
>> tell mac80211 it can support multiple (concurrent) interfaces.
>
> Same like for cfg80211, advertise interface combinations? And if you
> advertise a combination with P2P_DEVICE then wpa_s (with these patches)
> will pick it up and create one.
>
> johannes/
> -------------------------------------------------------------------------------------------------------------------
>
> Best Regards,
>
> Chengyi
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Supported Wi-Fi direct of Android?
2013-06-20 13:17 ` Arend van Spriel
@ 2013-06-20 13:22 ` Berg, Johannes
2013-06-21 4:18 ` Check Zhao
0 siblings, 1 reply; 4+ messages in thread
From: Berg, Johannes @ 2013-06-20 13:22 UTC (permalink / raw)
To: ath9k-devel
> static const struct ieee80211_iface_limit if_limits[] = {
> { .max = 2, .types = BIT(NL80211_IFTYPE_STATION) |
> BIT(NL80211_IFTYPE_P2P_CLIENT) },
> { .max = 2, .types = BIT(NL80211_IFTYPE_AP) |
> BIT(NL80211_IFTYPE_P2P_GO) },
> };
>
> static const struct ieee80211_iface_combination if_comb = {
> .limits = if_limits,
> .n_limits = ARRAY_SIZE(if_limits),
> .max_interfaces = 2,
> .num_different_channels = 1,
> };
>
> It has P2P support, but it is a mac80211 driver and it may need P2P_DEVICE
> support as well. Johannes?
Not necessarily, no. It's an implementation choice.
johannes
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ath9k-devel] Supported Wi-Fi direct of Android?
2013-06-20 13:22 ` Berg, Johannes
@ 2013-06-21 4:18 ` Check Zhao
0 siblings, 0 replies; 4+ messages in thread
From: Check Zhao @ 2013-06-21 4:18 UTC (permalink / raw)
To: ath9k-devel
Thanks a lot, Johannes, Arend,
I will debug this functionality with applied kernel patch '[RFC] cfg80211:
Android P2P-Device workaround' and wpa_s patch '[RFC] nl80211: allow
Android P2P functionality'.
BTW, please tell me, which version kernel and wpa_s should I use ?
Regards,
Chengyi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130621/3855b8c0/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-21 4:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-20 12:44 [ath9k-devel] Supported Wi-Fi direct of Android? Check Zhao
2013-06-20 13:17 ` Arend van Spriel
2013-06-20 13:22 ` Berg, Johannes
2013-06-21 4:18 ` Check Zhao
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.