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;
|
parse->oci_len = len;
|
||||||
break;
|
break;
|
||||||
#endif /* CONFIG_OCV */
|
#endif /* CONFIG_OCV */
|
||||||
|
case FTIE_SUBELEM_BIGTK:
|
||||||
|
parse->bigtk = pos;
|
||||||
|
parse->bigtk_len = len;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
wpa_printf(MSG_DEBUG, "FT: Unknown subelem id %u", id);
|
wpa_printf(MSG_DEBUG, "FT: Unknown subelem id %u", id);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -321,6 +321,7 @@ struct rsn_ftie_sha384 {
|
||||||
#define FTIE_SUBELEM_R0KH_ID 3
|
#define FTIE_SUBELEM_R0KH_ID 3
|
||||||
#define FTIE_SUBELEM_IGTK 4
|
#define FTIE_SUBELEM_IGTK 4
|
||||||
#define FTIE_SUBELEM_OCI 5
|
#define FTIE_SUBELEM_OCI 5
|
||||||
|
#define FTIE_SUBELEM_BIGTK 6
|
||||||
|
|
||||||
struct rsn_rdie {
|
struct rsn_rdie {
|
||||||
u8 id;
|
u8 id;
|
||||||
|
@ -455,6 +456,8 @@ struct wpa_ft_ies {
|
||||||
size_t tie_len;
|
size_t tie_len;
|
||||||
const u8 *igtk;
|
const u8 *igtk;
|
||||||
size_t igtk_len;
|
size_t igtk_len;
|
||||||
|
const u8 *bigtk;
|
||||||
|
size_t bigtk_len;
|
||||||
#ifdef CONFIG_OCV
|
#ifdef CONFIG_OCV
|
||||||
const u8 *oci;
|
const u8 *oci;
|
||||||
size_t oci_len;
|
size_t oci_len;
|
||||||
|
|
Loading…
Reference in a new issue