Wifi 5GHz support added to wifi.recon

This commit is contained in:
Matrix86 2018-02-20 12:40:55 +01:00
commit 813561cbda
7 changed files with 70 additions and 21 deletions

View file

@ -3,19 +3,19 @@ package network
type Station struct {
*Endpoint
IsAP bool
Channel int
Frequency int
RSSI int8
Sent uint64
Received uint64
Encryption string
}
func NewStation(essid, bssid string, isAp bool, channel int, rssi int8) *Station {
func NewStation(essid, bssid string, isAp bool, frequency int, rssi int8) *Station {
return &Station{
Endpoint: NewEndpointNoResolve(MonitorModeAddress, bssid, essid, 0),
IsAP: isAp,
Channel: channel,
RSSI: rssi,
Endpoint: NewEndpointNoResolve(MonitorModeAddress, bssid, essid, 0),
IsAP: isAp,
Frequency: frequency,
RSSI: rssi,
}
}