OSDN Git Service

rtl8723au: Replace s1Byte with s8
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 7 Dec 2013 01:18:40 +0000 (19:18 -0600)
committerLarry Finger <Larry.Finger@lwfinger.net>
Sat, 7 Dec 2013 01:18:40 +0000 (19:18 -0600)
The unused s2Byte is also deleted.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
hal/odm_HWConfig.c
hal/rtl8723a_phycfg.c
include/odm.h
include/odm_HWConfig.h
include/odm_types.h

index 29c52ba..5717e19 100644 (file)
@@ -42,7 +42,7 @@
 
 u8
 odm_QueryRxPwrPercentage(
-               s1Byte          AntPower
+               s8              AntPower
        )
 {
        if ((AntPower <= -100) || (AntPower >= 20))
@@ -348,13 +348,13 @@ static u8 odm_SQ_process_patch_RT_CID_819x_Lenovo(
 
 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;
@@ -387,7 +387,7 @@ odm_RxPhyStatus92CSeries_Parsing(
 {
        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;
index 0f14842..cb7c0f0 100644 (file)
@@ -517,7 +517,7 @@ rtl8192c_PHY_SetRFReg(
  *                       Read/Write
  *
  * Input:      PADAPTER                Adapter
- *                     ps1Byte                         pFileName
+ *                     s8 *                            pFileName
  *
  * Output:      NONE
  *
@@ -546,7 +546,7 @@ phy_ConfigMACWithParaFile(
  *                       Read/Write
  *
  * Input:      PADAPTER                Adapter
- *                     ps1Byte                         pFileName
+ *                     s8 *                            pFileName
  *
  * Output:      NONE
  *
@@ -776,7 +776,7 @@ phy_InitBBRFRegisterDefinition(
  *                       Read/Write
  *
  * Input:      PADAPTER                Adapter
- *                     ps1Byte                         pFileName
+ *                     s8 *                            pFileName
  *
  * Output:      NONE
  *
@@ -1363,7 +1363,7 @@ PHY_RFConfig8723A(
  * 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
@@ -1433,7 +1433,7 @@ PHY_ConfigRFExternalPA(
  * 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
index 6153cf2..b52fce9 100644 (file)
@@ -144,9 +144,9 @@ typedef struct _Dynamic_Initial_Gain_Threshold_
        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;
@@ -354,8 +354,8 @@ typedef struct _ODM_Phy_Status_Info_
        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
@@ -366,7 +366,7 @@ typedef struct _ODM_Phy_Status_Info_
 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;
index e74923c..2659b7a 100644 (file)
@@ -88,13 +88,13 @@ typedef struct _Phy_Status_Rpt_8192cd
        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
@@ -128,13 +128,13 @@ typedef struct _Phy_Status_Rpt_8195
        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;
index e4f0415..a6090c4 100644 (file)
@@ -52,12 +52,6 @@ typedef enum _RT_SPINLOCK_TYPE{
 
        #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;