Add testmode argument (1 for AMPDU) to fosdem.sh

This commit is contained in:
Xianjun Jiao 2022-03-28 12:35:17 +02:00
parent d572f3b04e
commit 7d361288db
2 changed files with 16 additions and 2 deletions

View File

@ -4,12 +4,19 @@
# SPDX-FileCopyrightText: 2019 UGent
# SPDX-License-Identifier: AGPL-3.0-or-later
test_mode=$1
if [ -z $test_mode ]
then
test_mode=0
fi
echo test_mode $test_mode
killall hostapd
killall webfsd
cd ~/openwifi
service network-manager stop
./wgd.sh
./wgd.sh $test_mode
ifconfig sdr0 192.168.13.1
route add default gw 192.168.10.1
service isc-dhcp-server restart

View File

@ -4,12 +4,19 @@
# SPDX-FileCopyrightText: 2019 UGent
# SPDX-License-Identifier: AGPL-3.0-or-later
test_mode=$1
if [ -z $test_mode ]
then
test_mode=0
fi
echo test_mode $test_mode
killall hostapd
killall webfsd
cd ~/openwifi
service network-manager stop
./wgd.sh
./wgd.sh $test_mode
ifconfig sdr0 192.168.13.1
route add default gw 192.168.10.1
service isc-dhcp-server restart