From: Arend van Spriel <arend@broadcom.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Supported Wi-Fi direct of Android?
Date: Thu, 20 Jun 2013 15:17:03 +0200 [thread overview]
Message-ID: <51C300CF.20706@broadcom.com> (raw)
In-Reply-To: <CAPsAkd-A_uwbGOP+LZ_dkr78vNRktS9Z=bvdjbsW2SpMgqkLOw@mail.gmail.com>
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
>
next prev parent reply other threads:[~2013-06-20 13:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 12:44 [ath9k-devel] Supported Wi-Fi direct of Android? Check Zhao
2013-06-20 13:17 ` Arend van Spriel [this message]
2013-06-20 13:22 ` Berg, Johannes
2013-06-21 4:18 ` Check Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51C300CF.20706@broadcom.com \
--to=arend@broadcom.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.