Parsing of BIGTK subelement in FTE
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d2e77310dc
commit
3937378abe
2 changed files with 7 additions and 0 deletions
|
@ -925,6 +925,10 @@ static int wpa_ft_parse_ftie(const u8 *ie, size_t ie_len,
|
|||
parse->oci_len = len;
|
||||
break;
|
||||
#endif /* CONFIG_OCV */
|
||||
case FTIE_SUBELEM_BIGTK:
|
||||
parse->bigtk = pos;
|
||||
parse->bigtk_len = len;
|
||||
break;
|
||||
default:
|
||||
wpa_printf(MSG_DEBUG, "FT: Unknown subelem id %u", id);
|
||||
break;
|
||||
|
|
|
@ -321,6 +321,7 @@ struct rsn_ftie_sha384 {
|
|||
#define FTIE_SUBELEM_R0KH_ID 3
|
||||
#define FTIE_SUBELEM_IGTK 4
|
||||
#define FTIE_SUBELEM_OCI 5
|
||||
#define FTIE_SUBELEM_BIGTK 6
|
||||
|
||||
struct rsn_rdie {
|
||||
u8 id;
|
||||
|
@ -455,6 +456,8 @@ struct wpa_ft_ies {
|
|||
size_t tie_len;
|
||||
const u8 *igtk;
|
||||
size_t igtk_len;
|
||||
const u8 *bigtk;
|
||||
size_t bigtk_len;
|
||||
#ifdef CONFIG_OCV
|
||||
const u8 *oci;
|
||||
size_t oci_len;
|
||||
|
|
Loading…
Reference in a new issue