Commit d911a624 authored by Deepak R Varma's avatar Deepak R Varma Committed by Greg Kroah-Hartman

staging: wlan-ng: Remove unused structure definitions

Remove structure definitions that are never used in the code.
Signed-off-by: default avatarDeepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/74a79ea400ec26624e445692f3353424fb6fc29e.1667308828.git.drv@mailo.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49af5dd7
......@@ -217,236 +217,4 @@
#define WLAN_SET_MGMT_CAP_INFO_PBCC(n) ((n) << 6)
#define WLAN_SET_MGMT_CAP_INFO_AGILITY(n) ((n) << 7)
/*-- Information Element Types --------------------*/
/* prototype structure, all IEs start with these members */
struct wlan_ie {
u8 eid;
u8 len;
} __packed;
/*-- FH Parameter Set ----------------------------*/
struct wlan_ie_fh_parms {
u8 eid;
u8 len;
u16 dwell;
u8 hopset;
u8 hoppattern;
u8 hopindex;
} __packed;
/*-- DS Parameter Set ----------------------------*/
struct wlan_ie_ds_parms {
u8 eid;
u8 len;
u8 curr_ch;
} __packed;
/*-- CF Parameter Set ----------------------------*/
struct wlan_ie_cf_parms {
u8 eid;
u8 len;
u8 cfp_cnt;
u8 cfp_period;
u16 cfp_maxdur;
u16 cfp_durremaining;
} __packed;
/*-- Challenge Text ------------------------------*/
struct wlan_ie_challenge {
u8 eid;
u8 len;
u8 challenge[1];
} __packed;
/*-------------------------------------------------*/
/* Frame Types */
/* prototype structure, all mgmt frame types will start with these members */
struct wlan_fr_mgmt {
u16 type;
u16 len; /* DOES NOT include CRC !!!! */
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
/*-- info elements ----------*/
};
/*-- Beacon ---------------------------------------*/
struct wlan_fr_beacon {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u64 *ts;
u16 *bcn_int;
u16 *cap_info;
/*-- info elements ----------*/
struct wlan_ie_fh_parms *fh_parms;
struct wlan_ie_ds_parms *ds_parms;
struct wlan_ie_cf_parms *cf_parms;
};
/*-- IBSS ATIM ------------------------------------*/
struct wlan_fr_ibssatim {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
/*-- info elements ----------*/
/* this frame type has a null body */
};
/*-- Disassociation -------------------------------*/
struct wlan_fr_disassoc {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *reason;
/*-- info elements ----------*/
};
/*-- Association Request --------------------------*/
struct wlan_fr_assocreq {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *cap_info;
u16 *listen_int;
/*-- info elements ----------*/
};
/*-- Association Response -------------------------*/
struct wlan_fr_assocresp {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *cap_info;
u16 *status;
u16 *aid;
/*-- info elements ----------*/
};
/*-- Reassociation Request ------------------------*/
struct wlan_fr_reassocreq {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *cap_info;
u16 *listen_int;
u8 *curr_ap;
/*-- info elements ----------*/
};
/*-- Reassociation Response -----------------------*/
struct wlan_fr_reassocresp {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *cap_info;
u16 *status;
u16 *aid;
/*-- info elements ----------*/
};
/*-- Probe Request --------------------------------*/
struct wlan_fr_probereq {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
/*-- info elements ----------*/
};
/*-- Probe Response -------------------------------*/
struct wlan_fr_proberesp {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u64 *ts;
u16 *bcn_int;
u16 *cap_info;
/*-- info elements ----------*/
struct wlan_ie_fh_parms *fh_parms;
struct wlan_ie_ds_parms *ds_parms;
struct wlan_ie_cf_parms *cf_parms;
};
/*-- Authentication -------------------------------*/
struct wlan_fr_authen {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *auth_alg;
u16 *auth_seq;
u16 *status;
/*-- info elements ----------*/
struct wlan_ie_challenge *challenge;
};
/*-- Deauthenication -----------------------------*/
struct wlan_fr_deauthen {
u16 type;
u16 len;
u8 *buf;
struct p80211_hdr *hdr;
/* used for target specific data, skb in Linux */
void *priv;
/*-- fixed fields -----------*/
u16 *reason;
/*-- info elements ----------*/
};
#endif /* _P80211MGMT_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment