staging: rtl8723bs: include: Fix misspelled words in comments
Correct misspelled words in comments of several files. Issue (largely) detected by checkpatch.pl. Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Link: https://lore.kernel.org/r/20210411110458.15955-3-fmdefrancesco@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
90b69822a5
commit
97f136ec59
|
@ -34,7 +34,7 @@
|
|||
/*--------------------------Define Parameters-------------------------------*/
|
||||
|
||||
/* */
|
||||
/* 8192S Regsiter offset definition */
|
||||
/* 8192S Register offset definition */
|
||||
/* */
|
||||
|
||||
/* */
|
||||
|
@ -43,7 +43,7 @@
|
|||
/* 2. 0x800/0x900/0xA00/0xC00/0xD00/0xE00 */
|
||||
/* 3. RF register 0x00-2E */
|
||||
/* 4. Bit Mask for BB/RF register */
|
||||
/* 5. Other defintion for BB/RF R/W */
|
||||
/* 5. Other definition for BB/RF R/W */
|
||||
/* */
|
||||
|
||||
|
||||
|
@ -137,7 +137,7 @@
|
|||
#define rFPGA0_AnalogParameter3 0x888 /* Useless now */
|
||||
#define rFPGA0_AnalogParameter4 0x88c
|
||||
|
||||
#define rFPGA0_XA_LSSIReadBack 0x8a0 /* Tranceiver LSSI Readback */
|
||||
#define rFPGA0_XA_LSSIReadBack 0x8a0 /* Transceiver LSSI Readback */
|
||||
#define rFPGA0_XB_LSSIReadBack 0x8a4
|
||||
#define rFPGA0_XC_LSSIReadBack 0x8a8
|
||||
#define rFPGA0_XD_LSSIReadBack 0x8ac
|
||||
|
@ -206,7 +206,7 @@
|
|||
#define rOFDM0_TRSWIsolation 0xc0c
|
||||
|
||||
#define rOFDM0_XARxAFE 0xc10 /* RxIQ DC offset, Rx digital filter, DC notch filter */
|
||||
#define rOFDM0_XARxIQImbalance 0xc14 /* RxIQ imblance matrix */
|
||||
#define rOFDM0_XARxIQImbalance 0xc14 /* RxIQ imbalance matrix */
|
||||
#define rOFDM0_XBRxAFE 0xc18
|
||||
#define rOFDM0_XBRxIQImbalance 0xc1c
|
||||
#define rOFDM0_XCRxAFE 0xc20
|
||||
|
|
|
@ -187,7 +187,7 @@
|
|||
); \
|
||||
}
|
||||
|
||||
/* Get the N-bytes aligment offset from the current length */
|
||||
/* Get the N-bytes alignent offset from the current length */
|
||||
#define N_BYTE_ALIGMENT(__Value, __Aligment) ((__Aligment == 1) ? (__Value) : (((__Value + __Aligment - 1) / __Aligment) * __Aligment))
|
||||
|
||||
#define TEST_FLAG(__Flag, __testFlag) (((__Flag) & (__testFlag)) != 0)
|
||||
|
|
|
@ -424,7 +424,7 @@ struct adapter {
|
|||
/* The driver will show up the desired channel number when this flag is 1. */
|
||||
u8 bNotifyChannelChange;
|
||||
|
||||
/* pbuddystruct adapter is used only in two inteface case, (iface_nums =2 in struct dvobj_priv) */
|
||||
/* pbuddystruct adapter is used only in two interface case, (iface_nums =2 in struct dvobj_priv) */
|
||||
/* PRIMARY ADAPTER's buddy is SECONDARY_ADAPTER */
|
||||
/* SECONDARY_ADAPTER's buddy is PRIMARY_ADAPTER */
|
||||
/* for iface_id > SECONDARY_ADAPTER(IFACE_ID1), refer to padapters[iface_id] in struct dvobj_priv */
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
(rate == DESC_RATEVHTSS2MCS6) ? "VHTSS2MCS6" : \
|
||||
(rate == DESC_RATEVHTSS2MCS7) ? "VHTSS2MCS7" : \
|
||||
(rate == DESC_RATEVHTSS2MCS8) ? "VHTSS2MCS8" : \
|
||||
(rate == DESC_RATEVHTSS2MCS9) ? "VHTSS2MCS9" : "UNKNOW"
|
||||
(rate == DESC_RATEVHTSS2MCS9) ? "VHTSS2MCS9" : "UNKNOWN"
|
||||
|
||||
|
||||
enum{
|
||||
|
|
|
@ -768,14 +768,14 @@ Default: 00b.
|
|||
#define IMR_BCNDMAINT3 BIT28 /* Beacon DMA Interrupt 3 */
|
||||
#define IMR_BCNDMAINT2 BIT27 /* Beacon DMA Interrupt 2 */
|
||||
#define IMR_BCNDMAINT1 BIT26 /* Beacon DMA Interrupt 1 */
|
||||
#define IMR_BCNDOK8 BIT25 /* Beacon Queue DMA OK Interrup 8 */
|
||||
#define IMR_BCNDOK7 BIT24 /* Beacon Queue DMA OK Interrup 7 */
|
||||
#define IMR_BCNDOK6 BIT23 /* Beacon Queue DMA OK Interrup 6 */
|
||||
#define IMR_BCNDOK5 BIT22 /* Beacon Queue DMA OK Interrup 5 */
|
||||
#define IMR_BCNDOK4 BIT21 /* Beacon Queue DMA OK Interrup 4 */
|
||||
#define IMR_BCNDOK3 BIT20 /* Beacon Queue DMA OK Interrup 3 */
|
||||
#define IMR_BCNDOK2 BIT19 /* Beacon Queue DMA OK Interrup 2 */
|
||||
#define IMR_BCNDOK1 BIT18 /* Beacon Queue DMA OK Interrup 1 */
|
||||
#define IMR_BCNDOK8 BIT25 /* Beacon Queue DMA OK Interrupt 8 */
|
||||
#define IMR_BCNDOK7 BIT24 /* Beacon Queue DMA OK Interrupt 7 */
|
||||
#define IMR_BCNDOK6 BIT23 /* Beacon Queue DMA OK Interrupt 6 */
|
||||
#define IMR_BCNDOK5 BIT22 /* Beacon Queue DMA OK Interrupt 5 */
|
||||
#define IMR_BCNDOK4 BIT21 /* Beacon Queue DMA OK Interrupt 4 */
|
||||
#define IMR_BCNDOK3 BIT20 /* Beacon Queue DMA OK Interrupt 3 */
|
||||
#define IMR_BCNDOK2 BIT19 /* Beacon Queue DMA OK Interrupt 2 */
|
||||
#define IMR_BCNDOK1 BIT18 /* Beacon Queue DMA OK Interrupt 1 */
|
||||
#define IMR_TIMEOUT2 BIT17 /* Timeout interrupt 2 */
|
||||
#define IMR_TIMEOUT1 BIT16 /* Timeout interrupt 1 */
|
||||
#define IMR_TXFOVW BIT15 /* Transmit FIFO Overflow */
|
||||
|
@ -784,9 +784,9 @@ Default: 00b.
|
|||
#define IMR_RXFOVW BIT12 /* Receive FIFO Overflow */
|
||||
#define IMR_RDU BIT11 /* Receive Descriptor Unavailable */
|
||||
#define IMR_ATIMEND BIT10 /* For 92C, ATIM Window End Interrupt. For 8723 and later ICs, it also means P2P CTWin End interrupt. */
|
||||
#define IMR_BDOK BIT9 /* Beacon Queue DMA OK Interrup */
|
||||
#define IMR_BDOK BIT9 /* Beacon Queue DMA OK Interrupt */
|
||||
#define IMR_HIGHDOK BIT8 /* High Queue DMA OK Interrupt */
|
||||
#define IMR_TBDOK BIT7 /* Transmit Beacon OK interrup */
|
||||
#define IMR_TBDOK BIT7 /* Transmit Beacon OK interrupt */
|
||||
#define IMR_MGNTDOK BIT6 /* Management Queue DMA OK Interrupt */
|
||||
#define IMR_TBDER BIT5 /* For 92C, Transmit Beacon Error Interrupt */
|
||||
#define IMR_BKDOK BIT4 /* AC_BK DMA OK Interrupt */
|
||||
|
@ -956,13 +956,13 @@ Default: 00b.
|
|||
#define IMR_BCNDMAINT3_88E BIT23 /* Beacon DMA Interrupt 3 */
|
||||
#define IMR_BCNDMAINT2_88E BIT22 /* Beacon DMA Interrupt 2 */
|
||||
#define IMR_BCNDMAINT1_88E BIT21 /* Beacon DMA Interrupt 1 */
|
||||
#define IMR_BCNDOK7_88E BIT20 /* Beacon Queue DMA OK Interrup 7 */
|
||||
#define IMR_BCNDOK6_88E BIT19 /* Beacon Queue DMA OK Interrup 6 */
|
||||
#define IMR_BCNDOK5_88E BIT18 /* Beacon Queue DMA OK Interrup 5 */
|
||||
#define IMR_BCNDOK4_88E BIT17 /* Beacon Queue DMA OK Interrup 4 */
|
||||
#define IMR_BCNDOK3_88E BIT16 /* Beacon Queue DMA OK Interrup 3 */
|
||||
#define IMR_BCNDOK2_88E BIT15 /* Beacon Queue DMA OK Interrup 2 */
|
||||
#define IMR_BCNDOK1_88E BIT14 /* Beacon Queue DMA OK Interrup 1 */
|
||||
#define IMR_BCNDOK7_88E BIT20 /* Beacon Queue DMA OK Interrupt 7 */
|
||||
#define IMR_BCNDOK6_88E BIT19 /* Beacon Queue DMA OK Interrupt 6 */
|
||||
#define IMR_BCNDOK5_88E BIT18 /* Beacon Queue DMA OK Interrupt 5 */
|
||||
#define IMR_BCNDOK4_88E BIT17 /* Beacon Queue DMA OK Interrupt 4 */
|
||||
#define IMR_BCNDOK3_88E BIT16 /* Beacon Queue DMA OK Interrupt 3 */
|
||||
#define IMR_BCNDOK2_88E BIT15 /* Beacon Queue DMA OK Interrupt 2 */
|
||||
#define IMR_BCNDOK1_88E BIT14 /* Beacon Queue DMA OK Interrupt 1 */
|
||||
#define IMR_ATIMEND_E_88E BIT13 /* ATIM Window End Extension for Win7 */
|
||||
#define IMR_TXERR_88E BIT11 /* Tx Error Flag Interrupt Status, write 1 clear. */
|
||||
#define IMR_RXERR_88E BIT10 /* Rx Error Flag INT Status, Write 1 clear */
|
||||
|
|
|
@ -389,7 +389,7 @@ struct hal_com_data {
|
|||
u8 OutEpQueueSel;
|
||||
u8 OutEpNumber;
|
||||
|
||||
/* 2010/12/10 MH Add for USB aggreation mode dynamic shceme. */
|
||||
/* 2010/12/10 MH Add for USB aggregation mode dynamic scheme. */
|
||||
bool UsbRxHighSpeedMode;
|
||||
|
||||
/* 2010/11/22 MH Add for slim combo debug mode selective. */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
4: LPS--Low Power State
|
||||
5: SUS--Suspend
|
||||
|
||||
The transision from different states are defined below
|
||||
The transition from different states are defined below
|
||||
TRANS_CARDEMU_TO_ACT
|
||||
TRANS_ACT_TO_CARDEMU
|
||||
TRANS_CARDEMU_TO_SUS
|
||||
|
|
|
@ -136,7 +136,7 @@ enum {
|
|||
RESET_SECURITYPRIV, /* add for CONFIG_IEEE80211W, none 11w also can use */
|
||||
FREE_ASSOC_RESOURCES, /* add for CONFIG_IEEE80211W, none 11w also can use */
|
||||
DM_IN_LPS_WK_CID,
|
||||
DM_RA_MSK_WK_CID, /* add for STA update RAMask when bandwith change. */
|
||||
DM_RA_MSK_WK_CID, /* add for STA update RAMask when bandwidth change. */
|
||||
BEAMFORMING_WK_CID,
|
||||
LPS_CHANGE_DTIM_CID,
|
||||
BTINFO_WK_CID,
|
||||
|
@ -514,7 +514,7 @@ struct drvextra_cmd_parm {
|
|||
unsigned char *pbuf;
|
||||
};
|
||||
|
||||
/*------------------- Below are used for RF/BB tunning ---------------------*/
|
||||
/*------------------- Below are used for RF/BB tuning ---------------------*/
|
||||
|
||||
struct getcountjudge_rsp {
|
||||
u8 count_judge[MAX_RATES_LENGTH];
|
||||
|
@ -567,7 +567,7 @@ struct RunInThread_param {
|
|||
|
||||
Result:
|
||||
0x00: success
|
||||
0x01: sucess, and check Response.
|
||||
0x01: success, and check Response.
|
||||
0x02: cmd ignored due to duplicated sequcne number
|
||||
0x03: cmd dropped due to invalid cmd code
|
||||
0x04: reserved.
|
||||
|
|
|
@ -57,11 +57,11 @@
|
|||
|
||||
/* ifdef UNDER_MPTEST */
|
||||
#define WIFI_MP_STATE 0x00010000
|
||||
#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continous tx background */
|
||||
#define WIFI_MP_CTX_ST 0x00040000 /* in continous tx with single-tone */
|
||||
#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continous tx background due to out of skb */
|
||||
#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continous tx */
|
||||
#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continous tx with carrier suppression */
|
||||
#define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continuous tx background */
|
||||
#define WIFI_MP_CTX_ST 0x00040000 /* in continuous tx with single-tone */
|
||||
#define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continuous tx background due to out of skb */
|
||||
#define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continuous tx */
|
||||
#define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continuous tx with carrier suppression */
|
||||
#define WIFI_MP_LPBK_STATE 0x00400000
|
||||
/* endif */
|
||||
|
||||
|
@ -168,7 +168,7 @@ struct tx_provdisc_req_info {
|
|||
u8 benable; /* This provision discovery request frame is trigger to send or not */
|
||||
};
|
||||
|
||||
struct rx_provdisc_req_info { /* When peer device issue prov_disc_req first, we should store the following informations */
|
||||
struct rx_provdisc_req_info { /* When peer device issue prov_disc_req first, we should store the following information */
|
||||
u8 peerDevAddr[ETH_ALEN]; /* Peer device address */
|
||||
u8 strconfig_method_desc_of_prov_disc_req[4]; /* description for the config method located in the provisioning discovery request frame. */
|
||||
/* The UI must know this information to know which config method the remote p2p device is requiring. */
|
||||
|
@ -177,7 +177,7 @@ struct rx_provdisc_req_info { /* When peer device issue prov_disc_req first, we
|
|||
struct tx_nego_req_info {
|
||||
u16 peer_channel_num[2]; /* The channel number which the receiver stands. */
|
||||
u8 peerDevAddr[ETH_ALEN]; /* Peer device address */
|
||||
u8 benable; /* This negoitation request frame is trigger to send or not */
|
||||
u8 benable; /* This negotiation request frame is trigger to send or not */
|
||||
};
|
||||
|
||||
struct group_id_info {
|
||||
|
@ -228,9 +228,9 @@ struct wifidirect_info {
|
|||
u8 profileindex; /* Used to point to the index of profileinfo array */
|
||||
u8 peer_operating_ch;
|
||||
u8 find_phase_state_exchange_cnt;
|
||||
u16 device_password_id_for_nego; /* The device password ID for group negotation */
|
||||
u16 device_password_id_for_nego; /* The device password ID for group negotiation */
|
||||
u8 negotiation_dialog_token;
|
||||
u8 nego_ssid[WLAN_SSID_MAXLEN]; /* SSID information for group negotitation */
|
||||
u8 nego_ssid[WLAN_SSID_MAXLEN]; /* SSID information for group negotiation */
|
||||
u8 nego_ssidlen;
|
||||
u8 p2p_group_ssid[WLAN_SSID_MAXLEN];
|
||||
u8 p2p_group_ssid_len;
|
||||
|
|
|
@ -112,7 +112,7 @@ extern unsigned char WMM_PARA_OUI[];
|
|||
/* Note: */
|
||||
/* We just add new channel plan when the new channel plan is different from any of the following */
|
||||
/* channel plan. */
|
||||
/* If you just wnat to customize the acitions(scan period or join actions) about one of the channel plan, */
|
||||
/* If you just want to customize the actions(scan period or join actions) about one of the channel plan, */
|
||||
/* customize them in rt_channel_info in the RT_CHANNEL_LIST. */
|
||||
/* */
|
||||
enum {
|
||||
|
|
|
@ -101,7 +101,7 @@ struct mpt_context {
|
|||
/* For MP Tx Power index */
|
||||
u8 TxPwrLevel[2]; /* rf-A, rf-B */
|
||||
u32 RegTxPwrLimit;
|
||||
/* Content of RCR Regsiter for Mass Production Test. */
|
||||
/* Content of RCR Register for Mass Production Test. */
|
||||
u32 MptRCR;
|
||||
/* true if we only receive packets with specific pattern. */
|
||||
bool bMptFilterPattern;
|
||||
|
|
|
@ -112,7 +112,7 @@ enum rt_rf_power_state {
|
|||
#define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */
|
||||
#define RT_RF_OFF_LEVL_FW_32K BIT(5) /* FW in 32k */
|
||||
#define RT_RF_PS_LEVEL_ALWAYS_ASPM BIT(6) /* Always enable ASPM and Clock Req in initialization. */
|
||||
#define RT_RF_LPS_DISALBE_2R BIT(30) /* When LPS is on, disable 2R if no packet is received or transmittd. */
|
||||
#define RT_RF_LPS_DISALBE_2R BIT(30) /* When LPS is on, disable 2R if no packet is received or transmitted. */
|
||||
#define RT_RF_LPS_LEVEL_ASPM BIT(31) /* LPS with ASPM */
|
||||
|
||||
#define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false)
|
||||
|
|
|
@ -132,7 +132,7 @@ struct rx_pkt_attrib {
|
|||
u8 order;
|
||||
u8 privacy; /* in frame_ctrl field */
|
||||
u8 bdecrypted;
|
||||
u8 encrypt; /* when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith */
|
||||
u8 encrypt; /* when 0 indicates no encryption; when non-zero, indicates the encryption algorithm */
|
||||
u8 iv_len;
|
||||
u8 icv_len;
|
||||
u8 crc_err;
|
||||
|
@ -227,7 +227,7 @@ struct recv_priv {
|
|||
|
||||
struct __queue recv_buf_pending_queue;
|
||||
|
||||
/* For display the phy informatiom */
|
||||
/* For display the phy information */
|
||||
u8 is_signal_dbg; /* for debug */
|
||||
u8 signal_strength_dbg; /* for debug */
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ struct pkt_attrib {
|
|||
u32 pktlen; /* the original 802.3 pkt raw_data len (not include ether_hdr data) */
|
||||
u32 last_txcmdsz;
|
||||
u8 nr_frags;
|
||||
u8 encrypt; /* when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith */
|
||||
u8 encrypt; /* when 0 indicates no encryption; when non-zero, indicates the encryption algorithm */
|
||||
u8 iv_len;
|
||||
u8 icv_len;
|
||||
u8 iv[18];
|
||||
|
|
|
@ -329,7 +329,7 @@ struct sta_priv {
|
|||
*/
|
||||
struct sta_info *sta_aid[NUM_STA];
|
||||
|
||||
u16 sta_dz_bitmap;/* only support 15 stations, staion aid bitmap for sleeping sta. */
|
||||
u16 sta_dz_bitmap;/* only support for 15 stations, aid bitmap for sleeping stations. */
|
||||
u16 tim_bitmap;/* only support 15 stations, aid = 0~15 mapping bit0~bit15 */
|
||||
|
||||
u16 max_num_sta;
|
||||
|
|
|
@ -678,7 +678,7 @@ struct ADDBA_request {
|
|||
|
||||
#define P2P_PROVISION_TIMEOUT 5000 /* 5 seconds timeout for sending the provision discovery request */
|
||||
#define P2P_CONCURRENT_PROVISION_TIMEOUT 3000 /* 3 seconds timeout for sending the provision discovery request under concurrent mode */
|
||||
#define P2P_GO_NEGO_TIMEOUT 5000 /* 5 seconds timeout for receiving the group negotation response */
|
||||
#define P2P_GO_NEGO_TIMEOUT 5000 /* 5 seconds timeout for receiving the group negotiation response */
|
||||
#define P2P_CONCURRENT_GO_NEGO_TIMEOUT 3000 /* 3 seconds timeout for sending the negotiation request under concurrent mode */
|
||||
#define P2P_TX_PRESCAN_TIMEOUT 100 /* 100ms */
|
||||
#define P2P_INVITE_TIMEOUT 5000 /* 5 seconds timeout for sending the invitation request */
|
||||
|
|
Loading…
Reference in New Issue