Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enables testing of the wifi_drv with netperf. Fixes #1415.
- Loading branch information
Showing
10 changed files
with
154 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# \brief Test using netperf with the wifi_drv | ||
# \author Alexander Boettcher | ||
# \date 2013-07-08 | ||
# | ||
|
||
assert_spec x86 | ||
|
||
if {[have_include "power_on/qemu"] || [have_include "power_on/linux"]} { | ||
puts stderr "\nNetperf WIFI running on Qemu/Linux is not supported.\n" | ||
exit 0 | ||
} | ||
|
||
# network configuration | ||
set use_nic_bridge 0 | ||
set use_wifi_driver 1 | ||
set use_usb_11 "no" | ||
set use_usb_20 "no" | ||
set use_usb_30 "no" | ||
|
||
set wifi_ssid $::env(GENODE_WIFI_SSID) | ||
set wifi_bssid $::env(GENODE_WIFI_BSSID) | ||
set wifi_psk $::env(GENODE_WIFI_PSK) | ||
|
||
source ${genode_dir}/repos/ports/run/netperf_lwip.inc | ||
source ${genode_dir}/repos/ports/run/netperf.inc | ||
|
||
# remove firmware images | ||
exec sh -c "rm bin/*.ucode" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# \brief Test using netperf with the wifi_drv | ||
# \author Alexander Boettcher | ||
# \date 2013-07-08 | ||
# | ||
|
||
assert_spec x86 | ||
|
||
if {[have_include "power_on/qemu"] || [have_include "power_on/linux"]} { | ||
puts stderr "\nNetperf WIFI running on Qemu/Linux is not supported.\n" | ||
exit 0 | ||
} | ||
|
||
# network configuration | ||
set use_nic_bridge 0 | ||
set use_wifi_driver 1 | ||
set use_usb_11 "no" | ||
set use_usb_20 "no" | ||
set use_usb_30 "no" | ||
|
||
set wifi_ssid $::env(GENODE_WIFI_SSID) | ||
set wifi_bssid $::env(GENODE_WIFI_BSSID) | ||
set wifi_psk $::env(GENODE_WIFI_PSK) | ||
|
||
source ${genode_dir}/repos/ports/run/netperf_lxip.inc | ||
source ${genode_dir}/repos/ports/run/netperf.inc | ||
|
||
# remove firmware images | ||
exec sh -c "rm bin/*.ucode" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters