staging: wlan-ng: Remove unused structure definitions
authorDeepak R Varma <drv@mailo.com>
Tue, 1 Nov 2022 13:50:40 +0000 (19:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Nov 2022 07:30:20 +0000 (08:30 +0100)
Remove structure definitions that are never used in the code.

Signed-off-by: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/74a79ea400ec26624e445692f3353424fb6fc29e.1667308828.git.drv@mailo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211mgmt.h

index da824bc3636555980b793a47753fd86aeb9e20f7..fc23fae5651b9ecef550cc89a65bb65fab1aca3e 100644 (file)
 #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 */