From: "\"Lorna González\"" <lorna.glez@gmx.net>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k: Virtual interface as AP
Date: Thu, 28 Oct 2010 09:47:21 +0200 [thread overview]
Message-ID: <20101028074721.191890@gmx.net> (raw)
Hello,
After trying to build two virtual interfaces, one as a STA and another one as AP on mac80211 with an AR928X, creating a new interface with:
iw phy phy0 interface add wlan1 type __ap
I got a new interface called wlan1_rename, the one I used to build the AP interface.
Running hostapd I finally got following:
Configuration file: hostapd.conf
Opening raw packet socket for ifindex -1215975436
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 5 Frequency: 2432 MHz
Using interface wlan1_rename with hwaddr 00:22:43:21:82:ad and ssid 'VirtualAP'
wlan1_rename: Setup of interface done.
MGMT (TX callback) ACK
But no other stations are able to see this Virtual AP and no more frames are sent from the VAP.
If someone ever try something similar please let me know.
Thanks
Lorna
--
GRATIS! Movie-FLAT mit ?ber 300 Videos.
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
next reply other threads:[~2010-10-28 7:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-28 7:47 "Lorna González" [this message]
2010-10-28 8:03 ` [ath9k-devel] ath9k: Virtual interface as AP Jouni Malinen
2010-11-11 15:06 ` "Lorna González"
2010-11-11 17:00 ` Ben Greear
2010-11-12 9:21 ` "Lorna González"
2010-11-12 17:22 ` Ben Greear
-- strict thread matches above, loose matches on Subject: below --
2010-10-31 21:48 "Lorna González"
2010-10-27 14:11 "Lorna González"
2010-10-27 14:24 ` Mohammed Shafi
2010-10-27 14:29 ` "Lorna González"
2010-10-27 14:42 ` Mohammed Shafi
2010-10-27 14:56 ` Peter Stuge
2010-10-27 15:02 ` Jouni Malinen
2010-10-27 16:32 ` "Lorna González"
2010-10-28 7:36 ` jean-pierre cartal
2010-10-27 11:11 "Lorna González"
2010-10-27 12:03 ` Jouni Malinen
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=20101028074721.191890@gmx.net \
--to=lorna.glez@gmx.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.