mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-12-22 06:15:50 +00:00
cleanup logging
This commit is contained in:
parent
0476bb22ac
commit
1b04b9c821
@ -9,7 +9,7 @@
|
|||||||
blacklist rtw88_8821cu
|
blacklist rtw88_8821cu
|
||||||
#
|
#
|
||||||
# Edit the following line to change, add or delete options:
|
# Edit the following line to change, add or delete options:
|
||||||
options 8821cu rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_power_mgnt=1
|
options 8821cu rtw_drv_log_level=1 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_power_mgnt=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.
|
||||||
|
2
Makefile
2
Makefile
@ -77,7 +77,7 @@ CONFIG_USB_AUTOSUSPEND = n
|
|||||||
CONFIG_HW_PWRP_DETECTION = n
|
CONFIG_HW_PWRP_DETECTION = n
|
||||||
CONFIG_BT_COEXIST = y
|
CONFIG_BT_COEXIST = y
|
||||||
CONFIG_WAPI_SUPPORT = n
|
CONFIG_WAPI_SUPPORT = n
|
||||||
CONFIG_EFUSE_CONFIG_FILE = y
|
CONFIG_EFUSE_CONFIG_FILE = n
|
||||||
CONFIG_EXT_CLK = n
|
CONFIG_EXT_CLK = n
|
||||||
CONFIG_TRAFFIC_PROTECT = n
|
CONFIG_TRAFFIC_PROTECT = n
|
||||||
CONFIG_LOAD_PHY_PARA_FROM_FILE = y
|
CONFIG_LOAD_PHY_PARA_FROM_FILE = y
|
||||||
|
@ -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,8 @@ 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);
|
/* nrm */
|
||||||
|
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)
|
||||||
|
@ -87,7 +87,8 @@ mac_pwr_switch_usb_8821c(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…
Reference in New Issue
Block a user