mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-25 07:14:36 +08:00
rtlwifi: Fix spelling mistake "cacluated" -> "calculated"
There are some spelling mistakes in the comments. Fix it. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220408095803.2495336-1-lv.ruyi@zte.com.cn
This commit is contained in:
parent
b2268fd81c
commit
e8c241d4a7
@ -58,7 +58,7 @@ static void _rtl88ee_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
cck_agc_rpt = cck_buf->cck_agc_rpt;
|
||||
|
||||
/* (1)Hardware does not provide RSSI for CCK
|
||||
* (2)PWDB, Average PWDB cacluated by
|
||||
* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
if (ppsc->rfpwr_state == ERFON)
|
||||
@ -187,7 +187,7 @@ static void _rtl88ee_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110;
|
||||
|
@ -166,7 +166,7 @@ static void _rtl92ce_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstats->rx_mimo_signalstrength[i] = (u8) rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110;
|
||||
|
@ -55,7 +55,7 @@ static void _rtl92ee_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
cck_agc_rpt = p_phystrpt->cck_agc_rpt_ofdm_cfosho_a;
|
||||
|
||||
/* (1)Hardware does not provide RSSI for CCK
|
||||
* (2)PWDB, Average PWDB cacluated by
|
||||
* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
cck_highpwr = (u8)rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2,
|
||||
@ -153,7 +153,7 @@ static void _rtl92ee_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_phystrpt->cck_sig_qual_ofdm_pwdb_all >> 1)
|
||||
|
@ -52,7 +52,7 @@ static void _rtl8723e_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
cck_buf = (struct phy_sts_cck_8723e_t *)p_drvinfo;
|
||||
|
||||
/* (1)Hardware does not provide RSSI for CCK */
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
if (ppsc->rfpwr_state == ERFON)
|
||||
@ -170,7 +170,7 @@ static void _rtl8723e_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110;
|
||||
|
@ -55,7 +55,7 @@ static void _rtl8723be_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
cck_agc_rpt = p_phystrpt->cck_agc_rpt_ofdm_cfosho_a;
|
||||
|
||||
/* (1)Hardware does not provide RSSI for CCK */
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER2, BIT(9));
|
||||
@ -126,7 +126,7 @@ static void _rtl8723be_query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_phystrpt->cck_sig_qual_ofdm_pwdb_all >> 1) &
|
||||
|
@ -86,7 +86,7 @@ static void query_rxphystatus(struct ieee80211_hw *hw,
|
||||
cck_agc_rpt = p_phystrpt->cfosho[0];
|
||||
|
||||
/* (1)Hardware does not provide RSSI for CCK
|
||||
* (2)PWDB, Average PWDB cacluated by
|
||||
* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
cck_highpwr = (u8)rtlphy->cck_high_power;
|
||||
@ -215,7 +215,7 @@ static void query_rxphystatus(struct ieee80211_hw *hw,
|
||||
pstatus->rx_mimo_signalstrength[i] = (u8)rssi;
|
||||
}
|
||||
|
||||
/* (2)PWDB, Average PWDB cacluated by
|
||||
/* (2)PWDB, Average PWDB calculated by
|
||||
* hardware (for rate adaptive)
|
||||
*/
|
||||
rx_pwr_all = ((p_drvinfo->pwdb_all >> 1) & 0x7f) - 110;
|
||||
|
Loading…
Reference in New Issue
Block a user