Documentation ¶
Overview ¶
Package wifi contains remote Tast tests that exercise the Chrome OS WiFi stack
Index ¶
- func APSupportedRates(ctx context.Context, s *testing.State)
- func AxSimpleConnect(ctx context.Context, s *testing.State)
- func BSSTMRequest(ctx context.Context, s *testing.State)
- func BeaconInterval(ctx context.Context, s *testing.State)
- func BgscanBackoff(ctx context.Context, s *testing.State)
- func BluetoothXorWifi(ctx context.Context, s *testing.State)
- func CSALeaveChannel(ctx context.Context, s *testing.State)
- func CSAReconnect(ctx context.Context, s *testing.State)
- func ChannelHop(ctx context.Context, s *testing.State)
- func ChannelScanDwellTime(ctx context.Context, s *testing.State)
- func ConnectMBO(ctx context.Context, s *testing.State)
- func ConnectRandomizeMAC(ctx context.Context, s *testing.State)
- func ConnectScan(ctx context.Context, s *testing.State)
- func DisableEnable(ctx context.Context, s *testing.State)
- func DisconnectClearsIP(ctx context.Context, s *testing.State)
- func DisconnectReason(ctx context.Context, s *testing.State)
- func DuplicateBSSID(ctx context.Context, s *testing.State)
- func FastReconnectInDarkResume(ctx context.Context, s *testing.State)
- func FunctionalAfterCSA(ctx context.Context, s *testing.State)
- func GTK(ctx context.Context, s *testing.State)
- func LinkMonitorFailure(ctx context.Context, s *testing.State)
- func MARBSSIDRoam(ctx context.Context, s *testing.State)
- func MARSSIDRoam(ctx context.Context, s *testing.State)
- func MBOAssocDisallow(ctx context.Context, s *testing.State)
- func MTBF(ctx context.Context, s *testing.State)
- func MalformedProbeResp(ctx context.Context, s *testing.State)
- func MissingBeacons(ctx context.Context, s *testing.State)
- func MultiAuth(ctx context.Context, s *testing.State)
- func NonPrefChan(ctx context.Context, s *testing.State)
- func OptionalDHCPProperties(ctx context.Context, s *testing.State)
- func OverlappingBSSScan(ctx context.Context, s *testing.State)
- func PMKSACaching(ctx context.Context, s *testing.State)
- func PTK(ctx context.Context, s *testing.State)
- func PersistenceBluetoothSansWifi(ctx context.Context, s *testing.State)
- func PersistenceWifiSansBluetooth(ctx context.Context, s *testing.State)
- func PolicyBasic(ctx context.Context, s *testing.State)
- func PowerSave(ctx context.Context, s *testing.State)
- func Prefer5Ghz(ctx context.Context, s *testing.State)
- func ProbeReqFormat(ctx context.Context, s *testing.State)
- func ProfileBasic(ctx context.Context, s *testing.State)
- func ProfileGUID(ctx context.Context, s *testing.State)
- func RRMBeaconReport(ctx context.Context, s *testing.State)
- func RandomMACAddress(ctx context.Context, s *testing.State)
- func Reassociate(ctx context.Context, s *testing.State)
- func ReconnectInDarkResume(ctx context.Context, s *testing.State)
- func RemoteIwlwifiPCIRescan(ctx context.Context, s *testing.State)
- func Reset(ctx context.Context, s *testing.State)
- func RoamAPGone(ctx context.Context, s *testing.State)
- func RoamContPing(ctx context.Context, s *testing.State)
- func RoamDbus(ctx context.Context, s *testing.State)
- func RoamDiagnostics(ctx context.Context, s *testing.State)
- func RoamFT(ctx context.Context, s *testing.State)
- func RoamNatural(ctx context.Context, s *testing.State)
- func SSIDSwitchBack(ctx context.Context, s *testing.State)
- func ScanPerf(ctx context.Context, s *testing.State)
- func SecChange(ctx context.Context, s *testing.State)
- func SimpleConnect(ctx context.Context, s *testing.State)
- func SuspendStress(ctx context.Context, s *testing.State)
- func WMM(ctx context.Context, s *testing.State)
- func WakeOnDisconnect(ctx context.Context, s *testing.State)
- func WakeOnSSID(ctx context.Context, s *testing.State)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoamDiagnostics ¶
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 RoamNatural ¶
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.
Types ¶
This section is empty.
Source Files ¶
- ap_supported_rates.go
- ax_simple_connect.go
- beacon_interval.go
- bgscan_backoff.go
- bluetooth_xor_wifi.go
- bss_tm_request.go
- channel_hop.go
- channel_scan_dwell_time.go
- connect_mbo.go
- connect_randomize_mac.go
- connect_scan.go
- csa_leave_channel.go
- csa_reconnect.go
- disable_enable.go
- disconnect_clears_ip.go
- disconnect_reason.go
- doc.go
- duplicate_bssid.go
- fast_reconnect_in_dark_resume.go
- functional_after_csa.go
- gtk.go
- link_monitor_failure.go
- malformed_probe_resp.go
- mar_bssid_roam.go
- mar_ssid_roam.go
- mbo_assoc_disallow.go
- missing_beacons.go
- mtbf.go
- multi_auth.go
- non_pref_chan.go
- optional_dhcp_properties.go
- overlapping_bss_scan.go
- persistence_bluetooth_sans_wifi.go
- persistence_wifi_sans_bluetooth.go
- pmksa_caching.go
- policy_basic.go
- power_save.go
- prefer_5ghz.go
- probe_req_format.go
- profile_basic.go
- profile_guid.go
- ptk.go
- random_mac_address.go
- reassociate.go
- reconnect_in_dark_resume.go
- remote_iwlwifi_pci_rescan.go
- reset.go
- roam_ap_gone.go
- roam_cont_ping.go
- roam_dbus.go
- roam_diagnostics.go
- roam_ft.go
- roam_natural.go
- rrm_beacon_report.go
- scan_perf.go
- sec_change.go
- simple_connect.go
- ssid_switch_back.go
- suspend_stress.go
- wake_on_disconnect.go
- wake_on_ssid.go
- wmm.go