1178361Ssam#! /bin/sh 2178361Ssam# 3178361Ssam# Script for testing simple (single bss) ap operation. 4178361Ssam# 5178361Ssam# $FreeBSD$ 6178361Ssam# 7178361SsamPATH=.:$PATH 8178361Ssam. config 9178361Ssam 10178361SsamWLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS` 11178361Ssamifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500 12178361SsamBRIDGE=`ifconfig bridge create` 13178361Ssamifconfig $BRIDGE addm $WLAN addm $WIRED up 14178361Ssamifconfig $WIRED up 15178361Ssamwlandebug -i $WLAN state+scan+assoc+11n 16178361Ssamifconfig $WLAN up 17