Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: Rework 'struct _ODM_Phy_Status_Info_' coding style.

Change the typedef'd 'struct _ODM_Phy_Status_Info_' into
'struct odm_phy_info' and change the members to snake case in
order to meet the coding style guidelines.
Members:
* u8 RxPWDBAll -> rx_pwd_ba11
* u8 SignalQuality -> signal_quality
* s8 RxMIMOSignalQuality -> rx_mimo_signal_quality
* u8 RxMIMOEVMdbm -> rx_mimo_evm_dbm
* u8 RxMIMOSignalStrength -> rx_mimo_signal_strength
* u16 Cfo_short -> cfo_short
* u16 Cfo_tail -> cfo_tail
* s8 RxPower -> rx_power
* s8 RecvSignalPower -> recv_signal_power
* u8 BTRxRSSIPercentage -> bt_rx_rssi_percentage
* u8 SignalStrength -> signal_strength
* s8 RxPwr -> rx_pwr
* u8 RxSNR -> rx_snr
* u8 BandWidth => band_width
* u8 btCoexPwrAdjust -> bt_coex_pwr_adjust

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Quytelda Kahja and committed by
Greg Kroah-Hartman
ec57f864 3df3602a

+90 -84
+5 -5
drivers/staging/rtl8723bs/hal/hal_com.c
··· 1680 1680 struct hal_com_data *pHalData = GET_HAL_DATA(padapter); 1681 1681 struct rx_pkt_attrib *pattrib = &prframe->u.hdr.attrib; 1682 1682 1683 - PODM_PHY_INFO_T pPhyInfo = (PODM_PHY_INFO_T)(&pattrib->phy_info); 1683 + struct odm_phy_info *pPhyInfo = (PODM_PHY_INFO_T)(&pattrib->phy_info); 1684 1684 struct rx_raw_rssi *psample_pkt_rssi = &padapter->recvpriv.raw_rssi_info; 1685 1685 1686 1686 psample_pkt_rssi->data_rate = pattrib->data_rate; 1687 1687 isCCKrate = pattrib->data_rate <= DESC_RATE11M; 1688 1688 1689 - psample_pkt_rssi->pwdball = pPhyInfo->RxPWDBAll; 1690 - psample_pkt_rssi->pwr_all = pPhyInfo->RecvSignalPower; 1689 + psample_pkt_rssi->pwdball = pPhyInfo->rx_pwd_ba11; 1690 + psample_pkt_rssi->pwr_all = pPhyInfo->recv_signal_power; 1691 1691 1692 1692 for (rf_path = 0; rf_path < pHalData->NumTotalRFPath; rf_path++) { 1693 - psample_pkt_rssi->mimo_singal_strength[rf_path] = pPhyInfo->RxMIMOSignalStrength[rf_path]; 1694 - psample_pkt_rssi->mimo_singal_quality[rf_path] = pPhyInfo->RxMIMOSignalQuality[rf_path]; 1693 + psample_pkt_rssi->mimo_singal_strength[rf_path] = pPhyInfo->rx_mimo_signal_strength[rf_path]; 1694 + psample_pkt_rssi->mimo_singal_quality[rf_path] = pPhyInfo->rx_mimo_signal_quality[rf_path]; 1695 1695 if (!isCCKrate) { 1696 1696 psample_pkt_rssi->ofdm_pwr[rf_path] = pPhyInfo->RxPwr[rf_path]; 1697 1697 psample_pkt_rssi->ofdm_snr[rf_path] = pPhyInfo->RxSNR[rf_path];
+27 -22
drivers/staging/rtl8723bs/hal/odm.h
··· 233 233 #define IQK_THRESHOLD 8 234 234 #define DPK_THRESHOLD 4 235 235 236 - typedef struct _ODM_Phy_Status_Info_ { 237 - /* */ 238 - /* Be care, if you want to add any element please insert between */ 239 - /* RxPWDBAll & SignalStrength. */ 240 - /* */ 241 - u8 RxPWDBAll; 236 + struct odm_phy_info { 237 + /* 238 + * Be care, if you want to add any element, please insert it between 239 + * rx_pwd_ball and signal_strength. 240 + */ 241 + u8 rx_pwd_ba11; 242 242 243 - u8 SignalQuality; /* in 0-100 index. */ 244 - s8 RxMIMOSignalQuality[4]; /* per-path's EVM */ 245 - u8 RxMIMOEVMdbm[4]; /* per-path's EVM dbm */ 243 + u8 signal_quality; /* in 0-100 index. */ 244 + s8 rx_mimo_signal_quality[4]; /* per-path's EVM */ 245 + u8 rx_mimo_evm_dbm[4]; /* per-path's EVM dbm */ 246 246 247 - u8 RxMIMOSignalStrength[4];/* in 0~100 index */ 247 + u8 rx_mimo_signal_strength[4]; /* in 0~100 index */ 248 248 249 - u16 Cfo_short[4]; /* per-path's Cfo_short */ 250 - u16 Cfo_tail[4]; /* per-path's Cfo_tail */ 249 + u16 cfo_short[4]; /* per-path's Cfo_short */ 250 + u16 cfo_tail[4]; /* per-path's Cfo_tail */ 251 251 252 - s8 RxPower; /* in dBm Translate from PWdB */ 253 - s8 RecvSignalPower; /* Real power in dBm for this packet, no beautification and aggregation. Keep this raw info to be used for the other procedures. */ 254 - u8 BTRxRSSIPercentage; 255 - u8 SignalStrength; /* in 0-100 index. */ 252 + s8 rx_power; /* in dBm Translate from PWdB */ 256 253 257 - s8 RxPwr[4]; /* per-path's pwdb */ 254 + /* 255 + * Real power in dBm for this packet, no beautification and 256 + * aggregation. Keep this raw info to be used for the other procedures. 257 + */ 258 + s8 recv_signal_power; 259 + u8 bt_rx_rssi_percentage; 260 + u8 signal_strength; /* in 0-100 index. */ 258 261 259 - u8 RxSNR[4]; /* per-path's SNR */ 260 - u8 BandWidth; 261 - u8 btCoexPwrAdjust; 262 - } ODM_PHY_INFO_T, *PODM_PHY_INFO_T; 262 + s8 rx_pwr[4]; /* per-path's pwdb */ 263 + 264 + u8 rx_snr[4]; /* per-path's SNR */ 265 + u8 band_width; 266 + u8 bt_coex_pwr_adjust; 267 + }; 263 268 264 269 265 270 struct odm_packet_info { ··· 1420 1415 void ODM_SwAntDivChkPerPktRssi( 1421 1416 PDM_ODM_T pDM_Odm, 1422 1417 u8 StationID, 1423 - PODM_PHY_INFO_T pPhyInfo 1418 + struct odm_phy_info *pPhyInfo 1424 1419 ); 1425 1420 1426 1421 u32 ODM_Get_Rate_Bitmap(
+49 -49
drivers/staging/rtl8723bs/hal/odm_HWConfig.c
··· 91 91 92 92 static void odm_RxPhyStatus92CSeries_Parsing( 93 93 PDM_ODM_T pDM_Odm, 94 - PODM_PHY_INFO_T pPhyInfo, 94 + struct odm_phy_info *pPhyInfo, 95 95 u8 *pPhyStatus, 96 96 struct odm_packet_info *pPktinfo 97 97 ) ··· 107 107 PPHY_STATUS_RPT_8192CD_T pPhyStaRpt = (PPHY_STATUS_RPT_8192CD_T)pPhyStatus; 108 108 109 109 isCCKrate = pPktinfo->data_rate <= DESC_RATE11M; 110 - pPhyInfo->RxMIMOSignalQuality[ODM_RF_PATH_A] = -1; 111 - pPhyInfo->RxMIMOSignalQuality[ODM_RF_PATH_B] = -1; 110 + pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = -1; 111 + pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_B] = -1; 112 112 113 113 114 114 if (isCCKrate) { ··· 137 137 if (PWDB_ALL > 100) 138 138 PWDB_ALL = 100; 139 139 140 - pPhyInfo->RxPWDBAll = PWDB_ALL; 141 - pPhyInfo->BTRxRSSIPercentage = PWDB_ALL; 142 - pPhyInfo->RecvSignalPower = rx_pwr_all; 140 + pPhyInfo->rx_pwd_ba11 = PWDB_ALL; 141 + pPhyInfo->bt_rx_rssi_percentage = PWDB_ALL; 142 + pPhyInfo->recv_signal_power = rx_pwr_all; 143 143 /* */ 144 144 /* (3) Get Signal Quality (EVM) */ 145 145 /* */ ··· 147 147 { 148 148 u8 SQ, SQ_rpt; 149 149 150 - if (pPhyInfo->RxPWDBAll > 40 && !pDM_Odm->bInHctTest) 150 + if (pPhyInfo->rx_pwd_ba11 > 40 && !pDM_Odm->bInHctTest) 151 151 SQ = 100; 152 152 else { 153 153 SQ_rpt = pPhyStaRpt->cck_sig_qual_ofdm_pwdb_all; ··· 162 162 } 163 163 164 164 /* DbgPrint("cck SQ = %d\n", SQ); */ 165 - pPhyInfo->SignalQuality = SQ; 166 - pPhyInfo->RxMIMOSignalQuality[ODM_RF_PATH_A] = SQ; 167 - pPhyInfo->RxMIMOSignalQuality[ODM_RF_PATH_B] = -1; 165 + pPhyInfo->signal_quality = SQ; 166 + pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = SQ; 167 + pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_B] = -1; 168 168 } 169 169 } else { /* is OFDM rate */ 170 170 pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM++; ··· 183 183 rx_pwr[i] = ((pPhyStaRpt->path_agc[i].gain&0x3F)*2) - 110; 184 184 185 185 186 - pPhyInfo->RxPwr[i] = rx_pwr[i]; 186 + pPhyInfo->rx_pwr[i] = rx_pwr[i]; 187 187 188 188 /* Translate DBM to percentage. */ 189 189 RSSI = odm_QueryRxPwrPercentage(rx_pwr[i]); 190 190 total_rssi += RSSI; 191 191 /* RT_DISP(FRX, RX_PHY_SS, ("RF-%d RXPWR =%x RSSI =%d\n", i, rx_pwr[i], RSSI)); */ 192 192 193 - pPhyInfo->RxMIMOSignalStrength[i] = (u8) RSSI; 193 + pPhyInfo->rx_mimo_signal_strength[i] = (u8) RSSI; 194 194 195 195 /* Get Rx snr value in DB */ 196 - pPhyInfo->RxSNR[i] = pDM_Odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); 196 + pPhyInfo->rx_snr[i] = pDM_Odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); 197 197 } 198 198 199 199 ··· 205 205 PWDB_ALL_BT = PWDB_ALL = odm_QueryRxPwrPercentage(rx_pwr_all); 206 206 /* RT_DISP(FRX, RX_PHY_SS, ("PWDB_ALL =%d\n", PWDB_ALL)); */ 207 207 208 - pPhyInfo->RxPWDBAll = PWDB_ALL; 209 - /* ODM_RT_TRACE(pDM_Odm, ODM_COMP_RSSI_MONITOR, ODM_DBG_LOUD, ("ODM OFDM RSSI =%d\n", pPhyInfo->RxPWDBAll)); */ 210 - pPhyInfo->BTRxRSSIPercentage = PWDB_ALL_BT; 211 - pPhyInfo->RxPower = rx_pwr_all; 212 - pPhyInfo->RecvSignalPower = rx_pwr_all; 208 + pPhyInfo->rx_pwd_ba11 = PWDB_ALL; 209 + /* ODM_RT_TRACE(pDM_Odm, ODM_COMP_RSSI_MONITOR, ODM_DBG_LOUD, ("ODM OFDM RSSI =%d\n", pPhyInfo->rx_pwd_ba11)); */ 210 + pPhyInfo->bt_rx_rssi_percentage = PWDB_ALL_BT; 211 + pPhyInfo->rx_power = rx_pwr_all; 212 + pPhyInfo->recv_signal_power = rx_pwr_all; 213 213 214 214 {/* pMgntInfo->CustomerID != RT_CID_819x_Lenovo */ 215 215 /* */ ··· 232 232 /* if (pPktinfo->bPacketMatchBSSID) */ 233 233 { 234 234 if (i == ODM_RF_PATH_A) /* Fill value in RFD, Get the first spatial stream only */ 235 - pPhyInfo->SignalQuality = (u8)(EVM & 0xff); 235 + pPhyInfo->signal_quality = (u8)(EVM & 0xff); 236 236 237 - pPhyInfo->RxMIMOSignalQuality[i] = (u8)(EVM & 0xff); 237 + pPhyInfo->rx_mimo_signal_quality[i] = (u8)(EVM & 0xff); 238 238 } 239 239 } 240 240 } ··· 249 249 #ifdef CONFIG_SKIP_SIGNAL_SCALE_MAPPING 250 250 pPhyInfo->SignalStrength = (u8)PWDB_ALL; 251 251 #else 252 - pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(pDM_Odm, PWDB_ALL));/* PWDB_ALL; */ 252 + pPhyInfo->signal_strength = (u8)(odm_SignalScaleMapping(pDM_Odm, PWDB_ALL));/* PWDB_ALL; */ 253 253 #endif 254 254 } else { 255 255 if (rf_rx_num != 0) { 256 256 #ifdef CONFIG_SKIP_SIGNAL_SCALE_MAPPING 257 257 total_rssi /= rf_rx_num; 258 - pPhyInfo->SignalStrength = (u8)total_rssi; 258 + pPhyInfo->signal_strength = (u8)total_rssi; 259 259 #else 260 - pPhyInfo->SignalStrength = (u8)(odm_SignalScaleMapping(pDM_Odm, total_rssi /= rf_rx_num)); 260 + pPhyInfo->signal_strength = (u8)(odm_SignalScaleMapping(pDM_Odm, total_rssi /= rf_rx_num)); 261 261 #endif 262 262 } 263 263 } 264 264 265 - /* DbgPrint("isCCKrate = %d, pPhyInfo->RxPWDBAll = %d, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a = 0x%x\n", */ 266 - /* isCCKrate, pPhyInfo->RxPWDBAll, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a); */ 265 + /* DbgPrint("isCCKrate = %d, pPhyInfo->rx_pwd_ba11 = %d, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a = 0x%x\n", */ 266 + /* isCCKrate, pPhyInfo->rx_pwd_ba11, pPhyStaRpt->cck_agc_rpt_ofdm_cfosho_a); */ 267 267 } 268 268 269 269 static void odm_Process_RSSIForDM( 270 - PDM_ODM_T pDM_Odm, PODM_PHY_INFO_T pPhyInfo, struct odm_packet_info *pPktinfo 270 + PDM_ODM_T pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo 271 271 ) 272 272 { 273 273 ··· 310 310 if (pPktinfo->to_self || pPktinfo->is_beacon) { 311 311 312 312 if (!isCCKrate) { /* ofdm rate */ 313 - if (pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_B] == 0) { 314 - RSSI_Ave = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A]; 315 - pDM_Odm->RSSI_A = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A]; 313 + if (pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B] == 0) { 314 + RSSI_Ave = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; 315 + pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; 316 316 pDM_Odm->RSSI_B = 0; 317 317 } else { 318 - /* DbgPrint("pRfd->Status.RxMIMOSignalStrength[0] = %d, pRfd->Status.RxMIMOSignalStrength[1] = %d\n", */ 319 - /* pRfd->Status.RxMIMOSignalStrength[0], pRfd->Status.RxMIMOSignalStrength[1]); */ 320 - pDM_Odm->RSSI_A = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A]; 321 - pDM_Odm->RSSI_B = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_B]; 318 + /* DbgPrint("pRfd->Status.rx_mimo_signal_strength[0] = %d, pRfd->Status.rx_mimo_signal_strength[1] = %d\n", */ 319 + /* pRfd->Status.rx_mimo_signal_strength[0], pRfd->Status.rx_mimo_signal_strength[1]); */ 320 + pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; 321 + pDM_Odm->RSSI_B = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B]; 322 322 323 323 if ( 324 - pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A] > 325 - pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_B] 324 + pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A] > 325 + pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B] 326 326 ) { 327 - RSSI_max = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A]; 328 - RSSI_min = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_B]; 327 + RSSI_max = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; 328 + RSSI_min = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B]; 329 329 } else { 330 - RSSI_max = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_B]; 331 - RSSI_min = pPhyInfo->RxMIMOSignalStrength[ODM_RF_PATH_A]; 330 + RSSI_max = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B]; 331 + RSSI_min = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; 332 332 } 333 333 334 334 if ((RSSI_max-RSSI_min) < 3) ··· 343 343 344 344 /* 1 Process OFDM RSSI */ 345 345 if (UndecoratedSmoothedOFDM <= 0) /* initialize */ 346 - UndecoratedSmoothedOFDM = pPhyInfo->RxPWDBAll; 346 + UndecoratedSmoothedOFDM = pPhyInfo->rx_pwd_ba11; 347 347 else { 348 - if (pPhyInfo->RxPWDBAll > (u32)UndecoratedSmoothedOFDM) { 348 + if (pPhyInfo->rx_pwd_ba11 > (u32)UndecoratedSmoothedOFDM) { 349 349 UndecoratedSmoothedOFDM = 350 350 ((UndecoratedSmoothedOFDM*(Rx_Smooth_Factor-1)) + 351 351 RSSI_Ave)/Rx_Smooth_Factor; ··· 360 360 pEntry->rssi_stat.PacketMap = (pEntry->rssi_stat.PacketMap<<1) | BIT0; 361 361 362 362 } else { 363 - RSSI_Ave = pPhyInfo->RxPWDBAll; 364 - pDM_Odm->RSSI_A = (u8) pPhyInfo->RxPWDBAll; 363 + RSSI_Ave = pPhyInfo->rx_pwd_ba11; 364 + pDM_Odm->RSSI_A = (u8) pPhyInfo->rx_pwd_ba11; 365 365 pDM_Odm->RSSI_B = 0; 366 366 367 367 /* 1 Process CCK RSSI */ 368 368 if (UndecoratedSmoothedCCK <= 0) /* initialize */ 369 - UndecoratedSmoothedCCK = pPhyInfo->RxPWDBAll; 369 + UndecoratedSmoothedCCK = pPhyInfo->rx_pwd_ba11; 370 370 else { 371 - if (pPhyInfo->RxPWDBAll > (u32)UndecoratedSmoothedCCK) { 371 + if (pPhyInfo->rx_pwd_ba11 > (u32)UndecoratedSmoothedCCK) { 372 372 UndecoratedSmoothedCCK = 373 373 ((UndecoratedSmoothedCCK*(Rx_Smooth_Factor-1)) + 374 - pPhyInfo->RxPWDBAll)/Rx_Smooth_Factor; 374 + pPhyInfo->rx_pwd_ba11)/Rx_Smooth_Factor; 375 375 UndecoratedSmoothedCCK = UndecoratedSmoothedCCK + 1; 376 376 } else { 377 377 UndecoratedSmoothedCCK = 378 378 ((UndecoratedSmoothedCCK*(Rx_Smooth_Factor-1)) + 379 - pPhyInfo->RxPWDBAll)/Rx_Smooth_Factor; 379 + pPhyInfo->rx_pwd_ba11)/Rx_Smooth_Factor; 380 380 } 381 381 } 382 382 pEntry->rssi_stat.PacketMap = pEntry->rssi_stat.PacketMap<<1; ··· 422 422 /* */ 423 423 static void ODM_PhyStatusQuery_92CSeries( 424 424 PDM_ODM_T pDM_Odm, 425 - PODM_PHY_INFO_T pPhyInfo, 425 + struct odm_phy_info *pPhyInfo, 426 426 u8 *pPhyStatus, 427 427 struct odm_packet_info *pPktinfo 428 428 ) ··· 436 436 437 437 void ODM_PhyStatusQuery( 438 438 PDM_ODM_T pDM_Odm, 439 - PODM_PHY_INFO_T pPhyInfo, 439 + struct odm_phy_info *pPhyInfo, 440 440 u8 *pPhyStatus, 441 441 struct odm_packet_info *pPktinfo 442 442 )
+1 -1
drivers/staging/rtl8723bs/hal/odm_HWConfig.h
··· 131 131 132 132 void ODM_PhyStatusQuery( 133 133 PDM_ODM_T pDM_Odm, 134 - PODM_PHY_INFO_T pPhyInfo, 134 + struct odm_phy_info *pPhyInfo, 135 135 u8 *pPhyStatus, 136 136 struct odm_packet_info *pPktinfo 137 137 );
+2 -1
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
··· 90 90 struct adapter *padapter = precvframe->u.hdr.adapter; 91 91 struct rx_pkt_attrib *pattrib = &precvframe->u.hdr.attrib; 92 92 struct hal_com_data *p_hal_data = GET_HAL_DATA(padapter); 93 - PODM_PHY_INFO_T p_phy_info = (PODM_PHY_INFO_T)(&pattrib->phy_info); 93 + struct odm_phy_info *p_phy_info = 94 + (struct odm_phy_info *)(&pattrib->phy_info); 94 95 95 96 u8 *wlanhdr; 96 97 u8 *my_bssid;
+1 -1
drivers/staging/rtl8723bs/include/rtw_mlme.h
··· 299 299 300 300 struct tdls_ss_record{ /* signal strength record */ 301 301 u8 macaddr[ETH_ALEN]; 302 - u8 RxPWDBAll; 302 + u8 rx_pwd_ba11; 303 303 u8 is_tdls_sta; /* true: direct link sta, false: else */ 304 304 }; 305 305
+5 -5
drivers/staging/rtl8723bs/include/rtw_recv.h
··· 99 99 }; 100 100 101 101 struct phy_info { 102 - u8 RxPWDBAll; 102 + u8 rx_pwd_ba11; 103 103 104 104 u8 SignalQuality; /* in 0-100 index. */ 105 - s8 RxMIMOSignalQuality[4]; /* per-path's EVM */ 105 + s8 rx_mimo_signal_quality[4]; /* per-path's EVM */ 106 106 u8 RxMIMOEVMdbm[4]; /* per-path's EVM dbm */ 107 107 108 - u8 RxMIMOSignalStrength[4];/* in 0~100 index */ 108 + u8 rx_mimo_signal_strength[4];/* in 0~100 index */ 109 109 110 110 u16 Cfo_short[4]; /* per-path's Cfo_short */ 111 111 u16 Cfo_tail[4]; /* per-path's Cfo_tail */ 112 112 113 113 s8 RxPower; /* in dBm Translate from PWdB */ 114 114 s8 RecvSignalPower;/* Real power in dBm for this packet, no beautification and aggregation. Keep this raw info to be used for the other procedures. */ 115 - u8 BTRxRSSIPercentage; 115 + u8 bt_rx_rssi_percentage; 116 116 u8 SignalStrength; /* in 0-100 index. */ 117 117 118 118 s8 RxPwr[4]; /* per-path's pwdb */ ··· 187 187 u8 signal_qual; 188 188 s8 rx_mimo_signal_qual[2]; 189 189 u8 signal_strength; 190 - u32 RxPWDBAll; 190 + u32 rx_pwd_ba11; 191 191 s32 RecvSignalPower; 192 192 */ 193 193 struct phy_info phy_info;