eiwd

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

commit 23fb4493df27196c2297d8f3d84c4ee77f50e369
parent 1187fcbf42d61c59ab95c91cc38aa08376388ad4
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 27 Sep 2021 10:03:57 -0700

ie: add OCI support in build_fast_bss_transition

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

diff --git a/src/ie.c b/src/ie.c @@ -1870,6 +1870,13 @@ bool ie_build_fast_bss_transition(const struct ie_ft_info *info, L_WARN_ON(info->igtk_len); /* Not implemented */ + if (info->oci_present) { + to[0] = 5; + to[1] = 3; + memcpy(to + 2, info->oci, sizeof(info->oci)); + *len += 5; + } + return true; } diff --git a/src/ie.h b/src/ie.h @@ -435,6 +435,8 @@ struct ie_ft_info { uint8_t igtk_ipn[6]; uint8_t igtk_len; uint8_t igtk[24]; + bool oci_present:1; + uint8_t oci[3]; }; /* See chapter 8.4.2.47 for radio measurement capability details */