Signed-off-by: neiledgar <neil.edgar@btinternet.com>
This commit is contained in:
parent
9b97f44a70
commit
7e4d9bd150
9 changed files with 122 additions and 69 deletions
6
vendor/github.com/mdlayher/wifi/client.go
generated
vendored
6
vendor/github.com/mdlayher/wifi/client.go
generated
vendored
|
|
@ -45,8 +45,8 @@ func (c *Client) BSS(ifi *Interface) (*BSS, error) {
|
|||
return c.c.BSS(ifi)
|
||||
}
|
||||
|
||||
// StationInfo retrieves station statistics about a WiFi interface.
|
||||
func (c *Client) StationInfo(ifi *Interface) (*StationInfo, error) {
|
||||
// StationInfo retrieves all station statistics about a WiFi interface.
|
||||
func (c *Client) StationInfo(ifi *Interface) ([]*StationInfo, error) {
|
||||
return c.c.StationInfo(ifi)
|
||||
}
|
||||
|
||||
|
|
@ -55,5 +55,5 @@ type osClient interface {
|
|||
Close() error
|
||||
Interfaces() ([]*Interface, error)
|
||||
BSS(ifi *Interface) (*BSS, error)
|
||||
StationInfo(ifi *Interface) (*StationInfo, error)
|
||||
StationInfo(ifi *Interface) ([]*StationInfo, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue