generic_wireless¶
Predefined wireless tests. wireless is called “Wifi / Bluetooth” in AVL.
Inherit¶
Bluetooth¶
pytest_name¶
args¶
expected_adapter_count
1
scan_devices
true
ProbeWireless¶
pytest_name¶
args¶
component_list
[ "wireless" ]
config_file
"/usr/local/factory/py/hwid/v3/default_probe_statement.json"
overridden_rules
[ [ "wireless", "==", 1 ] ]
WifiSSIDList¶
This test object cannot be run directly. Users have to inherit and modify it.
pytest_name¶
Wireless¶
Alias of WirelessAntenna for legacy test lists.
pytest_name¶
args¶
device_name
"wlan0"
ignore_missing_services
true
services
"eval! constants.wireless_services"
switch_antenna_config
{ "all": [ 3, 3 ], "aux": [ 2, 2 ], "main": [ 1, 1 ] }
strength
{ "all": -60, "aux": -60, "main": -60 }
wifi_chip_type
null
WirelessAntenna¶
Auto detect the type of the wifi chip.
pytest_name¶
args¶
device_name
"wlan0"
ignore_missing_services
true
services
"eval! constants.wireless_services"
switch_antenna_config
{ "all": [ 3, 3 ], "aux": [ 2, 2 ], "main": [ 1, 1 ] }
strength
{ "all": -60, "aux": -60, "main": -60 }
wifi_chip_type
null
WirelessAntennaRadiotap¶
Only allow wifi chips which supports radiotap.
pytest_name¶
args¶
device_name
"wlan0"
ignore_missing_services
true
services
"eval! constants.wireless_services"
switch_antenna_config
{ "all": [ 3, 3 ], "aux": [ 2, 2 ], "main": [ 1, 1 ] }
strength
{ "all": -60, "aux": -60, "main": -60 }
wifi_chip_type
"radiotap"
WirelessAntennaSwitchAntenna¶
Only allow wifi chips which supports switch_antenna.
pytest_name¶
args¶
device_name
"wlan0"
ignore_missing_services
true
services
"eval! constants.wireless_services"
switch_antenna_config
{ "all": [ 3, 3 ], "aux": [ 2, 2 ], "main": [ 1, 1 ] }
strength
{ "all": -60, "aux": -60, "main": -60 }
wifi_chip_type
"switch_antenna"
WirelessConnect¶
pytest_name¶
args¶
service_name
[ { "passphrase": "crosfactory", "security": "psk", "ssid": "crosfactory20" }, { "passphrase": "crosfactory", "security": "psk", "ssid": "crosfactory21" } ]
WirelessDisconnect¶
pytest_name¶
args¶
service_name
[]
WirelessRadiotap¶
Alias of WirelessAntennaRadiotap for legacy test lists.
pytest_name¶
args¶
device_name
"wlan0"
ignore_missing_services
true
services
"eval! constants.wireless_services"
switch_antenna_config
{ "all": [ 3, 3 ], "aux": [ 2, 2 ], "main": [ 1, 1 ] }
strength
{ "all": -60, "aux": -60, "main": -60 }
wifi_chip_type
"radiotap"