b3f240bc0e
The tests directory and its subdirectories contain a set of configuration files that can be used to exercise various mac80211, hostapd, and wpa_supplicant features. The test.txt file in each test directory describes the particular test and includes the commands needed to run the test.
15 lines
306 B
Text
15 lines
306 B
Text
# Plaintext connection, two clients, different VLANs
|
|
|
|
modprobe mac80211_hwsim radios=3
|
|
|
|
hostapd hostapd.conf
|
|
|
|
ifconfig wlan1 up
|
|
iwconfig wlan1 essid "mac80211 test"
|
|
|
|
ifconfig wlan2 up
|
|
iwconfig wlan2 essid "mac80211 test"
|
|
|
|
# Expected results:
|
|
# STA1(wlan1) is bound to vlan1
|
|
# STA2(wlan2) is bound to vlan2
|