Merge branch 'vendor/BMAKE'
[dragonfly.git] / tools / tools / net80211 / scripts / setup.fixed
1 #! /bin/sh
2 #
3 # Script for testing fixed xmit rate handling.
4 #
5 # $FreeBSD: src/tools/tools/net80211/scripts/setup.fixed,v 1.1 2008/04/20 20:43:42 sam Exp $
6 #
7 PATH=.:$PATH
8 . config
9
10 WLAN=`ifconfig wlan create wlanmode hostap wlandev $WIRELESS`
11 ifconfig $WLAN ssid $SSID channel $CHANNEL mtu 1500
12 ifconfig $WLAN ucastrate 24:a ucastrate 7
13 BRIDGE=`ifconfig bridge create`
14 ifconfig $BRIDGE addm $WLAN addm $WIRED up
15 ifconfig $WIRED up
16 wlandebug -i $WLAN state+scan+assoc
17 ifconfig $WLAN up