staging: rtl8723bs: Fix spelling mistakes in comments
PATCH 1/1 staging: rtl8723bs: Fix spelling mistakes in comments
Fix several spelling mistakes in comments in the rtl8723bs staging driver.
No functional changes.
Signed-off-by Aidan Russell <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- drivers/staging/rtl8723bs/core/rtw_efuse.c | 2 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 9 ++++++--- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 ++- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +- drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ++-- drivers/staging/rtl8723bs/core/rtw_xmit.c | 4 ++-- drivers/staging/rtl8723bs/hal/HalPhyRf.c | 2 +- drivers/staging/rtl8723bs/hal/odm_DIG.c | 2 +- drivers/staging/rtl8723bs/hal/odm_types.h | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 12 ++++++++---- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +- drivers/staging/rtl8723bs/include/drv_types.h | 2 +- drivers/staging/rtl8723bs/include/hal_com_reg.h | 6 +++--- drivers/staging/rtl8723bs/include/rtw_xmit.h | 2 +- drivers/staging/rtl8723bs/include/wlan_bssdef.h | 4 ++-- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 2 +- 18 files changed, 36 insertions(+), 28 deletions(-)
drivers/staging/rtl8723bs/core/rtw_cmd.c +1 -1
@@ -1650,7 +1650,7 @@ u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length)return res; } -/* dont call R/W in this function, beucase SDIO interrupt have claim host */ +/* dont call R/W in this function, because SDIO interrupt have claim host */ /* or deadlock will happen and cause special-systemserver-died in android */ u8 rtw_c2h_wk_cmd (struct adapter *padapter,u8 *c2h_evt) {
drivers/staging/rtl8723bs/core/rtw_efuse.c +1 -1
@@ -28,7 +28,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)/*----------------------------------------------------------------------------- * Function: rtw_efuse_read_1_byte * -* Overview: Copy from WMAC fot EFUSE read 1 byte. +* Overview: Copy from WMAC for EFUSE read 1 byte. * * Input: NONE *
drivers/staging/rtl8723bs/core/rtw_mlme.c +6 -3
@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** -* +* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * ******************************************************************************/
@@ -52,7 +52,10 @@ int rtw_init_mlme_priv(struct adapter *padapter) pmlmepriv->pscanned =NULL ; pmlmepriv->fw_state =WIFI_STATION_STATE ;/* Must sync with rtw_wdev_alloc() */ pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; - pmlmepriv->scan_mode =SCAN_ACTIVE ;/* 1: active, 0: passive. Maybe someday we should rename this varable to "active_mode" (Jeff) */ + pmlmepriv->scan_mode =SCAN_ACTIVE ;/* 1: active, 0: passive. +* Maybe someday we should rename +* this variable to "active_mode" (Jeff) +*/ spin_lock_init (&pmlmepriv->lock);INIT_LIST_HEAD (&pmlmepriv->free_bss_pool.queue);
@@ -1378,7 +1381,7 @@ void rtw_stadel_event_callback(struct adapter *adapter, u8 *pbuf)u16 media_status; media_status = (mac_id <<8 ) |0 ;/* MACID|OPMODE:0 means disconnect */ -/* for STA, AP, ADHOC mode, report disconnect stauts to FW */ +/* for STA, AP, ADHOC mode, report disconnect status to FW */ rtw_hal_set_hwreg (adapter,HW_VAR_H2C_MEDIA_STATUS_RPT , (u8 *)&media_status); }
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +2 -1
@@ -1478,7 +1478,8 @@ unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame)/* Commented by Albert 20130604 * Before sending the auth frame to start the STA/GC mode connection with AP/GO, * we will send the deauth first. -* However, the Win8.1 with BRCM Wi-Fi will send the deauth with reason code 6 to us after receieving our deauth. +* However, the Win8.1 with BRCM Wi-Fi will send the deauth with +* reason code 6 to us after receiving our deauth. * Added the following code to avoid this case. */ if ((pmlmeinfo->state & WIFI_FW_AUTH_STATE) ||
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +1 -1
@@ -576,7 +576,7 @@ void LPS_Leave_check(struct adapter *padapter)* * This will be called when CPWM interrupt is up. * -* using to update cpwn of drv; and drv willl make a decision to up or down pwr level +* using to update cpwn of drv; and drv will make a decision to up or down pwr level */ void cpwm_int_hdl (struct adapter *padapter,struct reportpwrstate_parm *preportpwrstate) {
drivers/staging/rtl8723bs/core/rtw_recv.c +2 -2
@@ -828,7 +828,7 @@ static signed int ap2sta_data_frame(struct adapter *adapter, union recv_frame *p }if (GetFrameSubType (ptr) &BIT (6 )) { -/* No data, will not indicate to upper layer, temporily count it here */ +/* No data, will not indicate to upper layer, temporarily count it here */ count_rx_stats (adapter, precv_frame, *psta); ret =RTW_RX_HANDLED ; goto exit;
@@ -909,7 +909,7 @@ static signed int sta2ap_data_frame(struct adapter *adapter, union recv_frame *pprocess_wmmps_data (adapter, precv_frame);if (GetFrameSubType (ptr) &BIT (6 )) { -/* No data, will not indicate to upper layer, temporily count it here */ +/* No data, will not indicate to upper layer, temporarily count it here */ count_rx_stats (adapter, precv_frame, *psta); ret =RTW_RX_HANDLED ; goto exit;
drivers/staging/rtl8723bs/core/rtw_xmit.c +2 -2
@@ -726,7 +726,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p } } -/* for parsing ICMP pakcets */ +/* for parsing ICMP packets */ {struct iphdr *piphdr = (struct iphdr *)tmp;
@@ -1358,7 +1358,7 @@ s32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, s/* set final tx command size */ pattrib->last_txcmdsz = pattrib->pktlen; -/* set protected bit must be beofre SW encrypt */ +/* set protected bit must be before SW encrypt */ SetPrivacy (mem_start);/* software encrypt */ xmitframe_swencrypt (padapter, pxmitframe);
drivers/staging/rtl8723bs/hal/HalPhyRf.c +1 -1
@@ -18,7 +18,7 @@ void ConfigureTxpowerTrack(struct dm_odm_t *pDM_Odm, struct txpwrtrack_cfg *pCon/* Otherwise the previous compensation is gone, because we record the */ /* delta of temperature between two TxPowerTracking watch dogs. */ /* */ -/* NOTE: If Tx BB swing or Tx scaling is varified during run-time, still */ +/* NOTE: If Tx BB swing or Tx scaling is verified during run-time, still */ /* need to call this function. */ /* */ void ODM_ClearTxPowerTrackingState (struct dm_odm_t *pDM_Odm)
drivers/staging/rtl8723bs/hal/odm_DIG.c +1 -1
@@ -602,7 +602,7 @@ void odm_DIGbyRSSI_LPS(void *pDM_VOID) }/* 3 ============================================================ */ -/* 3 FASLE ALARM CHECK */ +/* 3 FALSE ALARM CHECK */ /* 3 ============================================================ */ void odm_FalseAlarmCounterStatistics (void *pDM_VOID)
drivers/staging/rtl8723bs/hal/odm_types.h +1 -1
@@ -9,7 +9,7 @@#include <drv_types.h> -/* Deifne HW endian support */ +/* Define HW endian support */ #define ODM_ENDIAN_BIG 0#define ODM_ENDIAN_LITTLE 1
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c +1 -1
@@ -832,7 +832,7 @@ static void SetFwRsvdPagePkt_BTCoex(struct adapter *padapter) BufIndex += (CurtPktPageNum*PageSize); -/* Jump to lastest page */ +/* Jump to last page */ if (BufIndex < (MaxRsvdPageBufSize - PageSize)) { BufIndex = TxDescOffset + (MaxRsvdPageBufSize - PageSize); TotalPageNum =BCNQ_PAGE_NUM_8723B -1 ;
drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +8 -4
@@ -1859,9 +1859,11 @@ void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pbuf) }/* */ -/* Description: In normal chip, we should send some packet to Hw which will be used by Fw */ -/* in FW LPS mode. The function is to fill the Tx descriptor of this packets, then */ -/* Fw can tell Hw to send these packet derectly. */ +/* Description: In normal chip, we should send some packet to Hw which will be used by Fw +* in FW LPS mode. The function is to fill the +* Tx descriptor of this packets, then +* Fw can tell Hw to send these packet directly. +*/ /* Added by tynli. 2009.10.15. */ /* */ /* type1:pspoll, type2:null */
@@ -2582,7 +2584,9 @@ void SetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val) {u8 psmode = *val; -/* Forece leave RF low power mode for 1T1R to prevent conficting setting in Fw power */ +/* Force leave RF low power mode for 1T1R to +* prevent conflicting setting in Fw power +*/ /* saving sequence. 2010.06.07. Added by tynli. Suggested by SD3 yschang. */ if (psmode !=PS_MODE_ACTIVE ) {ODM_RF_Saving (&pHalData->odmpriv, true);
drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c +1 -1
@@ -119,7 +119,7 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)PHY_SetBBReg (Adapter, pPhyReg->rfHSSIPara2, b3WireDataLength,0x0 );/* Set 0 to 12 bits for 8255 */ udelay (1 );/* PlatformStallExecution(1); */ -/*----Initialize RF fom connfiguration file----*/ +/*----Initialize RF from configuration file----*/ switch (eRFPath) {case RF_PATH_A :case RF_PATH_B :
drivers/staging/rtl8723bs/include/drv_types.h +1 -1
@@ -273,7 +273,7 @@ enum {struct adapter {int DriverState;/* for disable driver using module, use dongle to replace module. */ int pid[3 ];/* process id from UI, 0:wps, 1:hostapd, 2:dhcpcd */ -int bDongle;/* build-in module or external dongle */ +int bDongle;/* built-in module or external dongle */ struct dvobj_priv *dvobj;struct mlme_priv mlmepriv;
drivers/staging/rtl8723bs/include/hal_com_reg.h +3 -3
@@ -20,7 +20,7 @@#define REG_RSV_CTRL 0x001C#define REG_RF_CTRL 0x001F#define REG_AFE_XTAL_CTRL 0x0024 -#define REG_MAC_PHY_CTRL 0x002c/* for 92d, DMDP, SMSP, DMSP contrl */ +#define REG_MAC_PHY_CTRL 0x002c/* for 92d, DMDP, SMSP, DMSP control */ #define REG_EFUSE_CTRL 0x0030#define REG_EFUSE_TEST 0x0034#define REG_PWR_DATA 0x0038
@@ -186,7 +186,7 @@/* */ /* */ -/* Redifine 8192C register definition for compatibility */ +/* Redefine 8192C register definition for compatibility */ /* */ /* */ #define EFUSE_CTRL REG_EFUSE_CTRL/* E-Fuse Control. */
@@ -273,7 +273,7 @@/* */ /* 8192C (RCR) Receive Configuration Register (Offset 0x608, 32 bits) */ /* */ -#define RCR_APPFCS BIT31/* WMAC append FCS after pauload */ +#define RCR_APPFCS BIT31/* WMAC append FCS after payload */ #define RCR_APP_MIC BIT30/* MACRX will retain the MIC at the bottom of the packet. */ #define RCR_APP_ICV BIT29/* MACRX will retain the ICV at the bottom of the packet. */ #define RCR_APP_PHYST_RXFF BIT28/* PHY Status is appended before RX packet in RXFF */
drivers/staging/rtl8723bs/include/rtw_xmit.h +1 -1
@@ -157,7 +157,7 @@ struct pkt_attrib {u8 key_idx;u8 qos_en;u8 ht_en; -u8 raid;/* rate adpative id */ +u8 raid;/* rate adaptive id */ u8 bwmode;u8 ch_offset;/* PRIME_CHNL_OFFSET */ u8 sgi;/* short GI */
drivers/staging/rtl8723bs/include/wlan_bssdef.h +2 -2
@@ -137,7 +137,7 @@ struct wlan_phy_info { };struct wlan_bcn_info { -/* these infor get from rtw_get_encrypt_info when +/* these info get from rtw_get_encrypt_info when * * translate scan to UI */ u8 encryp_protocol;/* ENCRYP_PROTOCOL_E: OPEN/WEP/WPA/WPA2/WAPI */ int group_cipher;/* WPA/WPA2 group cipher */
@@ -149,7 +149,7 @@ struct wlan_bcn_info {unsigned char ht_info_infos_0; }; -/* temporally add #pragma pack for structure alignment issue of +/* temporarily add #pragma pack for structure alignment issue of * struct wlan_bssid_ex and get_wlan_bssid_ex_sz() */ struct wlan_bssid_ex {
drivers/staging/rtl8723bs/os_dep/wifi_regd.c +1 -1
@@ -27,7 +27,7 @@* by case basis by regulatory domain */ -/* 2G chan 12 - chan 13, PASSIV SCAN */ +/* 2G chan 12 - chan 13, PASSIVE SCAN */ #define RTW_2GHZ_CH12_13 \ REG_RULE(2467 - 10, 2472 + 10, 40, 0, 20, \ NL80211_RRF_PASSIVE_SCAN)
Signature · 1 line
2.54.0
Quoted 347 lines · Aidan Russell
Fix several spelling mistakes in comments in the rtl8723bs staging driver.
No functional changes.
Signed-off-by Aidan Russell <[email protected]>--- drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +- drivers/staging/rtl8723bs/core/rtw_efuse.c | 2 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 9 ++++++--- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 ++- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 +- drivers/staging/rtl8723bs/core/rtw_recv.c | 4 ++-- drivers/staging/rtl8723bs/core/rtw_xmit.c | 4 ++-- drivers/staging/rtl8723bs/hal/HalPhyRf.c | 2 +- drivers/staging/rtl8723bs/hal/odm_DIG.c | 2 +- drivers/staging/rtl8723bs/hal/odm_types.h | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 12 ++++++++---- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +- drivers/staging/rtl8723bs/include/drv_types.h | 2 +- drivers/staging/rtl8723bs/include/hal_com_reg.h | 6 +++--- drivers/staging/rtl8723bs/include/rtw_xmit.h | 2 +- drivers/staging/rtl8723bs/include/wlan_bssdef.h | 4 ++-- drivers/staging/rtl8723bs/os_dep/wifi_regd.c | 2 +- 18 files changed, 36 insertions(+), 28 deletions(-)drivers/staging/rtl8723bs/core/rtw_cmd.c +1
-1@@ -1650,7 +1650,7 @@ u8 rtw_c2h_packet_wk_cmd(struct adapter *padapter, u8 *pbuf, u16 length)return res; } -/* dont call R/W in this function, beucase SDIO interrupt have claim host */ +/* dont call R/W in this function, because SDIO interrupt have claim host */ /* or deadlock will happen and cause special-systemserver-died in android */ u8 rtw_c2h_wk_cmd (struct adapter *padapter,u8 *c2h_evt) {drivers/staging/rtl8723bs/core/rtw_efuse.c +1
-1@@ -28,7 +28,7 @@ rtw_efuse_calculate_word_counts(u8 word_en)/*----------------------------------------------------------------------------- * Function: rtw_efuse_read_1_byte * -* Overview: Copy from WMAC fot EFUSE read 1 byte. +* Overview: Copy from WMAC for EFUSE read 1 byte. * * Input: NONE * drivers/staging/rtl8723bs/core/rtw_mlme.c +6
-3@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** -* +* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * ******************************************************************************/ @@ -52,7 +52,10 @@ int rtw_init_mlme_priv(struct adapter *padapter) pmlmepriv->pscanned =NULL ; pmlmepriv->fw_state =WIFI_STATION_STATE ;/* Must sync with rtw_wdev_alloc() */ pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; - pmlmepriv->scan_mode =SCAN_ACTIVE ;/* 1: active, 0: passive. Maybe someday we should rename this varable to "active_mode" (Jeff) */ + pmlmepriv->scan_mode =SCAN_ACTIVE ;/* 1: active, 0: passive. +* Maybe someday we should rename +* this variable to "active_mode" (Jeff) +*/ spin_lock_init (&pmlmepriv->lock);INIT_LIST_HEAD (&pmlmepriv->free_bss_pool.queue);@@ -1378,7 +1381,7 @@ void rtw_stadel_event_callback(struct adapter *adapter, u8 *pbuf)u16 media_status; media_status = (mac_id <<8 ) |0 ;/* MACID|OPMODE:0 means disconnect */ -/* for STA, AP, ADHOC mode, report disconnect stauts to FW */ +/* for STA, AP, ADHOC mode, report disconnect status to FW */ rtw_hal_set_hwreg (adapter,HW_VAR_H2C_MEDIA_STATUS_RPT , (u8 *)&media_status); }drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +2
-1@@ -1478,7 +1478,8 @@ unsigned int OnDeAuth(struct adapter *padapter, union recv_frame *precv_frame)/* Commented by Albert 20130604 * Before sending the auth frame to start the STA/GC mode connection with AP/GO, * we will send the deauth first. -* However, the Win8.1 with BRCM Wi-Fi will send the deauth with reason code 6 to us after receieving our deauth. +* However, the Win8.1 with BRCM Wi-Fi will send the deauth with +* reason code 6 to us after receiving our deauth. * Added the following code to avoid this case. */ if ((pmlmeinfo->state & WIFI_FW_AUTH_STATE) ||drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +1
-1@@ -576,7 +576,7 @@ void LPS_Leave_check(struct adapter *padapter)* * This will be called when CPWM interrupt is up. * -* using to update cpwn of drv; and drv willl make a decision to up or down pwr level +* using to update cpwn of drv; and drv will make a decision to up or down pwr level */ void cpwm_int_hdl (struct adapter *padapter,struct reportpwrstate_parm *preportpwrstate) {drivers/staging/rtl8723bs/core/rtw_recv.c +2
-2@@ -828,7 +828,7 @@ static signed int ap2sta_data_frame(struct adapter *adapter, union recv_frame *p }if (GetFrameSubType (ptr) &BIT (6 )) { -/* No data, will not indicate to upper layer, temporily count it here */ +/* No data, will not indicate to upper layer, temporarily count it here */ count_rx_stats (adapter, precv_frame, *psta); ret =RTW_RX_HANDLED ; goto exit;@@ -909,7 +909,7 @@ static signed int sta2ap_data_frame(struct adapter *adapter, union recv_frame *pprocess_wmmps_data (adapter, precv_frame);if (GetFrameSubType (ptr) &BIT (6 )) { -/* No data, will not indicate to upper layer, temporily count it here */ +/* No data, will not indicate to upper layer, temporarily count it here */ count_rx_stats (adapter, precv_frame, *psta); ret =RTW_RX_HANDLED ; goto exit;drivers/staging/rtl8723bs/core/rtw_xmit.c +2
-2@@ -726,7 +726,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p } } -/* for parsing ICMP pakcets */ +/* for parsing ICMP packets */ {struct iphdr *piphdr = (struct iphdr *)tmp;@@ -1358,7 +1358,7 @@ s32 rtw_mgmt_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, s/* set final tx command size */ pattrib->last_txcmdsz = pattrib->pktlen; -/* set protected bit must be beofre SW encrypt */ +/* set protected bit must be before SW encrypt */ SetPrivacy (mem_start);/* software encrypt */ xmitframe_swencrypt (padapter, pxmitframe);drivers/staging/rtl8723bs/hal/HalPhyRf.c +1
-1@@ -18,7 +18,7 @@ void ConfigureTxpowerTrack(struct dm_odm_t *pDM_Odm, struct txpwrtrack_cfg *pCon/* Otherwise the previous compensation is gone, because we record the */ /* delta of temperature between two TxPowerTracking watch dogs. */ /* */ -/* NOTE: If Tx BB swing or Tx scaling is varified during run-time, still */ +/* NOTE: If Tx BB swing or Tx scaling is verified during run-time, still */ /* need to call this function. */ /* */ void ODM_ClearTxPowerTrackingState (struct dm_odm_t *pDM_Odm)drivers/staging/rtl8723bs/hal/odm_DIG.c +1
-1@@ -602,7 +602,7 @@ void odm_DIGbyRSSI_LPS(void *pDM_VOID) }/* 3 ============================================================ */ -/* 3 FASLE ALARM CHECK */ +/* 3 FALSE ALARM CHECK */ /* 3 ============================================================ */ void odm_FalseAlarmCounterStatistics (void *pDM_VOID)drivers/staging/rtl8723bs/hal/odm_types.h +1
-1@@ -9,7 +9,7 @@#include <drv_types.h> -/* Deifne HW endian support */ +/* Define HW endian support */ #define ODM_ENDIAN_BIG 0#define ODM_ENDIAN_LITTLE 1drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c +1
-1@@ -832,7 +832,7 @@ static void SetFwRsvdPagePkt_BTCoex(struct adapter *padapter) BufIndex += (CurtPktPageNum*PageSize); -/* Jump to lastest page */ +/* Jump to last page */ if (BufIndex < (MaxRsvdPageBufSize - PageSize)) { BufIndex = TxDescOffset + (MaxRsvdPageBufSize - PageSize); TotalPageNum =BCNQ_PAGE_NUM_8723B -1 ;drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +8
-4@@ -1859,9 +1859,11 @@ void rtl8723b_update_txdesc(struct xmit_frame *pxmitframe, u8 *pbuf) }/* */ -/* Description: In normal chip, we should send some packet to Hw which will be used by Fw */ -/* in FW LPS mode. The function is to fill the Tx descriptor of this packets, then */ -/* Fw can tell Hw to send these packet derectly. */ +/* Description: In normal chip, we should send some packet to Hw which will be used by Fw +* in FW LPS mode. The function is to fill the +* Tx descriptor of this packets, then +* Fw can tell Hw to send these packet directly. +*/ /* Added by tynli. 2009.10.15. */ /* */ /* type1:pspoll, type2:null */ @@ -2582,7 +2584,9 @@ void SetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val) {u8 psmode = *val; -/* Forece leave RF low power mode for 1T1R to prevent conficting setting in Fw power */ +/* Force leave RF low power mode for 1T1R to +* prevent conflicting setting in Fw power +*/ /* saving sequence. 2010.06.07. Added by tynli. Suggested by SD3 yschang. */ if (psmode !=PS_MODE_ACTIVE ) {ODM_RF_Saving (&pHalData->odmpriv, true);drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c +1
-1@@ -119,7 +119,7 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)PHY_SetBBReg (Adapter, pPhyReg->rfHSSIPara2, b3WireDataLength,0x0 );/* Set 0 to 12 bits for 8255 */ udelay (1 );/* PlatformStallExecution(1); */ -/*----Initialize RF fom connfiguration file----*/ +/*----Initialize RF from configuration file----*/ switch (eRFPath) {case RF_PATH_A :case RF_PATH_B :drivers/staging/rtl8723bs/include/drv_types.h +1
-1@@ -273,7 +273,7 @@ enum {struct adapter {int DriverState;/* for disable driver using module, use dongle to replace module. */ int pid[3 ];/* process id from UI, 0:wps, 1:hostapd, 2:dhcpcd */ -int bDongle;/* build-in module or external dongle */ +int bDongle;/* built-in module or external dongle */ struct dvobj_priv *dvobj;struct mlme_priv mlmepriv;drivers/staging/rtl8723bs/include/hal_com_reg.h +3
-3@@ -20,7 +20,7 @@#define REG_RSV_CTRL 0x001C#define REG_RF_CTRL 0x001F#define REG_AFE_XTAL_CTRL 0x0024 -#define REG_MAC_PHY_CTRL 0x002c/* for 92d, DMDP, SMSP, DMSP contrl */ +#define REG_MAC_PHY_CTRL 0x002c/* for 92d, DMDP, SMSP, DMSP control */ #define REG_EFUSE_CTRL 0x0030#define REG_EFUSE_TEST 0x0034#define REG_PWR_DATA 0x0038@@ -186,7 +186,7 @@/* */ /* */ -/* Redifine 8192C register definition for compatibility */ +/* Redefine 8192C register definition for compatibility */ /* */ /* */ #define EFUSE_CTRL REG_EFUSE_CTRL/* E-Fuse Control. */ @@ -273,7 +273,7 @@/* */ /* 8192C (RCR) Receive Configuration Register (Offset 0x608, 32 bits) */ /* */ -#define RCR_APPFCS BIT31/* WMAC append FCS after pauload */ +#define RCR_APPFCS BIT31/* WMAC append FCS after payload */ #define RCR_APP_MIC BIT30/* MACRX will retain the MIC at the bottom of the packet. */ #define RCR_APP_ICV BIT29/* MACRX will retain the ICV at the bottom of the packet. */ #define RCR_APP_PHYST_RXFF BIT28/* PHY Status is appended before RX packet in RXFF */ drivers/staging/rtl8723bs/include/rtw_xmit.h +1
-1@@ -157,7 +157,7 @@ struct pkt_attrib {u8 key_idx;u8 qos_en;u8 ht_en; -u8 raid;/* rate adpative id */ +u8 raid;/* rate adaptive id */ u8 bwmode;u8 ch_offset;/* PRIME_CHNL_OFFSET */ u8 sgi;/* short GI */ drivers/staging/rtl8723bs/include/wlan_bssdef.h +2
-2@@ -137,7 +137,7 @@ struct wlan_phy_info { };struct wlan_bcn_info { -/* these infor get from rtw_get_encrypt_info when +/* these info get from rtw_get_encrypt_info when * * translate scan to UI */ u8 encryp_protocol;/* ENCRYP_PROTOCOL_E: OPEN/WEP/WPA/WPA2/WAPI */ int group_cipher;/* WPA/WPA2 group cipher */ @@ -149,7 +149,7 @@ struct wlan_bcn_info {unsigned char ht_info_infos_0; }; -/* temporally add #pragma pack for structure alignment issue of +/* temporarily add #pragma pack for structure alignment issue of * struct wlan_bssid_ex and get_wlan_bssid_ex_sz() */ struct wlan_bssid_ex {drivers/staging/rtl8723bs/os_dep/wifi_regd.c +1
-1@@ -27,7 +27,7 @@* by case basis by regulatory domain */ -/* 2G chan 12 - chan 13, PASSIV SCAN */ +/* 2G chan 12 - chan 13, PASSIVE SCAN */ #define RTW_2GHZ_CH12_13 \ REG_RULE(2467 - 10, 2472 + 10, 40, 0, 20, \ NL80211_RRF_PASSIVE_SCAN)Signature · 1 line
2.54.0
In commit message you say you're fixing spelling mistakes, but in reality you're making several other unrelated changes. Please remove them or split them into separate patches so that each patch contains one logical change.
Thanks,
Nikolay