linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Dual mode operation
@ 2015-06-30 23:57 Stark Pister
  2015-07-01 14:53 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Stark Pister @ 2015-06-30 23:57 UTC (permalink / raw)
  To: linux-wireless

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.

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?

-- 
Stark Pister
Software Developer
Cirrent.co
(925) 818-1813

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dual mode operation
  2015-06-30 23:57 Dual mode operation Stark Pister
@ 2015-07-01 14:53 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2015-07-01 14:53 UTC (permalink / raw)
  To: Stark Pister; +Cc: linux-wireless

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-01 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-30 23:57 Dual mode operation Stark Pister
2015-07-01 14:53 ` Dan Williams

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).