clean up logs
This commit is contained in:
parent
bcfd5dcc9f
commit
31942082cb
32
88x2bu.conf
32
88x2bu.conf
@ -9,7 +9,9 @@
|
|||||||
blacklist rtw88_8822bu
|
blacklist rtw88_8822bu
|
||||||
#
|
#
|
||||||
# Edit the following line to change, add or delete options:
|
# Edit the following line to change, add or delete options:
|
||||||
options 88x2bu rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_usb_mode=0
|
options 88x2bu rtw_drv_log_level=1 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_usb_mode=0
|
||||||
|
#
|
||||||
|
# Note: To activate USB3 mode, change rtw_switch_usb_mode above to rtw_switch_usb_mode=1
|
||||||
#
|
#
|
||||||
# After editing is complete, save this file (if using nano: Ctrl + x, y, Enter)
|
# After editing is complete, save this file (if using nano: Ctrl + x, y, Enter)
|
||||||
# and reboot to activate the changes.
|
# and reboot to activate the changes.
|
||||||
@ -66,34 +68,6 @@ options 88x2bu rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_us
|
|||||||
#
|
#
|
||||||
# -----
|
# -----
|
||||||
#
|
#
|
||||||
# Beamforming options ( rtw_beamform_cap )
|
|
||||||
#
|
|
||||||
# 0 = Disable
|
|
||||||
# 1 = SU Beamformer
|
|
||||||
# 2 = SU Beamformee
|
|
||||||
# 3 = SU Beamformer and SU Beamformee
|
|
||||||
# 10= SU Beamformee and MU Beamformee (default)
|
|
||||||
# 11= SU Beamformer and SU Beamformee and MU Beamformee
|
|
||||||
#
|
|
||||||
# Note: MU Beamformer is not supported.
|
|
||||||
#
|
|
||||||
# -----
|
|
||||||
#
|
|
||||||
# ISO 3166-1 alpha-2 Country Code options ( rtw_country_code )
|
|
||||||
#
|
|
||||||
# Note: Allows the Country Code to be set in cases where it is unable to
|
|
||||||
# be obtained otherwise.
|
|
||||||
#
|
|
||||||
# Example for the US: rtw_country_code=US
|
|
||||||
# Example for Panama: rtw_country_code=PA
|
|
||||||
# Example for Norway: rtw_country_code=NO
|
|
||||||
# Example for Kuwait: rtw_country_code=KW
|
|
||||||
# Example for Taiwan: rtw_country_code=TW
|
|
||||||
#
|
|
||||||
# ISO 3166-1 alpha-2 codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
|
|
||||||
#
|
|
||||||
# -----
|
|
||||||
#
|
|
||||||
# DFS Options ( rtw_dfs_region_domain )
|
# DFS Options ( rtw_dfs_region_domain )
|
||||||
#
|
#
|
||||||
# 0 = NONE (default)
|
# 0 = NONE (default)
|
||||||
|
@ -89,7 +89,8 @@ void _ips_enter(_adapter *padapter)
|
|||||||
|
|
||||||
if (rf_off == pwrpriv->change_rfpwrstate) {
|
if (rf_off == pwrpriv->change_rfpwrstate) {
|
||||||
pwrpriv->bpower_saving = _TRUE;
|
pwrpriv->bpower_saving = _TRUE;
|
||||||
RTW_PRINT("nolinked power save enter\n");
|
/* nrm */
|
||||||
|
// RTW_PRINT("nolinked power save enter\n");
|
||||||
|
|
||||||
if (pwrpriv->ips_mode == IPS_LEVEL_2)
|
if (pwrpriv->ips_mode == IPS_LEVEL_2)
|
||||||
pwrpriv->bkeepfwalive = _TRUE;
|
pwrpriv->bkeepfwalive = _TRUE;
|
||||||
@ -142,7 +143,8 @@ int _ips_leave(_adapter *padapter)
|
|||||||
pwrpriv->pwr_saving_time += rtw_get_passing_time_ms(pwrpriv->pwr_saving_start_time);
|
pwrpriv->pwr_saving_time += rtw_get_passing_time_ms(pwrpriv->pwr_saving_start_time);
|
||||||
#endif /* CONFIG_RTW_CFGVENDOR_LLSTATS */
|
#endif /* CONFIG_RTW_CFGVENDOR_LLSTATS */
|
||||||
|
|
||||||
RTW_PRINT("nolinked power save leave\n");
|
/* nrm */
|
||||||
|
// RTW_PRINT("nolinked power save leave\n");
|
||||||
|
|
||||||
RTW_INFO("==> ips_leave.....LED(0x%08x)...\n", rtw_read32(padapter, 0x4c));
|
RTW_INFO("==> ips_leave.....LED(0x%08x)...\n", rtw_read32(padapter, 0x4c));
|
||||||
pwrpriv->bips_processing = _FALSE;
|
pwrpriv->bips_processing = _FALSE;
|
||||||
|
@ -1392,7 +1392,7 @@ void dump_sta_info(void *sel, struct sta_info *psta)
|
|||||||
HDATA_RATE(curr_tx_rate), (curr_tx_sgi) ? "S" : "L");
|
HDATA_RATE(curr_tx_rate), (curr_tx_sgi) ? "S" : "L");
|
||||||
RTW_PRINT_SEL(sel, "curr_tx_bw : %s\n", ch_width_str(ra_info->curr_tx_bw));
|
RTW_PRINT_SEL(sel, "curr_tx_bw : %s\n", ch_width_str(ra_info->curr_tx_bw));
|
||||||
RTW_PRINT_SEL(sel, "curr_retry_ratio : %d\n", ra_info->curr_retry_ratio);
|
RTW_PRINT_SEL(sel, "curr_retry_ratio : %d\n", ra_info->curr_retry_ratio);
|
||||||
RTW_PRINT_SEL(sel, "ra_mask : 0x%016llx\n\n", ra_info->ramask);
|
RTW_PRINT_SEL(sel, "ra_mask : 0x%016llx\n", ra_info->ramask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_phydm_ra_registed(_adapter *adapter, struct sta_info *psta)
|
void rtw_phydm_ra_registed(_adapter *adapter, struct sta_info *psta)
|
||||||
|
@ -291,7 +291,7 @@ void rtw_acs_info_dump(void *sel, _adapter *adapter)
|
|||||||
|
|
||||||
_RTW_PRINT_SEL(sel, "========== ACS (VER-%d) ==========\n", RTK_ACS_VERSION);
|
_RTW_PRINT_SEL(sel, "========== ACS (VER-%d) ==========\n", RTK_ACS_VERSION);
|
||||||
_RTW_PRINT_SEL(sel, "Best 24G Channel:%d\n", hal_data->acs.best_chan_24g);
|
_RTW_PRINT_SEL(sel, "Best 24G Channel:%d\n", hal_data->acs.best_chan_24g);
|
||||||
_RTW_PRINT_SEL(sel, "Best 5G Channel:%d\n\n", hal_data->acs.best_chan_5g);
|
_RTW_PRINT_SEL(sel, "Best 5G Channel:%d\n", hal_data->acs.best_chan_5g);
|
||||||
|
|
||||||
#ifdef CONFIG_RTW_ACS_DBG
|
#ifdef CONFIG_RTW_ACS_DBG
|
||||||
_RTW_PRINT_SEL(sel, "Advanced setting - scan_type:%c, ch_ms:%d(ms), igi:0x%02x, bw:%d\n",
|
_RTW_PRINT_SEL(sel, "Advanced setting - scan_type:%c, ch_ms:%d(ms), igi:0x%02x, bw:%d\n",
|
||||||
|
@ -87,7 +87,8 @@ mac_pwr_switch_usb_8822b(struct halmac_adapter *adapter,
|
|||||||
HALMAC_REG_W8_CLR(REG_SYS_STATUS1 + 1, BIT(0));
|
HALMAC_REG_W8_CLR(REG_SYS_STATUS1 + 1, BIT(0));
|
||||||
|
|
||||||
if ((HALMAC_REG_R8(REG_SW_MDIO + 3) & BIT(0)) == BIT(0))
|
if ((HALMAC_REG_R8(REG_SW_MDIO + 3) & BIT(0)) == BIT(0))
|
||||||
PLTFM_MSG_ALWAYS("[ALWAYS]shall R reg twice!!\n");
|
/* nrm */
|
||||||
|
// PLTFM_MSG_ALWAYS("[ALWAYS]shall R reg twice!!\n");
|
||||||
|
|
||||||
adapter->halmac_state.mac_pwr = HALMAC_MAC_POWER_ON;
|
adapter->halmac_state.mac_pwr = HALMAC_MAC_POWER_ON;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user