2017-01-09 20:33:55 +01:00
|
|
|
//+build !linux
|
|
|
|
|
|
|
|
package wifi
|
|
|
|
|
|
|
|
var _ osClient = &client{}
|
|
|
|
|
|
|
|
// A conn is the no-op implementation of a netlink sockets connection.
|
|
|
|
type client struct{}
|
|
|
|
|
|
|
|
// newClient always returns an error.
|
|
|
|
func newClient() (*client, error) {
|
|
|
|
return nil, errUnimplemented
|
|
|
|
}
|
|
|
|
|
2017-01-12 18:41:35 +01:00
|
|
|
// Close always returns an error.
|
|
|
|
func (c *client) Close() error {
|
|
|
|
return errUnimplemented
|
|
|
|
}
|
|
|
|
|
2017-01-09 20:33:55 +01:00
|
|
|
// Interfaces always returns an error.
|
|
|
|
func (c *client) Interfaces() ([]*Interface, error) {
|
|
|
|
return nil, errUnimplemented
|
|
|
|
}
|
|
|
|
|
2017-01-17 06:54:18 +01:00
|
|
|
// BSS always returns an error.
|
|
|
|
func (c *client) BSS(ifi *Interface) (*BSS, error) {
|
|
|
|
return nil, errUnimplemented
|
|
|
|
}
|
|
|
|
|
2017-01-09 20:33:55 +01:00
|
|
|
// StationInfo always returns an error.
|
2018-07-16 16:02:25 +02:00
|
|
|
func (c *client) StationInfo(ifi *Interface) ([]*StationInfo, error) {
|
2017-01-09 20:33:55 +01:00
|
|
|
return nil, errUnimplemented
|
|
|
|
}
|