diff --git a/hal/hal_btcoex.c b/hal/hal_btcoex.c index 3001755..9b974e7 100644 --- a/hal/hal_btcoex.c +++ b/hal/hal_btcoex.c @@ -2388,8 +2388,6 @@ u8 halbtcoutsrc_GetAntDetValFromBt(void *pBtcContext) status = NDBG_GetAntDetValFromBt(Adapter, opcodeVer, &AntDetVal); - RT_TRACE(COMP_DBG, DBG_LOUD, ("$$$ halbtcoutsrc_GetAntDetValFromBt(): status = %d, feature = %x\n", status, AntDetVal)); - return AntDetVal; #else return 0; diff --git a/hal/phydm/halrf/halrf_debug.h b/hal/phydm/halrf/halrf_debug.h index ff1ff96..858a273 100644 --- a/hal/phydm/halrf/halrf_debug.h +++ b/hal/phydm/halrf/halrf_debug.h @@ -85,8 +85,6 @@ static __inline void RF_DBG(PDM_ODM_T dm, int comp, char *fmt, ...) do { \ struct dm_struct *__dm = dm; \ if ((comp) & __dm->rf_table.rf_dbg_comp) { \ - RT_TRACE(((struct rtl_priv *)__dm->adapter), \ - COMP_PHYDM, DBG_DMESG, "[RF] " fmt, ##args); \ } \ } while (0) #endif diff --git a/hal/phydm/halrf/halrf_powertracking_ce.c b/hal/phydm/halrf/halrf_powertracking_ce.c index 55ec7bf..926bda9 100644 --- a/hal/phydm/halrf/halrf_powertracking_ce.c +++ b/hal/phydm/halrf/halrf_powertracking_ce.c @@ -848,8 +848,6 @@ void odm_txpowertracking_check_mp(void *dm_void) void *adapter = dm->adapter; if (odm_check_power_status(adapter) == false) { - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, - ("check_pow_status, return false\n")); return; } diff --git a/hal/phydm/halrf/halrf_powertracking_iot.c b/hal/phydm/halrf/halrf_powertracking_iot.c index a0c40dc..1dcc44f 100644 --- a/hal/phydm/halrf/halrf_powertracking_iot.c +++ b/hal/phydm/halrf/halrf_powertracking_iot.c @@ -718,7 +718,6 @@ odm_txpowertracking_check_mp( void *adapter = dm->adapter; if (odm_check_power_status(adapter) == false) { - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, ("check_pow_status, return false\n")); return; } diff --git a/hal/phydm/halrf/halrf_powertracking_win.c b/hal/phydm/halrf/halrf_powertracking_win.c index bad28f5..5766e95 100644 --- a/hal/phydm/halrf/halrf_powertracking_win.c +++ b/hal/phydm/halrf/halrf_powertracking_win.c @@ -784,7 +784,6 @@ odm_txpowertracking_check_mp( return; if (odm_check_power_status(dm) == false) { - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, ("check_pow_status return false\n")); return; } @@ -831,11 +830,8 @@ odm_txpowertracking_thermal_meter_check( struct dm_struct *dm = &(pHalData->DM_OutSrc); struct _hal_rf_ *rf = &(dm->rf_table); - if (!(rf->rf_supportability & HAL_RF_TX_PWR_TRACK)) { - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, - ("===>odm_txpowertracking_thermal_meter_check(),mgnt_info->is_txpowertracking is false, return!!\n")); + if (!(rf->rf_supportability & HAL_RF_TX_PWR_TRACK)) return; - } if (!tm_trigger) { if (IS_HARDWARE_TYPE_8188E(adapter) || IS_HARDWARE_TYPE_JAGUAR(adapter) || IS_HARDWARE_TYPE_8192E(adapter) || IS_HARDWARE_TYPE_8192F(adapter) @@ -845,14 +841,11 @@ odm_txpowertracking_thermal_meter_check( else PHY_SetRFReg(adapter, RF_PATH_A, RF_T_METER, RFREGOFFSETMASK, 0x60); - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, ("Trigger Thermal Meter!!\n")); - tm_trigger = 1; return; } else if (IS_HARDWARE_TYPE_8822C(adapter) || IS_HARDWARE_TYPE_8814B(adapter)) return; else { - RT_TRACE(COMP_POWER_TRACKING, DBG_LOUD, ("Schedule TxPowerTracking direct call!!\n")); odm_txpowertracking_direct_call(adapter); tm_trigger = 0; } diff --git a/hal/phydm/phydm_debug.h b/hal/phydm/phydm_debug.h index 660f48f..05f06c2 100644 --- a/hal/phydm/phydm_debug.h +++ b/hal/phydm/phydm_debug.h @@ -90,8 +90,6 @@ #define pr_debug printk #define RT_PRINTK(fmt, args...) pr_debug(fmt, ## args) #define RT_DISP(dbgtype, dbgflag, printstr) - #define RT_TRACE(adapter, comp, drv_level, fmt, args...) \ - RTW_INFO(fmt, ## args) #define PHYDM_SNPRINTF snprintf #elif (DM_ODM_SUPPORT_TYPE == ODM_IOT) #define pr_debug(fmt, args...) RTW_PRINT_MSG(fmt, ## args) @@ -250,9 +248,6 @@ static __inline void PHYDM_DBG_F(PDM_ODM_T dm, int comp, char *fmt, ...) do { \ struct dm_struct *__dm = (dm); \ if ((comp) & __dm->debug_components) { \ - RT_TRACE(((struct rtl_priv *)__dm->adapter),\ - COMP_PHYDM, DBG_DMESG, \ - "[PHYDM] " fmt, ##args); \ } \ } while (0) @@ -260,8 +255,6 @@ static __inline void PHYDM_DBG_F(PDM_ODM_T dm, int comp, char *fmt, ...) do { \ struct dm_struct *__dm = (dm); \ if ((comp) & __dm->debug_components) { \ - RT_TRACE(((struct rtl_priv *)__dm->adapter),\ - COMP_PHYDM, DBG_DMESG, fmt, ##args); \ } \ } while (0) @@ -269,9 +262,6 @@ static __inline void PHYDM_DBG_F(PDM_ODM_T dm, int comp, char *fmt, ...) do { \ struct dm_struct *__dm = (dm); \ if ((comp) & __dm->debug_components) { \ - RT_TRACE(((struct rtl_priv *)__dm->adapter),\ - COMP_PHYDM, DBG_DMESG, \ - "[PHYDM] " title_str "%pM\n", addr);\ } \ } while (0) #endif @@ -379,9 +369,7 @@ static __inline void PDM_SNPF(u32 out_len, u32 used, char *buff, int len, #elif (DM_ODM_SUPPORT_TYPE == ODM_CE) && defined(DM_ODM_CE_MAC80211_V2) #define PDM_VAST_SNPF(out_len, used, buff, len, fmt, args...) #else -#define PDM_VAST_SNPF(out_len, used, buff, len, fmt, args...) \ - RT_TRACE(((struct rtl_priv *)dm->adapter), COMP_PHYDM, \ - DBG_DMESG, fmt, ##args) +#define PDM_VAST_SNPF(out_len, used, buff, len, fmt, args...) #endif #if (PHYDM_DBGPRINT == 1) diff --git a/hal/phydm/phydm_dfs.c b/hal/phydm/phydm_dfs.c index 39c3879..aa7f083 100644 --- a/hal/phydm/phydm_dfs.c +++ b/hal/phydm/phydm_dfs.c @@ -2315,7 +2315,6 @@ void phydm_dfs_ap_reset_radar_detect_counter_and_flag(void *dm_void) odm_set_bb_reg(dm, R_0xa40, BIT(15), 0); odm_set_bb_reg(dm, R_0xa40, BIT(15), 1); - /* RT_TRACE(COMP_DFS, DBG_LOUD, ("[DFS], After reset radar counter, 0xcf8 = 0x%x, 0xcf4 = 0x%x\n", */ /* PHY_QueryBBReg(Adapter, 0xcf8, bMaskDWord), */ /* PHY_QueryBBReg(Adapter, 0xcf4, bMaskDWord))); */ } diff --git a/hal/phydm/phydm_interface.c b/hal/phydm/phydm_interface.c index 1136fd4..6cdb3f6 100644 --- a/hal/phydm/phydm_interface.c +++ b/hal/phydm/phydm_interface.c @@ -1023,7 +1023,6 @@ u8 phydm_c2H_content_parsing(void *dm_void, u8 c2h_cmd_id, u8 c2h_cmd_len, #if (DM_ODM_SUPPORT_TYPE == ODM_WIN) if (dm->support_ic_type & (ODM_RTL8812 | ODM_RTL8821)) { - RT_TRACE(COMP_MP, DBG_LOUD, ("== FW IQK Finish ==\n")); odm_acquire_spin_lock(dm, RT_IQK_SPINLOCK); dm->rf_calibrate_info.is_iqk_in_progress = false; odm_release_spin_lock(dm, RT_IQK_SPINLOCK); diff --git a/hal/phydm/txbf/haltxbf8822b.c b/hal/phydm/txbf/haltxbf8822b.c index a40316c..0c7d985 100644 --- a/hal/phydm/txbf/haltxbf8822b.c +++ b/hal/phydm/txbf/haltxbf8822b.c @@ -185,7 +185,6 @@ hal_txbf_8822b_download_ndpa( platform_efio_write_1byte(adapter, REG_FWHW_TXQ_CTRL_8814A + 2, tmp_reg422 & (~BIT(6))); if (tmp_reg422 & BIT(6)) { - RT_TRACE(COMP_INIT, DBG_LOUD, ("SetBeamformDownloadNDPA_8814A(): There is an adapter is sending beacon.\n")); is_send_beacon = true; }