reduce acs logging

This commit is contained in:
morrownr 2023-03-09 13:54:13 -06:00
parent 69c65d4d9d
commit 7296e7643b
2 changed files with 2 additions and 1 deletions

View File

@ -289,12 +289,12 @@ void rtw_acs_info_dump(void *sel, _adapter *adapter)
u8 max_chan_nums = rfctl->max_chan_nums; u8 max_chan_nums = rfctl->max_chan_nums;
u8 ch_idx, ch_num; u8 ch_idx, ch_num;
#ifdef CONFIG_RTW_ACS_DBG
_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);
// nrm // nrm
_RTW_PRINT_SEL(sel, "Best 5G Channel:%d\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
_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",
hal_data->acs.scan_type ? 'A' : 'P', hal_data->acs.scan_time, hal_data->acs.igi, hal_data->acs.bw); hal_data->acs.scan_type ? 'A' : 'P', hal_data->acs.scan_time, hal_data->acs.igi, hal_data->acs.bw);

View File

@ -238,6 +238,7 @@ if command -v dkms >/dev/null 2>&1; then
if dkms status | grep -i ${DRV_NAME}; then if dkms status | grep -i ${DRV_NAME}; then
echo ": ---------------------------" echo ": ---------------------------"
echo echo
# need to add code here to delete any DRV_VERSION
echo "Removing a dkms installation." echo "Removing a dkms installation."
dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all
echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d" echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d"