generic_wireless ================ Predefined wireless tests. wireless is called "Wifi / Bluetooth" in AVL. Inherit ------- - :doc:`generic_common.test_list ` Bluetooth --------- pytest_name ``````````` :doc:`bluetooth <../pytests/bluetooth>` args ```` ``expected_adapter_count`` :: 1 ``scan_devices`` :: true ProbeDeviceInfo --------------- pytest_name ``````````` :doc:`probe_device_info <../pytests/probe_device_info>` ProbeWireless ------------- pytest_name ``````````` :doc:`probe.probe <../pytests/probe.probe>` 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 ``````````` :doc:`wifi_throughput <../pytests/wifi_throughput>` Wireless -------- Alias of WirelessAntenna for legacy test lists. pytest_name ``````````` :doc:`wireless_antenna <../pytests/wireless_antenna>` 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 ``````````` :doc:`wireless_antenna <../pytests/wireless_antenna>` 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 ``````````` :doc:`wireless_antenna <../pytests/wireless_antenna>` 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 ``````````` :doc:`wireless_antenna <../pytests/wireless_antenna>` 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 ``````````` :doc:`wireless_connect <../pytests/wireless_connect>` args ```` ``service_name`` :: [ { "passphrase": "crosfactory", "security": "psk", "ssid": "crosfactory20" }, { "passphrase": "crosfactory", "security": "psk", "ssid": "crosfactory21" } ] WirelessDisconnect ------------------ pytest_name ``````````` :doc:`wireless_connect <../pytests/wireless_connect>` args ```` ``service_name`` :: [] WirelessRadiotap ---------------- Alias of WirelessAntennaRadiotap for legacy test lists. pytest_name ``````````` :doc:`wireless_antenna <../pytests/wireless_antenna>` 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"