diff options
author | David Bauer <mail@david-bauer.net> | 2020-01-31 14:45:03 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-02-04 14:44:14 +0100 |
commit | a6914dc0dc3cba65e245fbe40076626ea2bcd5a3 (patch) | |
tree | a3b5d78b90859d923e60595972d744c37360d479 /iwinfo_nl80211.c | |
parent | bb216982951698833bbdf4a88872e9b5ccd026a5 (diff) | |
download | iwinfo-a6914dc0dc3cba65e245fbe40076626ea2bcd5a3.tar.gz |
iwinfo: add BSS load element to scan result
This adds support for the BSS load information element. With this patch,
the BSS load information is visible when using the CLI as well as when
accessing scan results using the LUA binding.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'iwinfo_nl80211.c')
-rw-r--r-- | iwinfo_nl80211.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c index 2b2a043..7463fc7 100644 --- a/iwinfo_nl80211.c +++ b/iwinfo_nl80211.c @@ -2296,6 +2296,10 @@ static void nl80211_get_scanlist_ie(struct nlattr **bss, } break; + case 11: /* BSS Load */ + iwinfo_parse_bss_load(e, ie + 2); + break; + case 48: /* RSN */ iwinfo_parse_rsn(&e->crypto, ie + 2, ie[1], IWINFO_CIPHER_CCMP, IWINFO_KMGMT_8021x); |