linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Stark Pister <stark@cirrent.co>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Dual mode operation
Date: Wed, 01 Jul 2015 09:53:45 -0500	[thread overview]
Message-ID: <1435762425.7441.8.camel@redhat.com> (raw)
In-Reply-To: <CAPA_7hazB4hKyNOMd892riL1p4-pqDQEAP=UTS2AofGJy3_21A@mail.gmail.com>

On Tue, 2015-06-30 at 16:57 -0700, Stark Pister wrote:
> I am trying to figure out how to use virtual interfaces to run my wifi
> module in both AP mode and station mode simultaneously. From the
> description on this page
> (https://wireless.wiki.kernel.org/en/users/documentation/iw/vif) it
> would seem this is possible on devices using the mac80211 subsystem,
> but from what I have read online it only works with madwifi drivers
> which is outdated and abandoned.

Most of the common mac80211-based devices allow this.  You can see what
modes your driver supports by doing:

$ iw phy phy0 info
...
  software interface modes (can always be added):
  	 * AP/VLAN
  	 * monitor
  valid interface combinations:
  	 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1,
#{ P2P-device } <= 1,
  	   total <= 3, #channels <= 2
...

This is for an Intel 7265 card, and you can see that this device
supports simultaneous STA and AP modes, but only one interface of each.

> Are there other drivers that tap into this capability of mac80211 or
> is no one else interested in this? Is the generic nl80211 driver
> capable of using this functionality and if so, how do I go about using
> it (note that the "AP" and "Station" sections of the above
> documentation page are blank)? If not, what would I have to change to
> enable the use of this dual mode capability?

Whether your device has this capability highly depends on the hardware,
firmware, and driver.  The 'iw' command I posted above will show what
your combination supports.

Dan



      reply	other threads:[~2015-07-01 14:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 23:57 Dual mode operation Stark Pister
2015-07-01 14:53 ` Dan Williams [this message]

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=1435762425.7441.8.camel@redhat.com \
    --to=dcbw@redhat.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stark@cirrent.co \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).