summaryrefslogtreecommitdiff
path: root/test/AP+STA/README.txt
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2016-08-22 14:05:07 +0200
committerBjørn Mork <bjorn@mork.no>2016-08-22 14:05:07 +0200
commit40fae1ddc3d847a5a2be28c0a67ea07ec77e16c7 (patch)
tree259a54d866037cd200a48d9089ceca21b5618b4a /test/AP+STA/README.txt
parenta602e201b4401fb722d5b3e53424f794d523290e (diff)
parentd48847cc83954930fdcd98818bbf33e75707b8e1 (diff)
Merge remote-tracking branch 'origin/master'10.3.0.18-20160804
Diffstat (limited to 'test/AP+STA/README.txt')
-rw-r--r--test/AP+STA/README.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/AP+STA/README.txt b/test/AP+STA/README.txt
new file mode 100644
index 0000000..6981b94
--- /dev/null
+++ b/test/AP+STA/README.txt
@@ -0,0 +1,36 @@
+<<How to set up AP+STA>>
+
+1. Bring up driver:
+
+ a. iw reg set US
+ --> set regulatory domain.
+ b. insmod mwlwifi.ko
+ --> After module is inserted, physical interfaces phy0 and phy1 and network
+ device wlan0 and wlan1 will be created. You can issue "iw dev" to check them.
+
+2. Use interface wlan0/wlan1 as client mode to connect to remote AP:
+
+ wpa_supplicant -B -D nl80211 -i wlan0 -c wpa_supplicant.conf
+ wpa_supplicant -B -D nl80211 -i wlan1 -c wpa_supplicant.conf
+
+3. Create local AP:
+
+ a. Create anther interface on phy0/phy1:
+
+ iw phy0 interface add wlan0-1 type managed
+ iw phy1 interface add wlan1-1 type managed
+
+ b. Use iw dev to check channel setting for client mode and modify related channel
+ setting of hostapd.conf to be complied with currecnt channel setting.
+
+ c. Check MAC address of client interface and add "bssid=02:XX:XX:XX:XX:XX" to hostapd.conf.
+
+ d. Create local AP:
+
+ hostapd -B ./hostapd.conf
+ --> Channel setting of hostapd.conf should be complied with current channel setting.
+ Please make sure interface of hostapd.conf is complied with the interface you just created.
+
+4. Bridge local AP and STA:
+
+ You need to use relayd to bridge them. Same as LAN and STA.