linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mwifiex and SD8787: How to create AP interface?
@ 2014-02-02  2:56 Andrew Wiley
       [not found] ` <CAJwzM1=0xBkQ0cw-T+zMcAHSZVJsJ7vJmK6O9eisqttn_qGyMA@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Wiley @ 2014-02-02  2:56 UTC (permalink / raw)
  To: linux-wireless

Hello linux-wireless,

I'm trying to get AP mode to work on a Marvell Kirkwood-based
Dreamplug with an SD8787 SDIO wireless chipset.

Originally, the mwifiex driver would create three interfaces when it
loaded - mlan0, uap0, and ptp0, for station mode, AP mode, and PTP
mode, respectively. That behavior was removed in commit 1211c (
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/mwifiex?id=1211c961170cedb21c30d5bb7e2033c8720b38db
) because NetworkManager was trying to use all of the interfaces
rather than just mlan0.

As I understand it, the normal workflow for this is that hostapd
changes an interface from station mode to AP mode when it starts up,
but when it tries to do this on the mlan0 interface, nl80211 returns
Operation Not Supported. Depending on the version of hostapd, it
either bails out there or tries to continue and bails out later in
setup.

If I revert the patch I linked above, the driver creates the uap0
interface and I can run an AP with hostapd (although it has some other
issues - more on that in a later post).

What is the "correct" way to access AP mode with this driver? As far
as I'm aware, there are no userspace utilities to directly create an
AP-mode interface, and mwifiex doesn't seem to support the normal
workflow that hostapd is trying to do.

Thanks,
Andrew

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

end of thread, other threads:[~2014-02-03 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-02  2:56 mwifiex and SD8787: How to create AP interface? Andrew Wiley
     [not found] ` <CAJwzM1=0xBkQ0cw-T+zMcAHSZVJsJ7vJmK6O9eisqttn_qGyMA@mail.gmail.com>
     [not found]   ` <CAAUTuq--5EUYgKb1Bg9UWZnDAZRqcPZFd=GRVEo-YKictJJWwg@mail.gmail.com>
2014-02-02  5:01     ` Fwd: " Andrew Wiley
2014-02-02  5:19       ` Avinash Patil
2014-02-02 21:51       ` Fwd: " James Cameron
2014-02-03 22:09         ` Andrew Wiley

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