@@ -1733,12 +1733,12 @@ static void _rtl92e_dm_init_rx_path_selection(struct net_device *dev)
1733
1733
1734
1734
DM_RxPathSelTable .enable = 1 ;
1735
1735
DM_RxPathSelTable .ss_th_low = RX_PATH_SEL_SS_TH_LOW ;
1736
- DM_RxPathSelTable .diff_TH = RX_PATH_SEL_DIFF_TH ;
1736
+ DM_RxPathSelTable .diff_th = RX_PATH_SEL_DIFF_TH ;
1737
1737
if (priv -> customer_id == RT_CID_819X_NETCORE )
1738
1738
DM_RxPathSelTable .cck_method = CCK_Rx_Version_2 ;
1739
1739
else
1740
1740
DM_RxPathSelTable .cck_method = CCK_Rx_Version_1 ;
1741
- DM_RxPathSelTable .disabledRF = 0 ;
1741
+ DM_RxPathSelTable .disabled_rf = 0 ;
1742
1742
for (i = 0 ; i < 4 ; i ++ ) {
1743
1743
DM_RxPathSelTable .rf_rssi [i ] = 50 ;
1744
1744
DM_RxPathSelTable .cck_pwdb_sta [i ] = -64 ;
@@ -1773,8 +1773,8 @@ static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev)
1773
1773
cck_Rx_Path_initialized = 1 ;
1774
1774
}
1775
1775
1776
- DM_RxPathSelTable .disabledRF = 0xf ;
1777
- DM_RxPathSelTable .disabledRF &= ~(rtl92e_readb (dev , 0xc04 ));
1776
+ DM_RxPathSelTable .disabled_rf = 0xf ;
1777
+ DM_RxPathSelTable .disabled_rf &= ~(rtl92e_readb (dev , 0xc04 ));
1778
1778
1779
1779
if (priv -> rtllib -> mode == WIRELESS_MODE_B )
1780
1780
DM_RxPathSelTable .cck_method = CCK_Rx_Version_2 ;
@@ -1903,7 +1903,7 @@ static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev)
1903
1903
1904
1904
if (tmp_min_rssi < DM_RxPathSelTable .ss_th_low && disabled_rf_cnt < 2 ) {
1905
1905
if ((tmp_max_rssi - tmp_min_rssi ) >=
1906
- DM_RxPathSelTable .diff_TH ) {
1906
+ DM_RxPathSelTable .diff_th ) {
1907
1907
DM_RxPathSelTable .rf_enable_rssi_th [min_rssi_index ] =
1908
1908
tmp_max_rssi + 5 ;
1909
1909
rtl92e_set_bb_reg (dev , rOFDM0_TRxPathEnable ,
@@ -1927,9 +1927,9 @@ static void _rtl92e_dm_rx_path_sel_byrssi(struct net_device *dev)
1927
1927
DM_RxPathSelTable .cck_rx_path );
1928
1928
}
1929
1929
1930
- if (DM_RxPathSelTable .disabledRF ) {
1930
+ if (DM_RxPathSelTable .disabled_rf ) {
1931
1931
for (i = 0 ; i < 4 ; i ++ ) {
1932
- if ((DM_RxPathSelTable .disabledRF >> i ) & 0x1 ) {
1932
+ if ((DM_RxPathSelTable .disabled_rf >> i ) & 0x1 ) {
1933
1933
if (tmp_max_rssi >=
1934
1934
DM_RxPathSelTable .rf_enable_rssi_th [i ]) {
1935
1935
rtl92e_set_bb_reg (dev ,
0 commit comments