scanning/wpa client while in hostapd mode
Fred Ollinger
Fred.Ollinger at seescan.com
Tue Mar 8 13:35:40 PST 2016
Thanks for the kind response.
First, I'd like to say that I believe I was wrong about Android phones hosting an access point and scanning at the same time.
I'll answer the other questions in hopes that perhaps this can be done on my platform.
I'm running Yocto on an arm:
Linux csplus_cm 3.10.53-1.1.0+g04cae56 #1 SMP Tue Mar 1 11:01:22 PST 2016 armv7l GNU/Linux
The driver is a for wl1831:
http://processors.wiki.ti.com/index.php/WL18xx
The version of wpa_supplicant is here:
git://github.com/TI-OpenLink/compat-wireless.git;destsuffix=compat-wireless;name=compat-wireless;branch=upstream_312
The supplicant is run with the following parameters:
/usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -c /etc/wpa_supplicant.conf -D nl80211
I'll be happy to answer any other questions to help solve this problem.
Wishing you well,
Frederick
_________________________________
From: Jouni Malinen <j at w1.fi>
Sent: Tuesday, March 8, 2016 1:24 PM
To: Fred Ollinger
Cc: hostap at lists.infradead.org
Subject: Re: scanning/wpa client while in hostapd mode
On Mon, Mar 07, 2016 at 06:25:57PM +0000, Fred Ollinger wrote:
> Most Android phones allow for one to connect to an access point as a client and to serve an access point at the same time to allow a computer with wifi to connect to the Internet via one's mobile plan.
>
> I'm trying to do the same with hostapd, but it seems like when wpa_supplicant is running, hostapd fails.
Could you please provide more details on how this fails, which netdevs
you are using and how they were created, and which WLAN driver are you
using?
> Is there a workaround? If so, can you please point out where in the documentation? If there is no documentation, but this is a feature we have, I'll be happy to document this from the source code if pointed in the right direction.
It is difficult to say much more without knowing more about the details
of how exactly the configuration is done. With number of drivers, it
should be possible to do this with wpa_supplicant and hostapd, but it
would also be possible to use wpa_supplicant to control both the station
and AP mode interfaces concurrently.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list