mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
Wifi 5GHz support added to wifi.recon
This commit is contained in:
parent
420ab9e26c
commit
813561cbda
7 changed files with 70 additions and 21 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue