summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-04-19 08:51:32 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-04-19 08:51:32 -0700
commitbea8d77e45a8b77f2beca1affc9aa7ed28f39b17 (patch)
treed8b2decebcc2b6b58bc2df244c89b77a4f2ce2c7 /drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
parent99ef60d119f3b2621067dd5fc1ea4a37360709e4 (diff)
parentbf9c95f3eeefb7fc4b4a6380cc23f1dca744e379 (diff)
Merge tag 'staging-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/stagingHEADmaster
Pull staging driver updates from Greg KH: "Here is the "big" set of staging driver changes for 7.1-rc1. Nothing major in here at all, just lots of little cleanups for the staging drivers, driven by new developers getting their feet wet in kernel development. "Largest" thing in here is the change of some of the octeon variable types into proper kernel ones. Full details are in the shortlog. All of these have been in linux-next for a while with no reported issues" * tag 'staging-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (154 commits) staging: rtl8723bs: remove redundant & parentheses staging: most: dim2: replace BUG_ON() in poison_channel() staging: most: dim2: replace BUG_ON() in enqueue() staging: most: dim2: replace BUG_ON() in configure_channel() staging: most: dim2: replace BUG_ON() in service_done_flag() staging: most: dim2: replace BUG_ON() in try_start_dim_transfer() staging: rtl8723bs: remove unused RTL8188E antenna selection macros staging: rtl8723bs: remove redundant blank lines in basic_types.h staging: rtl8723bs: wrap complex macros with parentheses staging: rtl8723bs: remove unused WRITEEF/READEF byte macros staging: rtl8723bs: rename camelCase variable staging: greybus: audio: fix error message for BTN_3 button staging: rtl8723bs: rename variables to snake_case staging: rtl8723bs: fix spelling in comment staging: rtl8723bs: cleanup return in sdio_init() staging: rtl8723bs: use direct returns in sdio_dvobj_init() staging: rtl8723bs: remove unused arg at odm_interface.h greybus: raw: fix use-after-free if write is called after disconnect greybus: raw: fix use-after-free on cdev close staging: rtl8723bs: fix logical continuations in xmit_linux.c ...
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;
};