Issue #157: wifi.recon can now select one or multiple channels (comma separated) and show only the selected channels.

This commit is contained in:
Matrix86 2018-03-12 14:09:09 +01:00
parent 0e2e7344f8
commit 054ce2a1bf
3 changed files with 99 additions and 19 deletions

View file

@ -211,3 +211,11 @@ func Dot11InformationElementRSNInfoDecode(buf []byte) (rsn RSNInfo, err error) {
return
}
func Dot11InformationElementIDDSSetDecode(buf []byte) (channel int, err error) {
if err = canParse("DSSet.channel", buf, 1); err == nil {
channel = int(buf[0])
}
return
}