wifi

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 65 Imported by: 0

Documentation

Overview

Package wifi contains remote Tast tests that exercise the Chrome OS WiFi stack

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APSupportedRates

func APSupportedRates(ctx context.Context, s *testing.State)

func AxSimpleConnect

func AxSimpleConnect(ctx context.Context, s *testing.State)

func BSSTMRequest

func BSSTMRequest(ctx context.Context, s *testing.State)

func BeaconInterval

func BeaconInterval(ctx context.Context, s *testing.State)

func BgscanBackoff

func BgscanBackoff(ctx context.Context, s *testing.State)

func BluetoothXorWifi

func BluetoothXorWifi(ctx context.Context, s *testing.State)

func CSALeaveChannel

func CSALeaveChannel(ctx context.Context, s *testing.State)

func CSAReconnect

func CSAReconnect(ctx context.Context, s *testing.State)

func ChannelHop

func ChannelHop(ctx context.Context, s *testing.State)

func ChannelScanDwellTime

func ChannelScanDwellTime(ctx context.Context, s *testing.State)

func ConnectMBO

func ConnectMBO(ctx context.Context, s *testing.State)

func ConnectRandomizeMAC

func ConnectRandomizeMAC(ctx context.Context, s *testing.State)

func ConnectScan

func ConnectScan(ctx context.Context, s *testing.State)

func DisableEnable

func DisableEnable(ctx context.Context, s *testing.State)

func DisconnectClearsIP

func DisconnectClearsIP(ctx context.Context, s *testing.State)

func DisconnectReason

func DisconnectReason(ctx context.Context, s *testing.State)

func DuplicateBSSID

func DuplicateBSSID(ctx context.Context, s *testing.State)

func FastReconnectInDarkResume

func FastReconnectInDarkResume(ctx context.Context, s *testing.State)

func FunctionalAfterCSA

func FunctionalAfterCSA(ctx context.Context, s *testing.State)

func GTK

func GTK(ctx context.Context, s *testing.State)

func LinkMonitorFailure

func LinkMonitorFailure(ctx context.Context, s *testing.State)

func MARBSSIDRoam

func MARBSSIDRoam(ctx context.Context, s *testing.State)

func MARSSIDRoam

func MARSSIDRoam(ctx context.Context, s *testing.State)

func MBOAssocDisallow

func MBOAssocDisallow(ctx context.Context, s *testing.State)

func MTBF

func MTBF(ctx context.Context, s *testing.State)

func MalformedProbeResp

func MalformedProbeResp(ctx context.Context, s *testing.State)

func MissingBeacons

func MissingBeacons(ctx context.Context, s *testing.State)

func MultiAuth

func MultiAuth(ctx context.Context, s *testing.State)

func NonPrefChan

func NonPrefChan(ctx context.Context, s *testing.State)

func OptionalDHCPProperties

func OptionalDHCPProperties(ctx context.Context, s *testing.State)

func OverlappingBSSScan

func OverlappingBSSScan(ctx context.Context, s *testing.State)

func PMKSACaching

func PMKSACaching(ctx context.Context, s *testing.State)

func PTK

func PTK(ctx context.Context, s *testing.State)

func PersistenceBluetoothSansWifi

func PersistenceBluetoothSansWifi(ctx context.Context, s *testing.State)

func PersistenceWifiSansBluetooth

func PersistenceWifiSansBluetooth(ctx context.Context, s *testing.State)

func PolicyBasic

func PolicyBasic(ctx context.Context, s *testing.State)

func PowerSave

func PowerSave(ctx context.Context, s *testing.State)

func Prefer5Ghz

func Prefer5Ghz(ctx context.Context, s *testing.State)

func ProbeReqFormat

func ProbeReqFormat(ctx context.Context, s *testing.State)

func ProfileBasic

func ProfileBasic(ctx context.Context, s *testing.State)

func ProfileGUID

func ProfileGUID(ctx context.Context, s *testing.State)

func RRMBeaconReport

func RRMBeaconReport(ctx context.Context, s *testing.State)

func RandomMACAddress

func RandomMACAddress(ctx context.Context, s *testing.State)

func Reassociate

func Reassociate(ctx context.Context, s *testing.State)

func ReconnectInDarkResume

func ReconnectInDarkResume(ctx context.Context, s *testing.State)

func RemoteIwlwifiPCIRescan

func RemoteIwlwifiPCIRescan(ctx context.Context, s *testing.State)

func Reset

func Reset(ctx context.Context, s *testing.State)

func RoamAPGone

func RoamAPGone(ctx context.Context, s *testing.State)

func RoamContPing

func RoamContPing(ctx context.Context, s *testing.State)

func RoamDbus

func RoamDbus(ctx context.Context, s *testing.State)

func RoamDiagnostics

func RoamDiagnostics(ctx context.Context, s *testing.State)

RoamDiagnostics executes the test case

Bring an AP up, connect to it, set the attenuation, and vary a second AP around the same RSSI as the first AP. Perform a scan after every change in attenuation and observe when the device roams between APs. Record all roam events in a file for analysis. The purpose of this diagnostic is to capture the stickiness of the device's roam algorithm. For example, the stickier the algorithm, the more skewed toward higher RSSI differentials (between current and target AP) the distribution of roams in the output files will be. This is not necessarily a good thing as it's important for a device to be able to move between APs when it needs to. Therefore, we use RoamNatural in conjunction with this test to ensure that normal roam behavior is not broken.

func RoamFT

func RoamFT(ctx context.Context, s *testing.State)

func RoamNatural

func RoamNatural(ctx context.Context, s *testing.State)

RoamNatural executes the test case

Bring up two APs, connect, vary attenuation as if the device is moving between the two APs (i.e. the signal gets weaker on one and stronger on the other until the first one cannot be seen anymore). At some point before the first AP is torn down, the device should have roamed to the second AP. If it doesn't there will be an association failure, which we can then log and write to a file. Ideally, there would be no association failures and a roam every time we expected one. Realistically, RSSI can vary quite widely, and we can't expect to see a good roam signal on every scan even where there should be one. This test is used to validity check that "normal" roaming behavior is not broken by any roaming algorithm changes. A couple failed associations is acceptable, but any more than that is a good indication that roaming has become too sticky.

func SSIDSwitchBack

func SSIDSwitchBack(ctx context.Context, s *testing.State)

func ScanPerf

func ScanPerf(ctx context.Context, s *testing.State)

func SecChange

func SecChange(ctx context.Context, s *testing.State)

func SimpleConnect

func SimpleConnect(ctx context.Context, s *testing.State)

func SuspendStress

func SuspendStress(ctx context.Context, s *testing.State)

func WMM

func WMM(ctx context.Context, s *testing.State)

func WakeOnDisconnect

func WakeOnDisconnect(ctx context.Context, s *testing.State)

func WakeOnSSID

func WakeOnSSID(ctx context.Context, s *testing.State)

Types

This section is empty.

Directories

Path Synopsis
Package wifiutil contains utilities for remote WiFi tests.
Package wifiutil contains utilities for remote WiFi tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL