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

@ -41,3 +41,9 @@ func SetInterfaceChannel(iface string, channel int) error {
}
return nil
}
//! TODO Get the list of the available frequencies supported by the network card
func GetSupportedFrequencies(iface string) ([]int, error) {
freqs := []int{2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467, 2472, 2484}
return freqs, nil
}