]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: r8188eu: remove some structure definitions from wlan_bssdef.h
authorIvan Safonov <insafonov@gmail.com>
Wed, 24 Aug 2016 08:23:17 +0000 (15:23 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:01:42 +0000 (18:01 +0200)
cmd_msg_parm, H2C_SS_RFOFF_PARAM, joinbssrpt_parm,
P2P_PS_Offload_t and P2P_PS_CTWPeriod_t structures are not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/rtl8188e_cmd.h

index 4d7d804658c2ba0c75a851550c679c417ae1fcdd..820c04529e528553f6919c871fb559645df13bb3 100644 (file)
@@ -49,12 +49,6 @@ enum RTL8188E_H2C_CMD_ID {
         H2C_RESET_TSF                  = 0xc0,
 };
 
-struct cmd_msg_parm {
-       u8 eid; /* element id */
-       u8 sz; /*  sz */
-       u8 buf[6];
-};
-
 enum {
        PWRS
 };
@@ -67,15 +61,6 @@ struct setpwrmode_parm {
        u8 PwrState;/* AllON(0x0c),RFON(0x04),RFOFF(0x00) */
 };
 
-struct H2C_SS_RFOFF_PARAM {
-       u8 ROFOn; /*  1: on, 0:off */
-       u16 gpio_period; /*  unit: 1024 us */
-} __packed;
-
-struct joinbssrpt_parm {
-       u8 OpMode;      /*  RT_MEDIA_STATUS */
-};
-
 struct rsvdpage_loc {
        u8 LocProbeRsp;
        u8 LocPsPoll;
@@ -84,21 +69,6 @@ struct rsvdpage_loc {
        u8 LocBTQosNull;
 };
 
-struct P2P_PS_Offload_t {
-       u8 Offload_En:1;
-       u8 role:1; /*  1: Owner, 0: Client */
-       u8 CTWindow_En:1;
-       u8 NoA0_En:1;
-       u8 NoA1_En:1;
-       u8 AllStaSleep:1; /*  Only valid in Owner */
-       u8 discovery:1;
-       u8 rsvd:1;
-};
-
-struct P2P_PS_CTWPeriod_t {
-       u8 CTWPeriod;   /* TU */
-};
-
 /*  host message to firmware cmd */
 void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode);
 void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus);