FT: Add IEEE VLAN support (including tagged VLANs)

This uses set_vlan()/get_vlan() callbacks to fetch and configure the
VLAN of STA. Transmission of VLAN information between APs uses new TLVs.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
This commit is contained in:
Michael Braun 2017-05-18 15:21:51 +02:00 committed by Jouni Malinen
parent 47a039b01b
commit 17010c38d0
3 changed files with 289 additions and 22 deletions

View file

@ -81,6 +81,9 @@ struct ft_rrb_frame {
#define FT_RRB_PAIRWISE 11 /* le16 */
#define FT_RRB_EXPIRES_IN 12 /* le16 seconds */
#define FT_RRB_VLAN_UNTAGGED 13 /* le16 */
#define FT_RRB_VLAN_TAGGED 14 /* n times le16 */
struct ft_rrb_tlv {
le16 type;
le16 len;
@ -95,7 +98,7 @@ struct ft_rrb_seq {
/* session TLVs:
* required: PMK_R1, PMK_R1_NAME, PAIRWISE
* optional: EXPIRES_IN
* optional: VLAN_UNTAGGED, VLAN_TAGGED, EXPIRES_IN
*
* pull frame TLVs:
* auth: