From: Arik Nemtsov Date: Sun, 9 Nov 2014 16:50:18 +0000 (+0200) Subject: mac80211: add parsing of TDLS specific IEs X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5ca342d7ea691331d6a04e022062232d6b36e415;p=carl9170fw.git mac80211: add parsing of TDLS specific IEs These are used in TDLS channel switching code. Signed-off-by: Arik Nemtsov Signed-off-by: Arik Nemtsov Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 5a110ad..64d65a6 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1070,6 +1070,12 @@ struct ieee80211_pspoll { /* TDLS */ +/* Channel switch timing */ +struct ieee80211_ch_switch_timing { + __le16 switch_time; + __le16 switch_timeout; +} __packed; + /* Link-id information element */ struct ieee80211_tdls_lnkie { u8 ie_type; /* Link Identifier IE */ @@ -1111,6 +1117,15 @@ struct ieee80211_tdls_data { u8 dialog_token; u8 variable[0]; } __packed discover_req; + struct { + u8 target_channel; + u8 oper_class; + u8 variable[0]; + } __packed chan_switch_req; + struct { + __le16 status_code; + u8 variable[0]; + } __packed chan_switch_resp; } u; } __packed;