mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
staging: rtl8723bs: remove odm_NoiseMonitor.h and odm_NoiseMonitor.c
because the content of these files is not used. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Nam Cao <namcaov@gmail.com> Link: https://lore.kernel.org/r/6f51a3531ffe60650972bd9f288570db55e3e0ec.1661020250.git.namcaov@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
af2c14d3ea
commit
4ce515776e
@ -33,7 +33,6 @@ r8723bs-y = \
|
||||
hal/odm_DynamicTxPower.o \
|
||||
hal/odm_EdcaTurboCheck.o \
|
||||
hal/odm_HWConfig.o \
|
||||
hal/odm_NoiseMonitor.o \
|
||||
hal/odm_RegConfig8723B.o \
|
||||
hal/rtl8723b_cmd.o \
|
||||
hal/rtl8723b_dm.o \
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "odm_DynamicBBPowerSaving.h"
|
||||
#include "odm_DynamicTxPower.h"
|
||||
#include "odm_CfoTracking.h"
|
||||
#include "odm_NoiseMonitor.h"
|
||||
|
||||
#define TP_MODE 0
|
||||
#define RSSI_MODE 1
|
||||
|
@ -1,19 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
#include "odm_precomp.h"
|
||||
|
||||
/* This function is for inband noise test utility only */
|
||||
/* To obtain the inband noise level(dbm), do the following. */
|
||||
/* 1. disable DIG and Power Saving */
|
||||
/* 2. Set initial gain = 0x1a */
|
||||
/* 3. Stop updating idle time pwer report (for driver read) */
|
||||
/* - 0x80c[25] */
|
||||
|
||||
#define Valid_Min -35
|
||||
#define Valid_Max 10
|
||||
#define ValidCnt 5
|
@ -1,32 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/******************************************************************************
|
||||
*
|
||||
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
|
||||
*
|
||||
*****************************************************************************/
|
||||
#ifndef __ODMNOISEMONITOR_H__
|
||||
#define __ODMNOISEMONITOR_H__
|
||||
|
||||
#define ODM_MAX_CHANNEL_NUM 38/* 14+24 */
|
||||
struct noise_level {
|
||||
/* u8 value_a, value_b; */
|
||||
u8 value[MAX_RF_PATH];
|
||||
/* s8 sval_a, sval_b; */
|
||||
s8 sval[MAX_RF_PATH];
|
||||
|
||||
/* s32 noise_a = 0, noise_b = 0, sum_a = 0, sum_b = 0; */
|
||||
/* s32 noise[ODM_RF_PATH_MAX]; */
|
||||
s32 sum[MAX_RF_PATH];
|
||||
/* u8 valid_cnt_a = 0, valid_cnt_b = 0, */
|
||||
u8 valid[MAX_RF_PATH];
|
||||
u8 valid_cnt[MAX_RF_PATH];
|
||||
|
||||
};
|
||||
|
||||
|
||||
struct odm_noise_monitor {
|
||||
s8 noise[MAX_RF_PATH];
|
||||
s16 noise_all;
|
||||
};
|
||||
|
||||
#endif
|
@ -33,7 +33,6 @@
|
||||
#include "odm_DynamicBBPowerSaving.h"
|
||||
#include "odm_DynamicTxPower.h"
|
||||
#include "odm_CfoTracking.h"
|
||||
#include "odm_NoiseMonitor.h"
|
||||
#include "HalPhyRf.h"
|
||||
#include "HalPhyRf_8723B.h"/* for IQK, LCK, Power-tracking */
|
||||
#include "rtl8723b_hal.h"
|
||||
|
Loading…
Reference in New Issue
Block a user