eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9dcb6946c505725e79d7d1997161bd9fa15d1fee
parent ac933ad9665014b768a13b9800a508fea4914bc4
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Fri, 12 Jul 2019 10:30:26 -0700

scan: parse roaming consortium IE

Diffstat:
Msrc/scan.c | 9+++++++++
Msrc/scan.h | 1+
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/scan.c b/src/scan.c @@ -896,6 +896,14 @@ static bool scan_parse_bss_information_elements(struct scan_bss *bss, memcpy(bss->hessid, iter.data + 3, 6); else if (iter.len == 7) memcpy(bss->hessid, iter.data + 1, 6); + break; + case IE_TYPE_ROAMING_CONSORTIUM: + if (iter.len < 2) + return false; + + bss->rc_ie = l_memdup(iter.data - 2, iter.len + 2); + + break; } } @@ -1109,6 +1117,7 @@ void scan_bss_free(struct scan_bss *bss) l_free(bss->wpa); l_free(bss->wsc); l_free(bss->osen); + l_free(bss->rc_ie); l_free(bss); } diff --git a/src/scan.h b/src/scan.h @@ -63,6 +63,7 @@ struct scan_bss { uint8_t vht_ie[14]; uint64_t time_stamp; uint8_t hessid[6]; + uint8_t *rc_ie; /* Roaming consortium IE */ bool mde_present : 1; bool cc_present : 1; bool cap_rm_neighbor_report : 1;