summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/rtl8723bs/include/ioctl_cfg80211.h')
-rw-r--r--drivers/staging/rtl8723bs/include/ioctl_cfg80211.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
index 753009b07451..bc62b7285950 100644
--- a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
+++ b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
@@ -7,58 +7,6 @@
#ifndef __IOCTL_CFG80211_H__
#define __IOCTL_CFG80211_H__
-struct rtw_wdev_invit_info {
- u8 state; /* 0: req, 1:rep */
- u8 peer_mac[ETH_ALEN];
- u8 active;
- u8 token;
- u8 flags;
- u8 status;
- u8 req_op_ch;
- u8 rsp_op_ch;
-};
-
-#define rtw_wdev_invit_info_init(invit_info) \
- do { \
- (invit_info)->state = 0xff; \
- memset((invit_info)->peer_mac, 0, ETH_ALEN); \
- (invit_info)->active = 0xff; \
- (invit_info)->token = 0; \
- (invit_info)->flags = 0x00; \
- (invit_info)->status = 0xff; \
- (invit_info)->req_op_ch = 0; \
- (invit_info)->rsp_op_ch = 0; \
- } while (0)
-
-struct rtw_wdev_nego_info {
- u8 state; /* 0: req, 1:rep, 2:conf */
- u8 peer_mac[ETH_ALEN];
- u8 active;
- u8 token;
- u8 status;
- u8 req_intent;
- u8 req_op_ch;
- u8 req_listen_ch;
- u8 rsp_intent;
- u8 rsp_op_ch;
- u8 conf_op_ch;
-};
-
-#define rtw_wdev_nego_info_init(nego_info) \
- do { \
- (nego_info)->state = 0xff; \
- memset((nego_info)->peer_mac, 0, ETH_ALEN); \
- (nego_info)->active = 0xff; \
- (nego_info)->token = 0; \
- (nego_info)->status = 0xff; \
- (nego_info)->req_intent = 0xff; \
- (nego_info)->req_op_ch = 0; \
- (nego_info)->req_listen_ch = 0; \
- (nego_info)->rsp_intent = 0xff; \
- (nego_info)->rsp_op_ch = 0; \
- (nego_info)->conf_op_ch = 0; \
- } while (0)
-
struct rtw_wdev_priv {
struct wireless_dev *rtw_wdev;
@@ -70,14 +18,6 @@ struct rtw_wdev_priv {
struct net_device *pmon_ndev;/* for monitor interface */
char ifname_mon[IFNAMSIZ + 1]; /* interface name for monitor interface */
- u8 p2p_enabled;
-
- u8 provdisc_req_issued;
-
- struct rtw_wdev_invit_info invit_info;
- struct rtw_wdev_nego_info nego_info;
-
- u8 bandroid_scan;
bool block;
bool power_mgmt;
};