The unused s2Byte is also deleted.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
u8
odm_QueryRxPwrPercentage(
- s1Byte AntPower
+ s8 AntPower
)
{
if ((AntPower <= -100) || (AntPower >= 20))
static u8
odm_EVMdbToPercentage(
- s1Byte Value
+ s8 Value
)
{
//
// -33dB~0dB to 0%~99%
//
- s1Byte ret_val;
+ s8 ret_val;
ret_val = Value;
//ret_val /= 2;
{
SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
u8 i, Max_spatial_stream;
- s1Byte rx_pwr[4], rx_pwr_all=0;
+ s8 rx_pwr[4], rx_pwr_all=0;
u8 EVM, PWDB_ALL = 0, PWDB_ALL_BT;
u8 RSSI, total_rssi=0;
u8 isCCKrate=0;
* Read/Write
*
* Input: PADAPTER Adapter
- * ps1Byte pFileName
+ * s8 * pFileName
*
* Output: NONE
*
* Read/Write
*
* Input: PADAPTER Adapter
- * ps1Byte pFileName
+ * s8 * pFileName
*
* Output: NONE
*
* Read/Write
*
* Input: PADAPTER Adapter
- * ps1Byte pFileName
+ * s8 * pFileName
*
* Output: NONE
*
* Overview: This function read RF parameters from general file format, and do RF 3-wire
*
* Input: PADAPTER Adapter
- * ps1Byte pFileName
+ * s8 * pFileName
* RF_RADIO_PATH_E eRFPath
*
* Output: NONE
* Overview: This function read RF parameters from general file format, and do RF 3-wire
*
* Input: PADAPTER Adapter
- * ps1Byte pFileName
+ * s8 * pFileName
* RF_RADIO_PATH_E eRFPath
*
* Output: NONE
u8 CurIGValue;
u8 BackupIGValue;
- s1Byte BackoffVal;
- s1Byte BackoffVal_range_max;
- s1Byte BackoffVal_range_min;
+ s8 BackoffVal;
+ s8 BackoffVal_range_max;
+ s8 BackoffVal_range_min;
u8 rx_gain_range_max;
u8 rx_gain_range_min;
u8 Rssi_val_min;
u8 SignalQuality; // in 0-100 index.
u8 RxMIMOSignalQuality[MAX_PATH_NUM_92CS]; //EVM
u8 RxMIMOSignalStrength[MAX_PATH_NUM_92CS];// in 0~100 index
- s1Byte RxPower; // in dBm Translate from PWdB
- s1Byte RecvSignalPower;// Real power in dBm for this packet, no beautification and aggregation. Keep this raw info to be used for the other procedures.
+ s8 RxPower; // in dBm Translate from PWdB
+ s8 RecvSignalPower;// Real power in dBm for this packet, no beautification and aggregation. Keep this raw info to be used for the other procedures.
u8 BTRxRSSIPercentage;
u8 SignalStrength; // in 0-100 index.
u8 RxPwr[MAX_PATH_NUM_92CS];//per-path's pwdb
typedef struct _ODM_Phy_Dbg_Info_
{
//ODM Write,debug info
- s1Byte RxSNRdB[MAX_PATH_NUM_92CS];
+ s8 RxSNRdB[MAX_PATH_NUM_92CS];
u64 NumQryPhyStatus;
u64 NumQryPhyStatusCCK;
u64 NumQryPhyStatusOFDM;
u8 noise_power_db_msb;
u8 path_cfotail[2];
u8 pcts_mask[2];
- s1Byte stream_rxevm[2];
+ s8 stream_rxevm[2];
u8 path_rxsnr[2];
u8 noise_power_db_lsb;
u8 rsvd_2[3];
u8 stream_csi[2];
u8 stream_target_csi[2];
- s1Byte sig_evm;
+ s8 sig_evm;
u8 rsvd_3;
#ifdef __LITTLE_ENDIAN
u8 rsvd_1;
u8 path_cfotail[2];
u8 pcts_mask[2];
- s1Byte stream_rxevm[2];
+ s8 stream_rxevm[2];
u8 path_rxsnr[2];
u8 rsvd_2[2];
u8 stream_snr[2];
u8 stream_csi[2];
u8 rsvd_3[2];
- s1Byte sig_evm;
+ s8 sig_evm;
u8 rsvd_4;
#ifdef __LITTLE_ENDIAN
u8 antidx_anta:3;
#include <basic_types.h>
- #define s1Byte s8
- #define ps1Byte s8*
-
- #define s2Byte s16
- #define ps2Byte s16*
-
#define DEV_BUS_TYPE RT_USB_INTERFACE
typedef struct timer_list RT_TIMER, *PRT_TIMER;