From 06a03c9e3b32a409e8307b1abde2cfd7dd969b6d Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 22 Mar 2020 01:05:03 +0100 Subject: Revert "iwinfo: add BSS load element to scan result" This reverts commit a6914dc0dc3cba65e245fbe40076626ea2bcd5a3. iwinfo currently misses ABI version tracking in OpenWrt, potentially breaking other packages unintentionally. Revert this commit for now until this is implemented. Otherwise, we are not able to safely bump iwinfo at the moment. Signed-off-by: David Bauer --- iwinfo_utils.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'iwinfo_utils.c') diff --git a/iwinfo_utils.c b/iwinfo_utils.c index 425492e..b4f98a9 100644 --- a/iwinfo_utils.c +++ b/iwinfo_utils.c @@ -324,14 +324,6 @@ static void iwinfo_parse_rsn_cipher(uint8_t idx, uint8_t *ciphers) } } -void iwinfo_parse_bss_load(struct iwinfo_scanlist_entry *e, uint8_t *data) -{ - e->has_bss_load = 1; - e->station_count = ((data[1] << 8) | data[0]); - e->channel_utilization = data[2]; - e->admission_capacity = ((data[4] << 8) | data[3]); -} - void iwinfo_parse_rsn(struct iwinfo_crypto_entry *c, uint8_t *data, uint8_t len, uint8_t defcipher, uint8_t defauth) { -- cgit v1.2.1