Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabio M. De Francesco and committed by
Greg Kroah-Hartman
97f136ec 90b69822

+46 -46
+4 -4
drivers/staging/rtl8723bs/include/Hal8192CPhyReg.h
··· 34 34 /*--------------------------Define Parameters-------------------------------*/ 35 35 36 36 /* */ 37 - /* 8192S Regsiter offset definition */ 37 + /* 8192S Register offset definition */ 38 38 /* */ 39 39 40 40 /* */ ··· 43 43 /* 2. 0x800/0x900/0xA00/0xC00/0xD00/0xE00 */ 44 44 /* 3. RF register 0x00-2E */ 45 45 /* 4. Bit Mask for BB/RF register */ 46 - /* 5. Other defintion for BB/RF R/W */ 46 + /* 5. Other definition for BB/RF R/W */ 47 47 /* */ 48 48 49 49 ··· 137 137 #define rFPGA0_AnalogParameter3 0x888 /* Useless now */ 138 138 #define rFPGA0_AnalogParameter4 0x88c 139 139 140 - #define rFPGA0_XA_LSSIReadBack 0x8a0 /* Tranceiver LSSI Readback */ 140 + #define rFPGA0_XA_LSSIReadBack 0x8a0 /* Transceiver LSSI Readback */ 141 141 #define rFPGA0_XB_LSSIReadBack 0x8a4 142 142 #define rFPGA0_XC_LSSIReadBack 0x8a8 143 143 #define rFPGA0_XD_LSSIReadBack 0x8ac ··· 206 206 #define rOFDM0_TRSWIsolation 0xc0c 207 207 208 208 #define rOFDM0_XARxAFE 0xc10 /* RxIQ DC offset, Rx digital filter, DC notch filter */ 209 - #define rOFDM0_XARxIQImbalance 0xc14 /* RxIQ imblance matrix */ 209 + #define rOFDM0_XARxIQImbalance 0xc14 /* RxIQ imbalance matrix */ 210 210 #define rOFDM0_XBRxAFE 0xc18 211 211 #define rOFDM0_XBRxIQImbalance 0xc1c 212 212 #define rOFDM0_XCRxAFE 0xc20
+1 -1
drivers/staging/rtl8723bs/include/basic_types.h
··· 187 187 ); \ 188 188 } 189 189 190 - /* Get the N-bytes aligment offset from the current length */ 190 + /* Get the N-bytes alignent offset from the current length */ 191 191 #define N_BYTE_ALIGMENT(__Value, __Aligment) ((__Aligment == 1) ? (__Value) : (((__Value + __Aligment - 1) / __Aligment) * __Aligment)) 192 192 193 193 #define TEST_FLAG(__Flag, __testFlag) (((__Flag) & (__testFlag)) != 0)
+1 -1
drivers/staging/rtl8723bs/include/drv_types.h
··· 424 424 /* The driver will show up the desired channel number when this flag is 1. */ 425 425 u8 bNotifyChannelChange; 426 426 427 - /* pbuddystruct adapter is used only in two inteface case, (iface_nums =2 in struct dvobj_priv) */ 427 + /* pbuddystruct adapter is used only in two interface case, (iface_nums =2 in struct dvobj_priv) */ 428 428 /* PRIMARY ADAPTER's buddy is SECONDARY_ADAPTER */ 429 429 /* SECONDARY_ADAPTER's buddy is PRIMARY_ADAPTER */ 430 430 /* for iface_id > SECONDARY_ADAPTER(IFACE_ID1), refer to padapters[iface_id] in struct dvobj_priv */
+1 -1
drivers/staging/rtl8723bs/include/hal_com.h
··· 158 158 (rate == DESC_RATEVHTSS2MCS6) ? "VHTSS2MCS6" : \ 159 159 (rate == DESC_RATEVHTSS2MCS7) ? "VHTSS2MCS7" : \ 160 160 (rate == DESC_RATEVHTSS2MCS8) ? "VHTSS2MCS8" : \ 161 - (rate == DESC_RATEVHTSS2MCS9) ? "VHTSS2MCS9" : "UNKNOW" 161 + (rate == DESC_RATEVHTSS2MCS9) ? "VHTSS2MCS9" : "UNKNOWN" 162 162 163 163 164 164 enum{
+17 -17
drivers/staging/rtl8723bs/include/hal_com_reg.h
··· 768 768 #define IMR_BCNDMAINT3 BIT28 /* Beacon DMA Interrupt 3 */ 769 769 #define IMR_BCNDMAINT2 BIT27 /* Beacon DMA Interrupt 2 */ 770 770 #define IMR_BCNDMAINT1 BIT26 /* Beacon DMA Interrupt 1 */ 771 - #define IMR_BCNDOK8 BIT25 /* Beacon Queue DMA OK Interrup 8 */ 772 - #define IMR_BCNDOK7 BIT24 /* Beacon Queue DMA OK Interrup 7 */ 773 - #define IMR_BCNDOK6 BIT23 /* Beacon Queue DMA OK Interrup 6 */ 774 - #define IMR_BCNDOK5 BIT22 /* Beacon Queue DMA OK Interrup 5 */ 775 - #define IMR_BCNDOK4 BIT21 /* Beacon Queue DMA OK Interrup 4 */ 776 - #define IMR_BCNDOK3 BIT20 /* Beacon Queue DMA OK Interrup 3 */ 777 - #define IMR_BCNDOK2 BIT19 /* Beacon Queue DMA OK Interrup 2 */ 778 - #define IMR_BCNDOK1 BIT18 /* Beacon Queue DMA OK Interrup 1 */ 771 + #define IMR_BCNDOK8 BIT25 /* Beacon Queue DMA OK Interrupt 8 */ 772 + #define IMR_BCNDOK7 BIT24 /* Beacon Queue DMA OK Interrupt 7 */ 773 + #define IMR_BCNDOK6 BIT23 /* Beacon Queue DMA OK Interrupt 6 */ 774 + #define IMR_BCNDOK5 BIT22 /* Beacon Queue DMA OK Interrupt 5 */ 775 + #define IMR_BCNDOK4 BIT21 /* Beacon Queue DMA OK Interrupt 4 */ 776 + #define IMR_BCNDOK3 BIT20 /* Beacon Queue DMA OK Interrupt 3 */ 777 + #define IMR_BCNDOK2 BIT19 /* Beacon Queue DMA OK Interrupt 2 */ 778 + #define IMR_BCNDOK1 BIT18 /* Beacon Queue DMA OK Interrupt 1 */ 779 779 #define IMR_TIMEOUT2 BIT17 /* Timeout interrupt 2 */ 780 780 #define IMR_TIMEOUT1 BIT16 /* Timeout interrupt 1 */ 781 781 #define IMR_TXFOVW BIT15 /* Transmit FIFO Overflow */ ··· 784 784 #define IMR_RXFOVW BIT12 /* Receive FIFO Overflow */ 785 785 #define IMR_RDU BIT11 /* Receive Descriptor Unavailable */ 786 786 #define IMR_ATIMEND BIT10 /* For 92C, ATIM Window End Interrupt. For 8723 and later ICs, it also means P2P CTWin End interrupt. */ 787 - #define IMR_BDOK BIT9 /* Beacon Queue DMA OK Interrup */ 787 + #define IMR_BDOK BIT9 /* Beacon Queue DMA OK Interrupt */ 788 788 #define IMR_HIGHDOK BIT8 /* High Queue DMA OK Interrupt */ 789 - #define IMR_TBDOK BIT7 /* Transmit Beacon OK interrup */ 789 + #define IMR_TBDOK BIT7 /* Transmit Beacon OK interrupt */ 790 790 #define IMR_MGNTDOK BIT6 /* Management Queue DMA OK Interrupt */ 791 791 #define IMR_TBDER BIT5 /* For 92C, Transmit Beacon Error Interrupt */ 792 792 #define IMR_BKDOK BIT4 /* AC_BK DMA OK Interrupt */ ··· 956 956 #define IMR_BCNDMAINT3_88E BIT23 /* Beacon DMA Interrupt 3 */ 957 957 #define IMR_BCNDMAINT2_88E BIT22 /* Beacon DMA Interrupt 2 */ 958 958 #define IMR_BCNDMAINT1_88E BIT21 /* Beacon DMA Interrupt 1 */ 959 - #define IMR_BCNDOK7_88E BIT20 /* Beacon Queue DMA OK Interrup 7 */ 960 - #define IMR_BCNDOK6_88E BIT19 /* Beacon Queue DMA OK Interrup 6 */ 961 - #define IMR_BCNDOK5_88E BIT18 /* Beacon Queue DMA OK Interrup 5 */ 962 - #define IMR_BCNDOK4_88E BIT17 /* Beacon Queue DMA OK Interrup 4 */ 963 - #define IMR_BCNDOK3_88E BIT16 /* Beacon Queue DMA OK Interrup 3 */ 964 - #define IMR_BCNDOK2_88E BIT15 /* Beacon Queue DMA OK Interrup 2 */ 965 - #define IMR_BCNDOK1_88E BIT14 /* Beacon Queue DMA OK Interrup 1 */ 959 + #define IMR_BCNDOK7_88E BIT20 /* Beacon Queue DMA OK Interrupt 7 */ 960 + #define IMR_BCNDOK6_88E BIT19 /* Beacon Queue DMA OK Interrupt 6 */ 961 + #define IMR_BCNDOK5_88E BIT18 /* Beacon Queue DMA OK Interrupt 5 */ 962 + #define IMR_BCNDOK4_88E BIT17 /* Beacon Queue DMA OK Interrupt 4 */ 963 + #define IMR_BCNDOK3_88E BIT16 /* Beacon Queue DMA OK Interrupt 3 */ 964 + #define IMR_BCNDOK2_88E BIT15 /* Beacon Queue DMA OK Interrupt 2 */ 965 + #define IMR_BCNDOK1_88E BIT14 /* Beacon Queue DMA OK Interrupt 1 */ 966 966 #define IMR_ATIMEND_E_88E BIT13 /* ATIM Window End Extension for Win7 */ 967 967 #define IMR_TXERR_88E BIT11 /* Tx Error Flag Interrupt Status, write 1 clear. */ 968 968 #define IMR_RXERR_88E BIT10 /* Rx Error Flag INT Status, Write 1 clear */
+1 -1
drivers/staging/rtl8723bs/include/hal_data.h
··· 389 389 u8 OutEpQueueSel; 390 390 u8 OutEpNumber; 391 391 392 - /* 2010/12/10 MH Add for USB aggreation mode dynamic shceme. */ 392 + /* 2010/12/10 MH Add for USB aggregation mode dynamic scheme. */ 393 393 bool UsbRxHighSpeedMode; 394 394 395 395 /* 2010/11/22 MH Add for slim combo debug mode selective. */
+1 -1
drivers/staging/rtl8723bs/include/hal_pwr_seq.h
··· 14 14 4: LPS--Low Power State 15 15 5: SUS--Suspend 16 16 17 - The transision from different states are defined below 17 + The transition from different states are defined below 18 18 TRANS_CARDEMU_TO_ACT 19 19 TRANS_ACT_TO_CARDEMU 20 20 TRANS_CARDEMU_TO_SUS
+3 -3
drivers/staging/rtl8723bs/include/rtw_cmd.h
··· 136 136 RESET_SECURITYPRIV, /* add for CONFIG_IEEE80211W, none 11w also can use */ 137 137 FREE_ASSOC_RESOURCES, /* add for CONFIG_IEEE80211W, none 11w also can use */ 138 138 DM_IN_LPS_WK_CID, 139 - DM_RA_MSK_WK_CID, /* add for STA update RAMask when bandwith change. */ 139 + DM_RA_MSK_WK_CID, /* add for STA update RAMask when bandwidth change. */ 140 140 BEAMFORMING_WK_CID, 141 141 LPS_CHANGE_DTIM_CID, 142 142 BTINFO_WK_CID, ··· 514 514 unsigned char *pbuf; 515 515 }; 516 516 517 - /*------------------- Below are used for RF/BB tunning ---------------------*/ 517 + /*------------------- Below are used for RF/BB tuning ---------------------*/ 518 518 519 519 struct getcountjudge_rsp { 520 520 u8 count_judge[MAX_RATES_LENGTH]; ··· 567 567 568 568 Result: 569 569 0x00: success 570 - 0x01: sucess, and check Response. 570 + 0x01: success, and check Response. 571 571 0x02: cmd ignored due to duplicated sequcne number 572 572 0x03: cmd dropped due to invalid cmd code 573 573 0x04: reserved.
+9 -9
drivers/staging/rtl8723bs/include/rtw_mlme.h
··· 57 57 58 58 /* ifdef UNDER_MPTEST */ 59 59 #define WIFI_MP_STATE 0x00010000 60 - #define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continous tx background */ 61 - #define WIFI_MP_CTX_ST 0x00040000 /* in continous tx with single-tone */ 62 - #define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continous tx background due to out of skb */ 63 - #define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continous tx */ 64 - #define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continous tx with carrier suppression */ 60 + #define WIFI_MP_CTX_BACKGROUND 0x00020000 /* in continuous tx background */ 61 + #define WIFI_MP_CTX_ST 0x00040000 /* in continuous tx with single-tone */ 62 + #define WIFI_MP_CTX_BACKGROUND_PENDING 0x00080000 /* pending in continuous tx background due to out of skb */ 63 + #define WIFI_MP_CTX_CCK_HW 0x00100000 /* in continuous tx */ 64 + #define WIFI_MP_CTX_CCK_CS 0x00200000 /* in continuous tx with carrier suppression */ 65 65 #define WIFI_MP_LPBK_STATE 0x00400000 66 66 /* endif */ 67 67 ··· 168 168 u8 benable; /* This provision discovery request frame is trigger to send or not */ 169 169 }; 170 170 171 - struct rx_provdisc_req_info { /* When peer device issue prov_disc_req first, we should store the following informations */ 171 + struct rx_provdisc_req_info { /* When peer device issue prov_disc_req first, we should store the following information */ 172 172 u8 peerDevAddr[ETH_ALEN]; /* Peer device address */ 173 173 u8 strconfig_method_desc_of_prov_disc_req[4]; /* description for the config method located in the provisioning discovery request frame. */ 174 174 /* The UI must know this information to know which config method the remote p2p device is requiring. */ ··· 177 177 struct tx_nego_req_info { 178 178 u16 peer_channel_num[2]; /* The channel number which the receiver stands. */ 179 179 u8 peerDevAddr[ETH_ALEN]; /* Peer device address */ 180 - u8 benable; /* This negoitation request frame is trigger to send or not */ 180 + u8 benable; /* This negotiation request frame is trigger to send or not */ 181 181 }; 182 182 183 183 struct group_id_info { ··· 228 228 u8 profileindex; /* Used to point to the index of profileinfo array */ 229 229 u8 peer_operating_ch; 230 230 u8 find_phase_state_exchange_cnt; 231 - u16 device_password_id_for_nego; /* The device password ID for group negotation */ 231 + u16 device_password_id_for_nego; /* The device password ID for group negotiation */ 232 232 u8 negotiation_dialog_token; 233 - u8 nego_ssid[WLAN_SSID_MAXLEN]; /* SSID information for group negotitation */ 233 + u8 nego_ssid[WLAN_SSID_MAXLEN]; /* SSID information for group negotiation */ 234 234 u8 nego_ssidlen; 235 235 u8 p2p_group_ssid[WLAN_SSID_MAXLEN]; 236 236 u8 p2p_group_ssid_len;
+1 -1
drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
··· 112 112 /* Note: */ 113 113 /* We just add new channel plan when the new channel plan is different from any of the following */ 114 114 /* channel plan. */ 115 - /* If you just wnat to customize the acitions(scan period or join actions) about one of the channel plan, */ 115 + /* If you just want to customize the actions(scan period or join actions) about one of the channel plan, */ 116 116 /* customize them in rt_channel_info in the RT_CHANNEL_LIST. */ 117 117 /* */ 118 118 enum {
+1 -1
drivers/staging/rtl8723bs/include/rtw_mp.h
··· 101 101 /* For MP Tx Power index */ 102 102 u8 TxPwrLevel[2]; /* rf-A, rf-B */ 103 103 u32 RegTxPwrLimit; 104 - /* Content of RCR Regsiter for Mass Production Test. */ 104 + /* Content of RCR Register for Mass Production Test. */ 105 105 u32 MptRCR; 106 106 /* true if we only receive packets with specific pattern. */ 107 107 bool bMptFilterPattern;
+1 -1
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
··· 112 112 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */ 113 113 #define RT_RF_OFF_LEVL_FW_32K BIT(5) /* FW in 32k */ 114 114 #define RT_RF_PS_LEVEL_ALWAYS_ASPM BIT(6) /* Always enable ASPM and Clock Req in initialization. */ 115 - #define RT_RF_LPS_DISALBE_2R BIT(30) /* When LPS is on, disable 2R if no packet is received or transmittd. */ 115 + #define RT_RF_LPS_DISALBE_2R BIT(30) /* When LPS is on, disable 2R if no packet is received or transmitted. */ 116 116 #define RT_RF_LPS_LEVEL_ASPM BIT(31) /* LPS with ASPM */ 117 117 118 118 #define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false)
+2 -2
drivers/staging/rtl8723bs/include/rtw_recv.h
··· 132 132 u8 order; 133 133 u8 privacy; /* in frame_ctrl field */ 134 134 u8 bdecrypted; 135 - u8 encrypt; /* when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith */ 135 + u8 encrypt; /* when 0 indicates no encryption; when non-zero, indicates the encryption algorithm */ 136 136 u8 iv_len; 137 137 u8 icv_len; 138 138 u8 crc_err; ··· 227 227 228 228 struct __queue recv_buf_pending_queue; 229 229 230 - /* For display the phy informatiom */ 230 + /* For display the phy information */ 231 231 u8 is_signal_dbg; /* for debug */ 232 232 u8 signal_strength_dbg; /* for debug */ 233 233
+1 -1
drivers/staging/rtl8723bs/include/rtw_xmit.h
··· 142 142 u32 pktlen; /* the original 802.3 pkt raw_data len (not include ether_hdr data) */ 143 143 u32 last_txcmdsz; 144 144 u8 nr_frags; 145 - u8 encrypt; /* when 0 indicate no encrypt. when non-zero, indicate the encrypt algorith */ 145 + u8 encrypt; /* when 0 indicates no encryption; when non-zero, indicates the encryption algorithm */ 146 146 u8 iv_len; 147 147 u8 icv_len; 148 148 u8 iv[18];
+1 -1
drivers/staging/rtl8723bs/include/sta_info.h
··· 329 329 */ 330 330 struct sta_info *sta_aid[NUM_STA]; 331 331 332 - u16 sta_dz_bitmap;/* only support 15 stations, staion aid bitmap for sleeping sta. */ 332 + u16 sta_dz_bitmap;/* only support for 15 stations, aid bitmap for sleeping stations. */ 333 333 u16 tim_bitmap;/* only support 15 stations, aid = 0~15 mapping bit0~bit15 */ 334 334 335 335 u16 max_num_sta;
+1 -1
drivers/staging/rtl8723bs/include/wifi.h
··· 678 678 679 679 #define P2P_PROVISION_TIMEOUT 5000 /* 5 seconds timeout for sending the provision discovery request */ 680 680 #define P2P_CONCURRENT_PROVISION_TIMEOUT 3000 /* 3 seconds timeout for sending the provision discovery request under concurrent mode */ 681 - #define P2P_GO_NEGO_TIMEOUT 5000 /* 5 seconds timeout for receiving the group negotation response */ 681 + #define P2P_GO_NEGO_TIMEOUT 5000 /* 5 seconds timeout for receiving the group negotiation response */ 682 682 #define P2P_CONCURRENT_GO_NEGO_TIMEOUT 3000 /* 3 seconds timeout for sending the negotiation request under concurrent mode */ 683 683 #define P2P_TX_PRESCAN_TIMEOUT 100 /* 100ms */ 684 684 #define P2P_INVITE_TIMEOUT 5000 /* 5 seconds timeout for sending the invitation request */