3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 10:39:23 +01:00

ie: add OCI support in build_fast_bss_transition

This commit is contained in:
James Prestwood 2021-09-27 10:03:57 -07:00 committed by Denis Kenzior
parent 1187fcbf42
commit 23fb4493df
2 changed files with 9 additions and 0 deletions

View File

@ -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;
}

View File

@ -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 */