mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 21:44:23 -04:00
Staging: rtl8723bs: fix names in wifi.h
This commit converts names of structs / enums in include/wifi.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210317222130.29528-18-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
35f25566a9
commit
07e80bb55a
@@ -230,9 +230,9 @@ struct wifidirect_info {
|
||||
struct group_id_info groupid_info; /* Store the group id information when doing the group negotiation handshake. */
|
||||
struct scan_limit_info rx_invitereq_info; /* Used for get the limit scan channel from the Invitation procedure */
|
||||
struct scan_limit_info p2p_info; /* Used for get the limit scan channel from the P2P negotiation handshake */
|
||||
enum P2P_ROLE role;
|
||||
enum P2P_STATE pre_p2p_state;
|
||||
enum P2P_STATE p2p_state;
|
||||
enum p2p_role role;
|
||||
enum p2p_state pre_p2p_state;
|
||||
enum p2p_state p2p_state;
|
||||
u8 device_addr[ETH_ALEN]; /* The device address should be the mac address of this device. */
|
||||
u8 interface_addr[ETH_ALEN];
|
||||
u8 social_chan[4];
|
||||
@@ -275,7 +275,7 @@ struct wifidirect_info {
|
||||
/* In this case, the driver can issue the tdls setup request frame */
|
||||
/* even the current security is weak security. */
|
||||
|
||||
enum P2P_WPSINFO ui_got_wps_info; /* This field will store the WPS value (PIN value or PBC) that UI had got from the user. */
|
||||
enum p2p_wpsinfo ui_got_wps_info; /* This field will store the WPS value (PIN value or PBC) that UI had got from the user. */
|
||||
u16 supported_wps_cm; /* This field describes the WPS config method which this driver supported. */
|
||||
/* The value should be the combination of config method defined in page104 of WPS v2.0 spec. */
|
||||
u8 external_uuid; /* UUID flag */
|
||||
|
||||
@@ -43,14 +43,14 @@
|
||||
/* This test verifies the WLAN NIC can update the NAV through sending the CTS with large duration. */
|
||||
#define WiFiNavUpperUs 30000 /* 30 ms */
|
||||
|
||||
enum WIFI_FRAME_TYPE {
|
||||
enum wifi_frame_type {
|
||||
WIFI_MGT_TYPE = (0),
|
||||
WIFI_CTRL_TYPE = (BIT(2)),
|
||||
WIFI_DATA_TYPE = (BIT(3)),
|
||||
WIFI_QOS_DATA_TYPE = (BIT(7)|BIT(3)), /* QoS Data */
|
||||
};
|
||||
|
||||
enum WIFI_FRAME_SUBTYPE {
|
||||
enum wifi_frame_subtype {
|
||||
|
||||
/* below is for mgt frame */
|
||||
WIFI_ASSOCREQ = (0 | WIFI_MGT_TYPE),
|
||||
@@ -88,7 +88,7 @@ enum WIFI_FRAME_SUBTYPE {
|
||||
WIFI_QOS_DATA_NULL = (BIT(6) | WIFI_QOS_DATA_TYPE),
|
||||
};
|
||||
|
||||
enum WIFI_REG_DOMAIN {
|
||||
enum wifi_reg_domain {
|
||||
DOMAIN_FCC = 1,
|
||||
DOMAIN_IC = 2,
|
||||
DOMAIN_ETSI = 3,
|
||||
@@ -751,14 +751,14 @@ struct ADDBA_request {
|
||||
#define WPS_CM_SW_DISPLAY_PIN 0x2008
|
||||
#define WPS_CM_LCD_DISPLAY_PIN 0x4008
|
||||
|
||||
enum P2P_ROLE {
|
||||
enum p2p_role {
|
||||
P2P_ROLE_DISABLE = 0,
|
||||
P2P_ROLE_DEVICE = 1,
|
||||
P2P_ROLE_CLIENT = 2,
|
||||
P2P_ROLE_GO = 3
|
||||
};
|
||||
|
||||
enum P2P_STATE {
|
||||
enum p2p_state {
|
||||
P2P_STATE_NONE = 0, /* P2P disable */
|
||||
P2P_STATE_IDLE = 1, /* P2P had enabled and do nothing */
|
||||
P2P_STATE_LISTEN = 2, /* In pure listen state */
|
||||
@@ -784,7 +784,7 @@ enum P2P_STATE {
|
||||
P2P_STATE_TX_INFOR_NOREADY = 22, /* sending p2p negotiation response with information is not available */
|
||||
};
|
||||
|
||||
enum P2P_WPSINFO {
|
||||
enum p2p_wpsinfo {
|
||||
P2P_NO_WPSINFO = 0,
|
||||
P2P_GOT_WPSINFO_PEER_DISPLAY_PIN = 1,
|
||||
P2P_GOT_WPSINFO_SELF_DISPLAY_PIN = 2,
|
||||
@@ -793,7 +793,7 @@ enum P2P_WPSINFO {
|
||||
|
||||
#define P2P_PRIVATE_IOCTL_SET_LEN 64
|
||||
|
||||
enum P2P_PROTO_WK_ID {
|
||||
enum p2p_proto_wk_id {
|
||||
P2P_FIND_PHASE_WK = 0,
|
||||
P2P_RESTORE_STATE_WK = 1,
|
||||
P2P_PRE_TX_PROVDISC_PROCESS_WK = 2,
|
||||
|
||||
Reference in New Issue
Block a user