Documentation ¶
Overview ¶
Package wpacli contains methods running wpa_cli command. Usage:
runner := wpacli.NewRunner(cmdRunner) runner.Ping(ctx, ...)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SerializeNonPrefChans ¶
func SerializeNonPrefChans(chans ...NonPrefChan) string
SerializeNonPrefChans serializes a list of NonPrefChan objects into a wpa_supplicant-recognizable string
Types ¶
type NonPrefChan ¶
NonPrefChan is a single non-preferred channel
type Property ¶
type Property string
Property is a global property for wpa_supplicant
const ( // PropertyNonPrefChan indicates to the AP which channels are not preferred PropertyNonPrefChan Property = "non_pref_chan" )
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner contains methods involving wpa_cli command.
func (*Runner) ClearBSSIDIgnore ¶
ClearBSSIDIgnore clears the BSSID_IGNORE list on DUT.
Click to show internal directories.
Click to hide internal directories.