From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k_htc - 2 VIFs: concurrent AP and STATION mode
Date: Tue, 14 Oct 2014 14:06:03 +0200 [thread overview]
Message-ID: <543D11AB.9050009@rempel-privat.de> (raw)
In-Reply-To: <58B25B85-E720-4F43-8F70-8B769C48E90E@me.com>
Am 12.10.2014 um 18:02 schrieb Matt Foster:
> Hi,
>
> I may be trying something unsupported here, but thought I would ask the question anyway.
>
> With ath9k_htc it seems easy enough to create two virtual interfaces, one in AP mode, and one in Station mode.
>
> Using hostapd 2.3 to get rid of the requirement for a monitor interface (it seems only two VIFs are possible), then I can create a VIF to run hostapd on happily.
> I can also create a 2nd VIF, and I can ifconfig it up with an address.
> However I can't use wpa_supplicant with it:
> adhoc0: State: SCANNING -> AUTHENTICATING
> EAPOL: External notification - EAP success=0
> EAPOL: Supplicant port status: Unauthorized
> EAPOL: External notification - EAP fail=0
> EAPOL: Supplicant port status: Unauthorized
> EAPOL: External notification - portControl=Auto
> EAPOL: Supplicant port status: Unauthorized
> nl80211: Authenticate (ifindex=7)
> * bssid=00:33:bb:f8:e5:ba
> * freq=2437
> * SSID - hexdump_ascii(len=7):
> XX XX XX XX XX XX XX XXXXX
> * IEs - hexdump(len=0): [NULL]
> * Auth Type 0
> nl80211: MLME command failed: ret=-16 (Device or resource busy)
> adhoc0: SME: Authentication request to the driver failed
> Added BSSID XXXXXXX into blacklist
>
> Similarly if hostapd is not running, and wpa_supplicant is started (which will now work), hostapd will not start on it's VIF.
>
> I'm running on 3.12.29 (on arm) with the current version of the firmware from https://github.com/qca/open-ath9k-htc-firmware
>
> Am I missing a trick here, or is this something that simply doesn't work with ath9k_htc?
No body was testing this scenario. Mostly becouse you will get lots of
problems in this case:
- in monitor mode usb bandwidth will be flooded with different kind of
packets
- if you have limited usb bandwidth first point will be enough
- in STA mode you will need periodically to scan channels which will
take 10-30 seconds on this device! it mean all this time AP will be not
available.
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20141014/307930b6/attachment.pgp
prev parent reply other threads:[~2014-10-14 12:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-12 16:02 [ath9k-devel] ath9k_htc - 2 VIFs: concurrent AP and STATION mode Matt Foster
2014-10-14 12:06 ` Oleksij Rempel [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=543D11AB.9050009@rempel-privat.de \
--to=linux@rempel-privat.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox