pDM_Odm 152 drivers/staging/rtl8188eu/hal/odm.c void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm) pDM_Odm 154 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DebugLevel = ODM_DBG_TRACE; pDM_Odm 156 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DebugComponents = 0; pDM_Odm 162 drivers/staging/rtl8188eu/hal/odm.c void ODM_DMInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 165 drivers/staging/rtl8188eu/hal/odm.c odm_CommonInfoSelfInit(pDM_Odm); pDM_Odm 166 drivers/staging/rtl8188eu/hal/odm.c odm_CmnInfoInit_Debug(pDM_Odm); pDM_Odm 167 drivers/staging/rtl8188eu/hal/odm.c odm_DIGInit(pDM_Odm); pDM_Odm 168 drivers/staging/rtl8188eu/hal/odm.c odm_RateAdaptiveMaskInit(pDM_Odm); pDM_Odm 170 drivers/staging/rtl8188eu/hal/odm.c odm_DynamicTxPowerInit(pDM_Odm); pDM_Odm 171 drivers/staging/rtl8188eu/hal/odm.c odm_TXPowerTrackingInit(pDM_Odm); pDM_Odm 172 drivers/staging/rtl8188eu/hal/odm.c ODM_EdcaTurboInit(pDM_Odm); pDM_Odm 173 drivers/staging/rtl8188eu/hal/odm.c ODM_RAInfo_Init_all(pDM_Odm); pDM_Odm 174 drivers/staging/rtl8188eu/hal/odm.c if ((pDM_Odm->AntDivType == CG_TRX_HW_ANTDIV) || pDM_Odm 175 drivers/staging/rtl8188eu/hal/odm.c (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV) || pDM_Odm 176 drivers/staging/rtl8188eu/hal/odm.c (pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV)) pDM_Odm 177 drivers/staging/rtl8188eu/hal/odm.c odm_InitHybridAntDiv(pDM_Odm); pDM_Odm 183 drivers/staging/rtl8188eu/hal/odm.c void ODM_DMWatchdog(struct odm_dm_struct *pDM_Odm) pDM_Odm 186 drivers/staging/rtl8188eu/hal/odm.c odm_CmnInfoHook_Debug(pDM_Odm); pDM_Odm 187 drivers/staging/rtl8188eu/hal/odm.c odm_CmnInfoUpdate_Debug(pDM_Odm); pDM_Odm 188 drivers/staging/rtl8188eu/hal/odm.c odm_CommonInfoSelfUpdate(pDM_Odm); pDM_Odm 189 drivers/staging/rtl8188eu/hal/odm.c odm_FalseAlarmCounterStatistics(pDM_Odm); pDM_Odm 190 drivers/staging/rtl8188eu/hal/odm.c odm_RSSIMonitorCheck(pDM_Odm); pDM_Odm 193 drivers/staging/rtl8188eu/hal/odm.c odm_DIG(pDM_Odm); pDM_Odm 194 drivers/staging/rtl8188eu/hal/odm.c odm_CCKPacketDetectionThresh(pDM_Odm); pDM_Odm 196 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->pbPowerSaving)) pDM_Odm 199 drivers/staging/rtl8188eu/hal/odm.c odm_RefreshRateAdaptiveMask(pDM_Odm); pDM_Odm 201 drivers/staging/rtl8188eu/hal/odm.c if ((pDM_Odm->AntDivType == CG_TRX_HW_ANTDIV) || pDM_Odm 202 drivers/staging/rtl8188eu/hal/odm.c (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV) || pDM_Odm 203 drivers/staging/rtl8188eu/hal/odm.c (pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV)) pDM_Odm 204 drivers/staging/rtl8188eu/hal/odm.c odm_HwAntDiv(pDM_Odm); pDM_Odm 206 drivers/staging/rtl8188eu/hal/odm.c ODM_TXPowerTrackingCheck(pDM_Odm); pDM_Odm 207 drivers/staging/rtl8188eu/hal/odm.c odm_EdcaTurboCheck(pDM_Odm); pDM_Odm 210 drivers/staging/rtl8188eu/hal/odm.c void ODM_CmnInfoPtrArrayHook(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def CmnInfo, u16 Index, void *pValue) pDM_Odm 213 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->pODM_StaInfo[Index] = (struct sta_info *)pValue; pDM_Odm 216 drivers/staging/rtl8188eu/hal/odm.c void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 218 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapter = pDM_Odm->Adapter; pDM_Odm 220 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bCckHighPower = (bool)phy_query_bb_reg(adapter, 0x824, BIT(9)); pDM_Odm 221 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFPathRxEnable = (u8)phy_query_bb_reg(adapter, 0xc04, 0x0F); pDM_Odm 223 drivers/staging/rtl8188eu/hal/odm.c ODM_InitDebugSetting(pDM_Odm); pDM_Odm 226 drivers/staging/rtl8188eu/hal/odm.c void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm) pDM_Odm 232 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->pBandWidth) == ODM_BW40M) { pDM_Odm 233 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->pSecChOffset) == 1) pDM_Odm 234 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel) - 2; pDM_Odm 235 drivers/staging/rtl8188eu/hal/odm.c else if (*(pDM_Odm->pSecChOffset) == 2) pDM_Odm 236 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel) + 2; pDM_Odm 238 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel); pDM_Odm 242 drivers/staging/rtl8188eu/hal/odm.c pEntry = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 247 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bOneEntryOnly = true; pDM_Odm 249 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bOneEntryOnly = false; pDM_Odm 252 drivers/staging/rtl8188eu/hal/odm.c void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm) pDM_Odm 254 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoInit_Debug==>\n")); pDM_Odm 255 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportPlatform=%d\n", pDM_Odm->SupportPlatform)); pDM_Odm 256 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportAbility=0x%x\n", pDM_Odm->SupportAbility)); pDM_Odm 257 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportInterface=%d\n", pDM_Odm->SupportInterface)); pDM_Odm 258 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportICType=0x%x\n", pDM_Odm->SupportICType)); pDM_Odm 259 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("CutVersion=%d\n", pDM_Odm->CutVersion)); pDM_Odm 260 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("BoardType=%d\n", pDM_Odm->BoardType)); pDM_Odm 261 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtLNA=%d\n", pDM_Odm->ExtLNA)); pDM_Odm 262 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtPA=%d\n", pDM_Odm->ExtPA)); pDM_Odm 263 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtTRSW=%d\n", pDM_Odm->ExtTRSW)); pDM_Odm 264 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("PatchID=%d\n", pDM_Odm->PatchID)); pDM_Odm 265 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bInHctTest=%d\n", pDM_Odm->bInHctTest)); pDM_Odm 266 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFITest=%d\n", pDM_Odm->bWIFITest)); pDM_Odm 267 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bDualMacSmartConcurrent=%d\n", pDM_Odm->bDualMacSmartConcurrent)); pDM_Odm 270 drivers/staging/rtl8188eu/hal/odm.c void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm) pDM_Odm 272 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoHook_Debug==>\n")); pDM_Odm 273 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pNumTxBytesUnicast=%llu\n", *(pDM_Odm->pNumTxBytesUnicast))); pDM_Odm 274 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pNumRxBytesUnicast=%llu\n", *(pDM_Odm->pNumRxBytesUnicast))); pDM_Odm 275 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pWirelessMode=0x%x\n", *(pDM_Odm->pWirelessMode))); pDM_Odm 276 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pSecChOffset=%d\n", *(pDM_Odm->pSecChOffset))); pDM_Odm 277 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pSecurity=%d\n", *(pDM_Odm->pSecurity))); pDM_Odm 278 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pBandWidth=%d\n", *(pDM_Odm->pBandWidth))); pDM_Odm 279 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pChannel=%d\n", *(pDM_Odm->pChannel))); pDM_Odm 281 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pbScanInProcess=%d\n", *(pDM_Odm->pbScanInProcess))); pDM_Odm 282 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("pbPowerSaving=%d\n", *(pDM_Odm->pbPowerSaving))); pDM_Odm 285 drivers/staging/rtl8188eu/hal/odm.c void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm) pDM_Odm 287 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoUpdate_Debug==>\n")); pDM_Odm 288 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFI_Direct=%d\n", pDM_Odm->bWIFI_Direct)); pDM_Odm 289 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFI_Display=%d\n", pDM_Odm->bWIFI_Display)); pDM_Odm 290 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bLinked=%d\n", pDM_Odm->bLinked)); pDM_Odm 291 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("RSSI_Min=%d\n", pDM_Odm->RSSI_Min)); pDM_Odm 294 drivers/staging/rtl8188eu/hal/odm.c void ODM_Write_DIG(struct odm_dm_struct *pDM_Odm, u8 CurrentIGI) pDM_Odm 296 drivers/staging/rtl8188eu/hal/odm.c struct rtw_dig *pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 297 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapter = pDM_Odm->Adapter; pDM_Odm 305 drivers/staging/rtl8188eu/hal/odm.c void odm_DIGInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 307 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapter = pDM_Odm->Adapter; pDM_Odm 308 drivers/staging/rtl8188eu/hal/odm.c struct rtw_dig *pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 331 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bDMInitialGainEnable = true; pDM_Odm 334 drivers/staging/rtl8188eu/hal/odm.c void odm_DIG(struct odm_dm_struct *pDM_Odm) pDM_Odm 336 drivers/staging/rtl8188eu/hal/odm.c struct rtw_dig *pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 337 drivers/staging/rtl8188eu/hal/odm.c struct false_alarm_stats *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt; pDM_Odm 344 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG()==>\n")); pDM_Odm 345 drivers/staging/rtl8188eu/hal/odm.c if ((!(pDM_Odm->SupportAbility&ODM_BB_DIG)) || (!(pDM_Odm->SupportAbility&ODM_BB_FA_CNT))) { pDM_Odm 346 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, pDM_Odm 351 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->pbScanInProcess)) { pDM_Odm 352 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() Return: In Scan Progress\n")); pDM_Odm 357 drivers/staging/rtl8188eu/hal/odm.c if (!pDM_Odm->bDMInitialGainEnable) { pDM_Odm 358 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() Return: PSD is Processing\n")); pDM_Odm 363 drivers/staging/rtl8188eu/hal/odm.c FirstConnect = (pDM_Odm->bLinked) && (!pDM_DigTable->bMediaConnect_0); pDM_Odm 364 drivers/staging/rtl8188eu/hal/odm.c FirstDisConnect = (!pDM_Odm->bLinked) && (pDM_DigTable->bMediaConnect_0); pDM_Odm 371 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->bLinked) { pDM_Odm 373 drivers/staging/rtl8188eu/hal/odm.c if ((pDM_Odm->RSSI_Min + 20) > dm_dig_max) pDM_Odm 375 drivers/staging/rtl8188eu/hal/odm.c else if ((pDM_Odm->RSSI_Min + 20) < dm_dig_min) pDM_Odm 378 drivers/staging/rtl8188eu/hal/odm.c pDM_DigTable->rx_gain_range_max = pDM_Odm->RSSI_Min + 20; pDM_Odm 380 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->bOneEntryOnly) { pDM_Odm 381 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->RSSI_Min < dm_dig_min) pDM_Odm 383 drivers/staging/rtl8188eu/hal/odm.c else if (pDM_Odm->RSSI_Min > DIG_MaxOfMin) pDM_Odm 386 drivers/staging/rtl8188eu/hal/odm.c DIG_Dynamic_MIN = pDM_Odm->RSSI_Min; pDM_Odm 387 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, pDM_Odm 390 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, pDM_Odm 392 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RSSI_Min)); pDM_Odm 393 drivers/staging/rtl8188eu/hal/odm.c } else if (pDM_Odm->SupportAbility & ODM_BB_ANT_DIV) { pDM_Odm 395 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->AntDivType == CG_TRX_HW_ANTDIV) { pDM_Odm 397 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, pDM_Odm 407 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() : No Link\n")); pDM_Odm 412 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("dm_DIG(): Abnormally false alarm case.\n")); pDM_Odm 438 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: At Lower Bound\n")); pDM_Odm 442 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: Approach Lower Bound\n")); pDM_Odm 449 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, pDM_Odm 454 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->bLinked) { pDM_Odm 455 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG AfterLink\n")); pDM_Odm 457 drivers/staging/rtl8188eu/hal/odm.c CurrentIGI = pDM_Odm->RSSI_Min; pDM_Odm 458 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("DIG: First Connect\n")); pDM_Odm 468 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG BeforeLink\n")); pDM_Odm 471 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): First DisConnect\n")); pDM_Odm 480 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): England DIG\n")); pDM_Odm 483 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): DIG End Adjust IGI\n")); pDM_Odm 490 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, pDM_Odm 493 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): TotalFA=%d\n", pFalseAlmCnt->Cnt_all)); pDM_Odm 494 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): CurIGValue=0x%x\n", CurrentIGI)); pDM_Odm 498 drivers/staging/rtl8188eu/hal/odm.c ODM_Write_DIG(pDM_Odm, CurrentIGI);/* ODM_Write_DIG(pDM_Odm, pDM_DigTable->CurIGValue); */ pDM_Odm 499 drivers/staging/rtl8188eu/hal/odm.c pDM_DigTable->bMediaConnect_0 = pDM_Odm->bLinked; pDM_Odm 507 drivers/staging/rtl8188eu/hal/odm.c void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm) pDM_Odm 509 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapter = pDM_Odm->Adapter; pDM_Odm 511 drivers/staging/rtl8188eu/hal/odm.c struct false_alarm_stats *FalseAlmCnt = &(pDM_Odm->FalseAlmCnt); pDM_Odm 513 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT)) pDM_Odm 562 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Enter odm_FalseAlarmCounterStatistics\n")); pDM_Odm 563 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, pDM_Odm 566 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, pDM_Odm 569 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, pDM_Odm 572 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Cnt_Cck_fail=%d\n", FalseAlmCnt->Cnt_Cck_fail)); pDM_Odm 573 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Cnt_Ofdm_fail=%d\n", FalseAlmCnt->Cnt_Ofdm_fail)); pDM_Odm 574 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_FA_CNT, ODM_DBG_LOUD, ("Total False Alarm=%d\n", FalseAlmCnt->Cnt_all)); pDM_Odm 581 drivers/staging/rtl8188eu/hal/odm.c void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm) pDM_Odm 584 drivers/staging/rtl8188eu/hal/odm.c struct false_alarm_stats *FalseAlmCnt = &(pDM_Odm->FalseAlmCnt); pDM_Odm 586 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & (ODM_BB_CCK_PD|ODM_BB_FA_CNT))) pDM_Odm 588 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->ExtLNA) pDM_Odm 590 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->bLinked) { pDM_Odm 591 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->RSSI_Min > 25) { pDM_Odm 593 drivers/staging/rtl8188eu/hal/odm.c } else if ((pDM_Odm->RSSI_Min <= 25) && (pDM_Odm->RSSI_Min > 10)) { pDM_Odm 607 drivers/staging/rtl8188eu/hal/odm.c ODM_Write_CCK_CCA_Thres(pDM_Odm, CurCCK_CCAThres); pDM_Odm 610 drivers/staging/rtl8188eu/hal/odm.c void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres) pDM_Odm 612 drivers/staging/rtl8188eu/hal/odm.c struct rtw_dig *pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 613 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapt = pDM_Odm->Adapter; pDM_Odm 621 drivers/staging/rtl8188eu/hal/odm.c void ODM_RF_Saving(struct odm_dm_struct *pDM_Odm, u8 bForceInNormal) pDM_Odm 623 drivers/staging/rtl8188eu/hal/odm.c struct adapter *adapter = pDM_Odm->Adapter; pDM_Odm 624 drivers/staging/rtl8188eu/hal/odm.c struct rtl_ps *pDM_PSTable = &pDM_Odm->DM_PSTable; pDM_Odm 628 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->PatchID == 40) { /* RT_CID_819x_FUNAI_TV */ pDM_Odm 641 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->RSSI_Min != 0xFF) { pDM_Odm 643 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->RSSI_Min >= Rssi_Up_bound) pDM_Odm 648 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->RSSI_Min <= Rssi_Low_bound) pDM_Odm 687 drivers/staging/rtl8188eu/hal/odm.c void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 689 drivers/staging/rtl8188eu/hal/odm.c struct odm_rate_adapt *pOdmRA = &pDM_Odm->RateAdaptive; pDM_Odm 693 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bUseRAMask = true; pDM_Odm 695 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->bUseRAMask = false; pDM_Odm 702 drivers/staging/rtl8188eu/hal/odm.c u32 ODM_Get_Rate_Bitmap(struct odm_dm_struct *pDM_Odm, u32 macid, u32 ra_mask, u8 rssi_level) pDM_Odm 708 drivers/staging/rtl8188eu/hal/odm.c pEntry = pDM_Odm->pODM_StaInfo[macid]; pDM_Odm 742 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->pBandWidth) == ODM_BW40M) pDM_Odm 755 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, pDM_Odm 763 drivers/staging/rtl8188eu/hal/odm.c void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm) pDM_Odm 765 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_RA_MASK)) pDM_Odm 772 drivers/staging/rtl8188eu/hal/odm.c odm_RefreshRateAdaptiveMaskCE(pDM_Odm); pDM_Odm 775 drivers/staging/rtl8188eu/hal/odm.c void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm) pDM_Odm 778 drivers/staging/rtl8188eu/hal/odm.c struct adapter *pAdapter = pDM_Odm->Adapter; pDM_Odm 781 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("<---- odm_RefreshRateAdaptiveMask(): driver is going to unload\n")); pDM_Odm 785 drivers/staging/rtl8188eu/hal/odm.c if (!pDM_Odm->bUseRAMask) { pDM_Odm 786 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, ("<---- odm_RefreshRateAdaptiveMask(): driver does not control rate adaptive mask\n")); pDM_Odm 791 drivers/staging/rtl8188eu/hal/odm.c struct sta_info *pstat = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 794 drivers/staging/rtl8188eu/hal/odm.c if (ODM_RAStateCheck(pDM_Odm, pstat->rssi_stat.UndecoratedSmoothedPWDB, false, &pstat->rssi_level)) { pDM_Odm 795 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, pDM_Odm 806 drivers/staging/rtl8188eu/hal/odm.c bool ODM_RAStateCheck(struct odm_dm_struct *pDM_Odm, s32 RSSI, bool bForceUpdate, u8 *pRATRState) pDM_Odm 808 drivers/staging/rtl8188eu/hal/odm.c struct odm_rate_adapt *pRA = &pDM_Odm->RateAdaptive; pDM_Odm 829 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_ASSERT(pDM_Odm, false, ("wrong rssi level setting %d !", *pRATRState)); pDM_Odm 842 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, ("RSSI Level %d -> %d\n", *pRATRState, RATRState)); pDM_Odm 853 drivers/staging/rtl8188eu/hal/odm.c void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 855 drivers/staging/rtl8188eu/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 867 drivers/staging/rtl8188eu/hal/odm.c void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm) pDM_Odm 869 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_RSSI_MONITOR)) pDM_Odm 877 drivers/staging/rtl8188eu/hal/odm.c odm_RSSIMonitorCheckCE(pDM_Odm); pDM_Odm 888 drivers/staging/rtl8188eu/hal/odm.c void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm) pDM_Odm 890 drivers/staging/rtl8188eu/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 903 drivers/staging/rtl8188eu/hal/odm.c psta = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 944 drivers/staging/rtl8188eu/hal/odm.c void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 946 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.bTXPowerTracking = true; pDM_Odm 947 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.TXPowercount = 0; pDM_Odm 948 drivers/staging/rtl8188eu/hal/odm.c if (*(pDM_Odm->mp_mode) != 1) pDM_Odm 949 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true; pDM_Odm 950 drivers/staging/rtl8188eu/hal/odm.c MSG_88E("pDM_Odm TxPowerTrackControl = %d\n", pDM_Odm->RFCalibrateInfo.TxPowerTrackControl); pDM_Odm 952 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.TxPowerTrackControl = true; pDM_Odm 955 drivers/staging/rtl8188eu/hal/odm.c void ODM_TXPowerTrackingCheck(struct odm_dm_struct *pDM_Odm) pDM_Odm 960 drivers/staging/rtl8188eu/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 962 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_RF_TX_PWR_TRACK)) pDM_Odm 965 drivers/staging/rtl8188eu/hal/odm.c if (!pDM_Odm->RFCalibrateInfo.TM_Trigger) { /* at least delay 1 sec */ pDM_Odm 968 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.TM_Trigger = 1; pDM_Odm 972 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->RFCalibrateInfo.TM_Trigger = 0; pDM_Odm 980 drivers/staging/rtl8188eu/hal/odm.c void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm) pDM_Odm 982 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV)) { pDM_Odm 983 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, ("Return: Not Support HW AntDiv\n")); pDM_Odm 987 drivers/staging/rtl8188eu/hal/odm.c rtl88eu_dm_antenna_div_init(pDM_Odm); pDM_Odm 990 drivers/staging/rtl8188eu/hal/odm.c void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm) pDM_Odm 992 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_ANT_DIV)) { pDM_Odm 993 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_ANT_DIV, ODM_DBG_LOUD, ("Return: Not Support HW AntDiv\n")); pDM_Odm 997 drivers/staging/rtl8188eu/hal/odm.c rtl88eu_dm_antenna_diversity(pDM_Odm); pDM_Odm 1001 drivers/staging/rtl8188eu/hal/odm.c void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm) pDM_Odm 1003 drivers/staging/rtl8188eu/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1005 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false; pDM_Odm 1006 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DM_EDCA_Table.bIsCurRDLState = false; pDM_Odm 1009 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("Original VO PARAM: 0x%x\n", usb_read32(Adapter, ODM_EDCA_VO_PARAM))); pDM_Odm 1010 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("Original VI PARAM: 0x%x\n", usb_read32(Adapter, ODM_EDCA_VI_PARAM))); pDM_Odm 1011 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("Original BE PARAM: 0x%x\n", usb_read32(Adapter, ODM_EDCA_BE_PARAM))); pDM_Odm 1012 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("Original BK PARAM: 0x%x\n", usb_read32(Adapter, ODM_EDCA_BK_PARAM))); pDM_Odm 1015 drivers/staging/rtl8188eu/hal/odm.c void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm) pDM_Odm 1020 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("odm_EdcaTurboCheck========================>\n")); pDM_Odm 1022 drivers/staging/rtl8188eu/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_MAC_EDCA_TURBO)) pDM_Odm 1025 drivers/staging/rtl8188eu/hal/odm.c odm_EdcaTurboCheckCE(pDM_Odm); pDM_Odm 1026 drivers/staging/rtl8188eu/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, ("<========================odm_EdcaTurboCheck\n")); pDM_Odm 1029 drivers/staging/rtl8188eu/hal/odm.c void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm) pDM_Odm 1031 drivers/staging/rtl8188eu/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1074 drivers/staging/rtl8188eu/hal/odm.c if ((pDM_Odm->DM_EDCA_Table.prv_traffic_idx != trafficIndex) || (!pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA)) { pDM_Odm 1082 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DM_EDCA_Table.prv_traffic_idx = trafficIndex; pDM_Odm 1085 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = true; pDM_Odm 1089 drivers/staging/rtl8188eu/hal/odm.c if (pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA) { pDM_Odm 1092 drivers/staging/rtl8188eu/hal/odm.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false; pDM_Odm 1046 drivers/staging/rtl8188eu/include/odm.h void ODM_RF_Saving(struct odm_dm_struct *pDM_Odm, u8 bForceInNormal); pDM_Odm 1047 drivers/staging/rtl8188eu/include/odm.h void ODM_TXPowerTrackingCheck(struct odm_dm_struct *pDM_Odm); pDM_Odm 1048 drivers/staging/rtl8188eu/include/odm.h void ODM_Write_CCK_CCA_Thres(struct odm_dm_struct *pDM_Odm, u8 CurCCK_CCAThres); pDM_Odm 1049 drivers/staging/rtl8188eu/include/odm.h bool ODM_RAStateCheck(struct odm_dm_struct *pDM_Odm, s32 RSSI, pDM_Odm 1052 drivers/staging/rtl8188eu/include/odm.h u32 ODM_Get_Rate_Bitmap(struct odm_dm_struct *pDM_Odm, u32 macid, pDM_Odm 1054 drivers/staging/rtl8188eu/include/odm.h void ODM_CmnInfoInit(struct odm_dm_struct *pDM_Odm, pDM_Odm 1056 drivers/staging/rtl8188eu/include/odm.h void ODM_CmnInfoUpdate(struct odm_dm_struct *pDM_Odm, u32 CmnInfo, u64 Value); pDM_Odm 1057 drivers/staging/rtl8188eu/include/odm.h void ODM_CmnInfoHook(struct odm_dm_struct *pDM_Odm, pDM_Odm 1059 drivers/staging/rtl8188eu/include/odm.h void ODM_CmnInfoPtrArrayHook(struct odm_dm_struct *pDM_Odm, pDM_Odm 1062 drivers/staging/rtl8188eu/include/odm.h void ODM_DMInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 1063 drivers/staging/rtl8188eu/include/odm.h void ODM_DMWatchdog(struct odm_dm_struct *pDM_Odm); pDM_Odm 1064 drivers/staging/rtl8188eu/include/odm.h void ODM_Write_DIG(struct odm_dm_struct *pDM_Odm, u8 CurrentIGI); pDM_Odm 80 drivers/staging/rtl8188eu/include/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) \ pDM_Odm 81 drivers/staging/rtl8188eu/include/odm_debug.h if (((comp) & pDM_Odm->DebugComponents) && \ pDM_Odm 82 drivers/staging/rtl8188eu/include/odm_debug.h (level <= pDM_Odm->DebugLevel)) { \ pDM_Odm 87 drivers/staging/rtl8188eu/include/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) \ pDM_Odm 96 drivers/staging/rtl8188eu/include/odm_debug.h void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm); pDM_Odm 96 drivers/staging/rtl8188eu/include/odm_hwconfig.h void ODM_PhyStatusQuery(struct odm_dm_struct *pDM_Odm, pDM_Odm 36 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CmnInfoHook_Debug(struct odm_dm_struct *pDM_Odm); pDM_Odm 37 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CmnInfoInit_Debug(struct odm_dm_struct *pDM_Odm); pDM_Odm 38 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DIGInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 39 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 40 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 41 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DynamicTxPowerInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 42 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 43 drivers/staging/rtl8188eu/include/odm_precomp.h void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 44 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_SwAntDivInit_NIC(struct odm_dm_struct *pDM_Odm); pDM_Odm 45 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CmnInfoUpdate_Debug(struct odm_dm_struct *pDM_Odm); pDM_Odm 46 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm); pDM_Odm 47 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_FalseAlarmCounterStatistics(struct odm_dm_struct *pDM_Odm); pDM_Odm 48 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DIG(struct odm_dm_struct *pDM_Odm); pDM_Odm 49 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm); pDM_Odm 50 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RefreshRateAdaptiveMaskMP(struct odm_dm_struct *pDM_Odm); pDM_Odm 51 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DynamicBBPowerSaving(struct odm_dm_struct *pDM_Odm); pDM_Odm 52 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_SwAntDivChkAntSwitch(struct odm_dm_struct *pDM_Odm, u8 Step); pDM_Odm 53 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_EdcaTurboCheck(struct odm_dm_struct *pDM_Odm); pDM_Odm 54 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_CommonInfoSelfInit(struct odm_dm_struct *pDM_Odm); pDM_Odm 55 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RSSIMonitorCheck(struct odm_dm_struct *pDM_Odm); pDM_Odm 56 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RefreshRateAdaptiveMask(struct odm_dm_struct *pDM_Odm); pDM_Odm 57 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_1R_CCA(struct odm_dm_struct *pDM_Odm); pDM_Odm 58 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RefreshRateAdaptiveMaskCE(struct odm_dm_struct *pDM_Odm); pDM_Odm 59 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RefreshRateAdaptiveMaskAPADSL(struct odm_dm_struct *pDM_Odm); pDM_Odm 60 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_DynamicTxPowerNIC(struct odm_dm_struct *pDM_Odm); pDM_Odm 61 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_RSSIMonitorCheckCE(struct odm_dm_struct *pDM_Odm); pDM_Odm 62 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_EdcaTurboCheckCE(struct odm_dm_struct *pDM_Odm); pDM_Odm 64 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_InitHybridAntDiv(struct odm_dm_struct *pDM_Odm); pDM_Odm 65 drivers/staging/rtl8188eu/include/odm_precomp.h void odm_HwAntDiv(struct odm_dm_struct *pDM_Odm); pDM_Odm 17 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void ODM_DIG_LowerBound_88E(struct odm_dm_struct *pDM_Odm); pDM_Odm 31 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void odm_FastAntTraining(struct odm_dm_struct *pDM_Odm); pDM_Odm 33 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void odm_FastAntTrainingCallback(struct odm_dm_struct *pDM_Odm); pDM_Odm 35 drivers/staging/rtl8188eu/include/odm_rtl8188e.h void odm_FastAntTrainingWorkItemCallback(struct odm_dm_struct *pDM_Odm); pDM_Odm 37 drivers/staging/rtl8188eu/include/odm_rtl8188e.h bool ODM_DynamicPrimaryCCA_DupRTS(struct odm_dm_struct *pDM_Odm); pDM_Odm 12 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 16 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /* _GLNA */ pDM_Odm 17 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c ((pDM_Odm->BoardType & BIT3) >> 3) << 1 | /* _GPA */ pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c ((pDM_Odm->BoardType & BIT7) >> 7) << 2 | /* _ALNA */ pDM_Odm 19 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c ((pDM_Odm->BoardType & BIT6) >> 6) << 3 | /* _APA */ pDM_Odm 20 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c ((pDM_Odm->BoardType & BIT2) >> 2) << 4; /* _BT */ pDM_Odm 24 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->CutVersion << 24 | pDM_Odm 25 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->SupportPlatform << 16 | pDM_Odm 26 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->PackageType << 12 | pDM_Odm 27 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->SupportInterface << 8 | pDM_Odm 31 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->TypeGLNA << 0 | pDM_Odm 32 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->TypeGPA << 8 | pDM_Odm 33 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->TypeALNA << 16 | pDM_Odm 34 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->TypeAPA << 24; pDM_Odm 37 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 47 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 58 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 62 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->SupportPlatform, pDM_Odm 63 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->SupportInterface pDM_Odm 67 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 72 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->BoardType, pDM_Odm 73 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->PackageType pDM_Odm 115 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 260 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c void ODM_ReadAndConfig_MP_8723B_AGC_TAB(PDM_ODM_T pDM_Odm) pDM_Odm 267 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 279 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c odm_ConfigBB_AGC_8723B(pDM_Odm, v1, bMaskDWord, v2); pDM_Odm 289 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c } else if (!CheckPositive(pDM_Odm, v1, v2)) { pDM_Odm 295 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c if (!CheckNegative(pDM_Odm, v1, v2)) pDM_Odm 313 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c odm_ConfigBB_AGC_8723B(pDM_Odm, v1, bMaskDWord, v2); pDM_Odm 529 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c void ODM_ReadAndConfig_MP_8723B_PHY_REG(PDM_ODM_T pDM_Odm) pDM_Odm 536 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 548 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c odm_ConfigBB_PHY_8723B(pDM_Odm, v1, bMaskDWord, v2); pDM_Odm 558 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c } else if (!CheckPositive(pDM_Odm, v1, v2)) { pDM_Odm 564 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c if (!CheckNegative(pDM_Odm, v1, v2)) pDM_Odm 581 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c odm_ConfigBB_PHY_8723B(pDM_Odm, v1, bMaskDWord, v2); pDM_Odm 609 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(PDM_ODM_T pDM_Odm) pDM_Odm 615 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm, pDM_Odm 621 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->PhyRegPgVersion = 1; pDM_Odm 622 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c pDM_Odm->PhyRegPgValueType = PHY_REG_PG_EXACT_VALUE; pDM_Odm 632 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c odm_ConfigBB_PHY_REG_PG_8723B(pDM_Odm, v1, v2, v3, v4, v5, v6); pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h PDM_ODM_T pDM_Odm pDM_Odm 27 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h PDM_ODM_T pDM_Odm pDM_Odm 36 drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h PDM_ODM_T pDM_Odm pDM_Odm 12 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 16 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /* _GLNA */ pDM_Odm 17 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c ((pDM_Odm->BoardType & BIT3) >> 3) << 1 | /* _GPA */ pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c ((pDM_Odm->BoardType & BIT7) >> 7) << 2 | /* _ALNA */ pDM_Odm 19 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c ((pDM_Odm->BoardType & BIT6) >> 6) << 3 | /* _APA */ pDM_Odm 20 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c ((pDM_Odm->BoardType & BIT2) >> 2) << 4; /* _BT */ pDM_Odm 24 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->CutVersion << 24 | pDM_Odm 25 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->SupportPlatform << 16 | pDM_Odm 26 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->PackageType << 12 | pDM_Odm 27 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->SupportInterface << 8 | pDM_Odm 31 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->TypeGLNA << 0 | pDM_Odm 32 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->TypeGPA << 8 | pDM_Odm 33 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->TypeALNA << 16 | pDM_Odm 34 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->TypeAPA << 24; pDM_Odm 37 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm, pDM_Odm 47 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm, pDM_Odm 58 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm, pDM_Odm 63 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->SupportPlatform, pDM_Odm 64 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->SupportInterface pDM_Odm 68 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm, pDM_Odm 73 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->BoardType, pDM_Odm 74 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm->PackageType pDM_Odm 114 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 231 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c void ODM_ReadAndConfig_MP_8723B_MAC_REG(PDM_ODM_T pDM_Odm) pDM_Odm 238 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c pDM_Odm, pDM_Odm 250 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c odm_ConfigMAC_8723B(pDM_Odm, v1, (u8)v2); pDM_Odm 260 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c } else if (!CheckPositive(pDM_Odm, v1, v2)) { pDM_Odm 266 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c if (!CheckNegative(pDM_Odm, v1, v2)) pDM_Odm 281 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c odm_ConfigMAC_8723B(pDM_Odm, v1, (u8)v2); pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h PDM_ODM_T pDM_Odm pDM_Odm 12 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 16 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c ((pDM_Odm->BoardType & BIT4) >> 4) << 0 | /* _GLNA */ pDM_Odm 17 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c ((pDM_Odm->BoardType & BIT3) >> 3) << 1 | /* _GPA */ pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c ((pDM_Odm->BoardType & BIT7) >> 7) << 2 | /* _ALNA */ pDM_Odm 19 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c ((pDM_Odm->BoardType & BIT6) >> 6) << 3 | /* _APA */ pDM_Odm 20 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c ((pDM_Odm->BoardType & BIT2) >> 2) << 4; /* _BT */ pDM_Odm 24 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->CutVersion << 24 | pDM_Odm 25 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->SupportPlatform << 16 | pDM_Odm 26 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->PackageType << 12 | pDM_Odm 27 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->SupportInterface << 8 | pDM_Odm 31 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->TypeGLNA << 0 | pDM_Odm 32 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->TypeGPA << 8 | pDM_Odm 33 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->TypeALNA << 16 | pDM_Odm 34 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->TypeAPA << 24; pDM_Odm 37 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 47 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 58 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 63 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->SupportPlatform, pDM_Odm 64 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->SupportInterface pDM_Odm 68 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 73 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->BoardType, pDM_Odm 74 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm->PackageType pDM_Odm 124 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c PDM_ODM_T pDM_Odm, const u32 Condition1, const u32 Condition2 pDM_Odm 262 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c void ODM_ReadAndConfig_MP_8723B_RadioA(PDM_ODM_T pDM_Odm) pDM_Odm 269 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 281 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c odm_ConfigRF_RadioA_8723B(pDM_Odm, v1, v2); pDM_Odm 291 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c } else if (!CheckPositive(pDM_Odm, v1, v2)) { pDM_Odm 297 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c if (!CheckNegative(pDM_Odm, v1, v2)) pDM_Odm 315 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c odm_ConfigRF_RadioA_8723B(pDM_Odm, v1, v2); pDM_Odm 423 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c void ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO(PDM_ODM_T pDM_Odm) pDM_Odm 425 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 428 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 758 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c void ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(PDM_ODM_T pDM_Odm) pDM_Odm 764 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 780 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c pDM_Odm, pDM_Odm 18 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h PDM_ODM_T pDM_Odm pDM_Odm 27 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h PDM_ODM_T pDM_Odm pDM_Odm 37 drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h PDM_ODM_T pDM_Odm pDM_Odm 26 drivers/staging/rtl8723bs/hal/HalPhyRf.c void ConfigureTxpowerTrack(PDM_ODM_T pDM_Odm, PTXPWRTRACK_CFG pConfig) pDM_Odm 39 drivers/staging/rtl8723bs/hal/HalPhyRf.c void ODM_ClearTxPowerTrackingState(PDM_ODM_T pDM_Odm) pDM_Odm 41 drivers/staging/rtl8723bs/hal/HalPhyRf.c struct hal_com_data *pHalData = GET_HAL_DATA(pDM_Odm->Adapter); pDM_Odm 44 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase = pDM_Odm->DefaultCckIndex; pDM_Odm 45 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCck = pDM_Odm->DefaultCckIndex; pDM_Odm 46 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.CCK_index = 0; pDM_Odm 49 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[p] = pDM_Odm->DefaultOfdmIndex; pDM_Odm 50 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdm[p] = pDM_Odm->DefaultOfdmIndex; pDM_Odm 51 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p] = pDM_Odm->DefaultOfdmIndex; pDM_Odm 53 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0; pDM_Odm 54 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[p] = 0; pDM_Odm 55 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[p] = 0; pDM_Odm 56 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0; pDM_Odm 59 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[p] = 0; pDM_Odm 60 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Remnant_OFDMSwingIdx[p] = 0; pDM_Odm 64 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Modify_TxAGC_Flag_PathA = false; pDM_Odm 66 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Modify_TxAGC_Flag_PathB = false; pDM_Odm 67 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Remnant_CCKSwingIdx = 0; pDM_Odm 68 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue = pHalData->EEPROMThermalMeter; pDM_Odm 69 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_IQK = pHalData->EEPROMThermalMeter; pDM_Odm 70 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_LCK = pHalData->EEPROMThermalMeter; pDM_Odm 77 drivers/staging/rtl8723bs/hal/HalPhyRf.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 97 drivers/staging/rtl8723bs/hal/HalPhyRf.c ConfigureTxpowerTrack(pDM_Odm, &c); pDM_Odm 100 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 108 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.TXPowerTrackingCallbackCnt++; pDM_Odm 109 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.bTXPowerTrackingInit = true; pDM_Odm 112 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 117 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase, pDM_Odm 118 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[ODM_RF_PATH_A], pDM_Odm 119 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->DefaultOfdmIndex pDM_Odm 123 drivers/staging/rtl8723bs/hal/HalPhyRf.c ThermalValue = (u8)PHY_QueryRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, c.ThermalRegAddr, 0xfc00); /* 0x42: RF Reg[15:10] 88E */ pDM_Odm 125 drivers/staging/rtl8723bs/hal/HalPhyRf.c !pDM_Odm->RFCalibrateInfo.TxPowerTrackControl || pDM_Odm 133 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (pDM_Odm->RFCalibrateInfo.bReloadtxpowerindex) pDM_Odm 135 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 142 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_AVG[pDM_Odm->RFCalibrateInfo.ThermalValue_AVG_index] = ThermalValue; pDM_Odm 143 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_AVG_index++; pDM_Odm 144 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (pDM_Odm->RFCalibrateInfo.ThermalValue_AVG_index == c.AverageThermalNum) /* Average times = c.AverageThermalNum */ pDM_Odm 145 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_AVG_index = 0; pDM_Odm 148 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (pDM_Odm->RFCalibrateInfo.ThermalValue_AVG[i]) { pDM_Odm 149 drivers/staging/rtl8723bs/hal/HalPhyRf.c ThermalValue_AVG += pDM_Odm->RFCalibrateInfo.ThermalValue_AVG[i]; pDM_Odm 158 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 172 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue > pDM_Odm->RFCalibrateInfo.ThermalValue) ? pDM_Odm 173 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue - pDM_Odm->RFCalibrateInfo.ThermalValue) : pDM_Odm 174 drivers/staging/rtl8723bs/hal/HalPhyRf.c (pDM_Odm->RFCalibrateInfo.ThermalValue - ThermalValue); pDM_Odm 176 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue > pDM_Odm->RFCalibrateInfo.ThermalValue_LCK) ? pDM_Odm 177 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue - pDM_Odm->RFCalibrateInfo.ThermalValue_LCK) : pDM_Odm 178 drivers/staging/rtl8723bs/hal/HalPhyRf.c (pDM_Odm->RFCalibrateInfo.ThermalValue_LCK - ThermalValue); pDM_Odm 180 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue > pDM_Odm->RFCalibrateInfo.ThermalValue_IQK) ? pDM_Odm 181 drivers/staging/rtl8723bs/hal/HalPhyRf.c (ThermalValue - pDM_Odm->RFCalibrateInfo.ThermalValue_IQK) : pDM_Odm 182 drivers/staging/rtl8723bs/hal/HalPhyRf.c (pDM_Odm->RFCalibrateInfo.ThermalValue_IQK - ThermalValue); pDM_Odm 185 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 200 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 209 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue_LCK = ThermalValue; pDM_Odm 211 drivers/staging/rtl8723bs/hal/HalPhyRf.c (*c.PHY_LCCalibrate)(pDM_Odm); pDM_Odm 215 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (delta > 0 && pDM_Odm->RFCalibrateInfo.TxPowerTrackControl) { pDM_Odm 228 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 237 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[ODM_RF_PATH_A] = pDM_Odm 238 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_A]; pDM_Odm 239 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_A] = pDM_Odm 243 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = pDM_Odm 247 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 252 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] pDM_Odm 258 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 267 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[ODM_RF_PATH_B] = pDM_Odm 268 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_B]; pDM_Odm 269 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_B] = pDM_Odm 273 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = pDM_Odm 276 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 281 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] pDM_Odm 288 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 298 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[ODM_RF_PATH_A] = pDM_Odm 299 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_A]; pDM_Odm 300 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_A] = pDM_Odm 304 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = pDM_Odm 308 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 313 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] pDM_Odm 319 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 329 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[ODM_RF_PATH_B] = pDM_Odm 330 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_B]; pDM_Odm 331 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[ODM_RF_PATH_B] = pDM_Odm 335 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = pDM_Odm 339 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 344 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] pDM_Odm 352 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 362 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[p] == pDM_Odm 363 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[p] pDM_Odm 365 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0; pDM_Odm 367 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[p] - pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[p]; /* Power Index Diff between 2 times Power Tracking */ pDM_Odm 370 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 377 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p], pDM_Odm 378 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[p], pDM_Odm 379 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[p] pDM_Odm 383 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p] = pDM_Odm 384 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[p] + pDM_Odm 385 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p]; pDM_Odm 387 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.CCK_index = pDM_Odm 388 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase + pDM_Odm 389 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p]; pDM_Odm 391 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCck = pDM_Odm 392 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.CCK_index; pDM_Odm 394 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdm[p] = pDM_Odm 395 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p]; pDM_Odm 399 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 404 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCck, pDM_Odm 405 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase, pDM_Odm 406 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] pDM_Odm 410 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 415 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdm[p], pDM_Odm 417 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[p], pDM_Odm 418 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] pDM_Odm 423 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (pDM_Odm->RFCalibrateInfo.OFDM_index[p] > c.SwingTableSize_OFDM-1) pDM_Odm 424 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p] = c.SwingTableSize_OFDM-1; pDM_Odm 425 drivers/staging/rtl8723bs/hal/HalPhyRf.c else if (pDM_Odm->RFCalibrateInfo.OFDM_index[p] < OFDM_min_index) pDM_Odm 426 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p] = OFDM_min_index; pDM_Odm 429 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 434 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (pDM_Odm->RFCalibrateInfo.CCK_index > c.SwingTableSize_CCK-1) pDM_Odm 435 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.CCK_index = c.SwingTableSize_CCK-1; pDM_Odm 440 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 445 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.TxPowerTrackControl, pDM_Odm 447 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue pDM_Odm 452 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0; pDM_Odm 455 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 460 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.CCK_index, pDM_Odm 461 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase pDM_Odm 468 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 473 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.OFDM_index[p], pDM_Odm 475 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[p] pDM_Odm 481 drivers/staging/rtl8723bs/hal/HalPhyRf.c (pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_A] != 0 || pDM_Odm 482 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_B] != 0) && pDM_Odm 483 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.TxPowerTrackControl pDM_Odm 487 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.bTxPowerChanged = true; /* Always true after Tx Power is adjusted by power tracking. */ pDM_Odm 493 drivers/staging/rtl8723bs/hal/HalPhyRf.c if (ThermalValue > pDM_Odm->RFCalibrateInfo.ThermalValue) { pDM_Odm 495 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 500 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_A], pDM_Odm 504 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue pDM_Odm 510 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 515 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_B], pDM_Odm 519 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue pDM_Odm 523 drivers/staging/rtl8723bs/hal/HalPhyRf.c } else if (ThermalValue < pDM_Odm->RFCalibrateInfo.ThermalValue) { /* Low temperature */ pDM_Odm 525 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 530 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_A], pDM_Odm 534 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue pDM_Odm 540 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 545 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[ODM_RF_PATH_B], pDM_Odm 549 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue pDM_Odm 557 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 568 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 574 drivers/staging/rtl8723bs/hal/HalPhyRf.c (*c.ODM_TxPwrTrackSetPwr)(pDM_Odm, MIX_MODE, p, 0); pDM_Odm 577 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 588 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 594 drivers/staging/rtl8723bs/hal/HalPhyRf.c (*c.ODM_TxPwrTrackSetPwr)(pDM_Odm, MIX_MODE, p, Indexforchannel); pDM_Odm 598 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxCckBase = pDM_Odm->BbSwingIdxCck; pDM_Odm 600 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->BbSwingIdxOfdmBase[p] = pDM_Odm->BbSwingIdxOfdm[p]; pDM_Odm 603 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 607 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue, pDM_Odm 613 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.ThermalValue = ThermalValue; pDM_Odm 617 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm, pDM_Odm 623 drivers/staging/rtl8723bs/hal/HalPhyRf.c pDM_Odm->RFCalibrateInfo.TXPowercount = 0; pDM_Odm 40 drivers/staging/rtl8723bs/hal/HalPhyRf.h void ConfigureTxpowerTrack(PDM_ODM_T pDM_Odm, PTXPWRTRACK_CFG pConfig); pDM_Odm 43 drivers/staging/rtl8723bs/hal/HalPhyRf.h void ODM_ClearTxPowerTrackingState(PDM_ODM_T pDM_Odm); pDM_Odm 57 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 72 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if ((IqkResult_X != 0) && (*(pDM_Odm->pBandType) == ODM_BAND_2_4G)) { pDM_Odm 87 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord, value32); pDM_Odm 90 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, bMaskH4Bits, value32); pDM_Odm 93 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT24, value32); pDM_Odm 98 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, bMaskDWord, value32); pDM_Odm 101 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XDTxAFE, bMaskH4Bits, value32); pDM_Odm 104 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT28, value32); pDM_Odm 113 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord, OFDMSwingTable_New[OFDM_index]); pDM_Odm 114 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, bMaskH4Bits, 0x00); pDM_Odm 115 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT24, 0x00); pDM_Odm 119 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, bMaskDWord, OFDMSwingTable_New[OFDM_index]); pDM_Odm 120 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XDTxAFE, bMaskH4Bits, 0x00); pDM_Odm 121 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT28, 0x00); pDM_Odm 129 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, ("TxPwrTracking path B: X = 0x%x, Y = 0x%x ele_A = 0x%x ele_C = 0x%x ele_D = 0x%x 0xeb4 = 0x%x 0xebc = 0x%x\n", pDM_Odm 134 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c static void setCCKFilterCoefficient(PDM_ODM_T pDM_Odm, u8 CCKSwingIndex) pDM_Odm 136 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (!pDM_Odm->RFCalibrateInfo.bCCKinCH14) { pDM_Odm 137 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][0]); pDM_Odm 138 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa23, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][1]); pDM_Odm 139 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa24, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][2]); pDM_Odm 140 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa25, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][3]); pDM_Odm 141 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa26, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][4]); pDM_Odm 142 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa27, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][5]); pDM_Odm 143 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa28, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][6]); pDM_Odm 144 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa29, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][7]); pDM_Odm 146 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch14_New[CCKSwingIndex][0]); pDM_Odm 147 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa23, CCKSwingTable_Ch14_New[CCKSwingIndex][1]); pDM_Odm 148 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa24, CCKSwingTable_Ch14_New[CCKSwingIndex][2]); pDM_Odm 149 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa25, CCKSwingTable_Ch14_New[CCKSwingIndex][3]); pDM_Odm 150 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa26, CCKSwingTable_Ch14_New[CCKSwingIndex][4]); pDM_Odm 151 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa27, CCKSwingTable_Ch14_New[CCKSwingIndex][5]); pDM_Odm 152 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa28, CCKSwingTable_Ch14_New[CCKSwingIndex][6]); pDM_Odm 153 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xa29, CCKSwingTable_Ch14_New[CCKSwingIndex][7]); pDM_Odm 158 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 184 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 190 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 199 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u16 rate = *(pDM_Odm->pForcedDataRate); pDM_Odm 202 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->TxRate != 0xFF) pDM_Odm 203 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c TxRate = HwRateToMRate(pDM_Odm->TxRate); pDM_Odm 209 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, ("===>ODM_TxPwrTrackSetPwr8723B\n")); pDM_Odm 230 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PwrTrackingLimit_OFDM = pDM_Odm->DefaultOfdmIndex; /* Default OFDM index = 30 */ pDM_Odm 232 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, ("TxRate = 0x%x, PwrTrackingLimit =%d\n", TxRate, PwrTrackingLimit_OFDM)); pDM_Odm 235 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 237 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, ("odm_TxPwrTrackSetPwr8723B CH =%d\n", *(pDM_Odm->pChannel))); pDM_Odm 239 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_OFDMSwingIdx[RFPath] = pDM_Odm->Absolute_OFDMSwingIdx[RFPath]; pDM_Odm 241 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA = true; pDM_Odm 242 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA_CCK = true; pDM_Odm 248 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Final_OFDM_Swing_Index = pDM_Odm->DefaultOfdmIndex + pDM_Odm->Absolute_OFDMSwingIdx[RFPath]; pDM_Odm 249 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Final_CCK_Swing_Index = pDM_Odm->DefaultCckIndex + pDM_Odm->Absolute_OFDMSwingIdx[RFPath]; pDM_Odm 259 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c else if (pDM_Odm->BbSwingIdxCck <= 0) pDM_Odm 262 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setIqkMatrix_8723B(pDM_Odm, Final_OFDM_Swing_Index, RFPath, pDM_Odm 263 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][0], pDM_Odm 264 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][1]); pDM_Odm 266 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setCCKFilterCoefficient(pDM_Odm, Final_CCK_Swing_Index); pDM_Odm 269 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 271 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->DefaultOfdmIndex, pDM_Odm->DefaultCckIndex, pDM_Odm->Absolute_OFDMSwingIdx[RFPath], RFPath)); pDM_Odm 273 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Final_OFDM_Swing_Index = pDM_Odm->DefaultOfdmIndex + pDM_Odm->Absolute_OFDMSwingIdx[RFPath]; pDM_Odm 274 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Final_CCK_Swing_Index = pDM_Odm->DefaultCckIndex + pDM_Odm->Absolute_OFDMSwingIdx[RFPath]; pDM_Odm 277 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_OFDMSwingIdx[RFPath] = Final_OFDM_Swing_Index - PwrTrackingLimit_OFDM; pDM_Odm 279 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setIqkMatrix_8723B(pDM_Odm, PwrTrackingLimit_OFDM, RFPath, pDM_Odm 280 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][0], pDM_Odm 281 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][1]); pDM_Odm 283 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA = true; pDM_Odm 287 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 289 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PwrTrackingLimit_OFDM, pDM_Odm->Remnant_OFDMSwingIdx[RFPath])); pDM_Odm 291 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_OFDMSwingIdx[RFPath] = Final_OFDM_Swing_Index; pDM_Odm 293 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setIqkMatrix_8723B(pDM_Odm, 0, RFPath, pDM_Odm 294 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][0], pDM_Odm 295 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][1]); pDM_Odm 297 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA = true; pDM_Odm 301 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 303 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_OFDMSwingIdx[RFPath])); pDM_Odm 305 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setIqkMatrix_8723B(pDM_Odm, Final_OFDM_Swing_Index, RFPath, pDM_Odm 306 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][0], pDM_Odm 307 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[ChannelMappedIndex].Value[0][1]); pDM_Odm 309 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 312 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->Modify_TxAGC_Flag_PathA) { /* If TxAGC has changed, reset TxAGC again */ pDM_Odm 313 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_OFDMSwingIdx[RFPath] = 0; pDM_Odm 316 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA = false; pDM_Odm 318 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 324 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_CCKSwingIdx = Final_CCK_Swing_Index - PwrTrackingLimit_CCK; pDM_Odm 325 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setCCKFilterCoefficient(pDM_Odm, PwrTrackingLimit_CCK); pDM_Odm 326 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA_CCK = true; pDM_Odm 329 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 330 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ("******Path_A CCK Over Limit , PwrTrackingLimit_CCK = %d , pDM_Odm->Remnant_CCKSwingIdx = %d\n", PwrTrackingLimit_CCK, pDM_Odm->Remnant_CCKSwingIdx)); pDM_Odm 332 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_CCKSwingIdx = Final_CCK_Swing_Index; pDM_Odm 333 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setCCKFilterCoefficient(pDM_Odm, 0); pDM_Odm 334 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA_CCK = true; pDM_Odm 337 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 338 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ("******Path_A CCK Under Limit , PwrTrackingLimit_CCK = %d , pDM_Odm->Remnant_CCKSwingIdx = %d\n", 0, pDM_Odm->Remnant_CCKSwingIdx)); pDM_Odm 340 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c setCCKFilterCoefficient(pDM_Odm, Final_CCK_Swing_Index); pDM_Odm 342 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 345 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->Modify_TxAGC_Flag_PathA_CCK) { /* If TxAGC has changed, reset TxAGC again */ pDM_Odm 346 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Remnant_CCKSwingIdx = 0; pDM_Odm 348 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->Modify_TxAGC_Flag_PathA_CCK = false; pDM_Odm 350 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_TX_PWR_TRACK, ODM_DBG_LOUD, pDM_Odm 359 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 366 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 367 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 369 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u16 rate = *(pDM_Odm->pForcedDataRate); pDM_Odm 438 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 441 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Path_SEL_BB = PHY_QueryBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord); pDM_Odm 443 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A IQK!\n")); pDM_Odm 446 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 449 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 450 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 451 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0003f); pDM_Odm 452 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xc7f87); pDM_Odm 459 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, 0x01007c00); pDM_Odm 460 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 463 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 464 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 465 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 466 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 468 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x821303ea); pDM_Odm 469 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x28110000); pDM_Odm 470 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 471 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 475 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x00462911); pDM_Odm 478 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 483 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000000); pDM_Odm 486 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 489 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 493 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 494 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 502 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 504 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 507 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 511 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 512 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE94 = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord); pDM_Odm 513 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE9C = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord); pDM_Odm 514 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 515 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe94 = 0x%x, 0xe9c = 0x%x\n", regE94, regE9C)); pDM_Odm 517 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe90(before IQK) = 0x%x, 0xe98(afer IQK) = 0x%x\n", pDM_Odm 518 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xe90, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xe98, bMaskDWord))); pDM_Odm 549 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 554 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Path_SEL_BB = PHY_QueryBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord); pDM_Odm 557 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 559 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A RX IQK:Get TXIMR setting\n")); pDM_Odm 563 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 564 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 565 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 567 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7fb7); pDM_Odm 569 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 572 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, 0x01007c00); pDM_Odm 573 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 576 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 577 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 578 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 579 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 582 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x82130ff0); pDM_Odm 583 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x28110000); pDM_Odm 584 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 585 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 589 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x0046a911); pDM_Odm 592 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 597 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000000); pDM_Odm 600 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 603 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 607 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 608 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 616 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 618 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 621 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 624 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 625 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE94 = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord); pDM_Odm 626 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE9C = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord); pDM_Odm 627 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 628 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe94 = 0x%x, 0xe9c = 0x%x\n", regE94, regE9C)); pDM_Odm 630 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe90(before IQK) = 0x%x, 0xe98(afer IQK) = 0x%x\n", pDM_Odm 631 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xe90, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xe98, bMaskDWord))); pDM_Odm 651 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, u4tmp); pDM_Odm 652 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe40 = 0x%x u4tmp = 0x%x\n", PHY_QueryBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord), u4tmp)); pDM_Odm 656 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A RX IQK\n")); pDM_Odm 660 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 661 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 662 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 663 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 665 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7d77); pDM_Odm 669 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xdf, bRFRegOffsetMask, 0xf80); pDM_Odm 670 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x55, bRFRegOffsetMask, 0x4021f); pDM_Odm 674 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 677 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 678 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 679 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 680 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 682 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x82110000); pDM_Odm 684 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x2813001f); pDM_Odm 685 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 686 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 690 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x0046a8d1); pDM_Odm 693 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 698 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000000); pDM_Odm 701 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 704 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 708 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 709 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 717 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 719 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 722 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 725 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 726 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEA4 = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_Before_IQK_A_2, bMaskDWord); pDM_Odm 727 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 728 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xea4 = 0x%x, 0xeac = 0x%x\n", regEA4, regEAC)); pDM_Odm 730 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xea0(before IQK) = 0x%x, 0xea8(afer IQK) = 0x%x\n", pDM_Odm 731 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xea0, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xea8, bMaskDWord))); pDM_Odm 735 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 736 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xdf, bRFRegOffsetMask, 0x780); pDM_Odm 753 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A Rx IQK fail!!\n")); pDM_Odm 763 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 765 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQK!\n")); pDM_Odm 768 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Path_SEL_BB = PHY_QueryBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord); pDM_Odm 771 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 779 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xed, 0x20, 0x1); pDM_Odm 780 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x43, bRFRegOffsetMask, 0x30fc1); pDM_Odm 786 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, 0x01007c00); pDM_Odm 787 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 790 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 791 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 792 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 793 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 796 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x821303ea); pDM_Odm 797 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x28110000); pDM_Odm 798 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 799 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 803 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x00462911); pDM_Odm 806 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 809 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 813 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 817 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 818 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 826 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 828 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 831 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 837 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 838 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE94 = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord); pDM_Odm 839 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE9C = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord); pDM_Odm 840 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 841 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe94 = 0x%x, 0xe9c = 0x%x\n", regE94, regE9C)); pDM_Odm 843 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe90(before IQK) = 0x%x, 0xe98(afer IQK) = 0x%x\n", pDM_Odm 844 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xe90, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xe98, bMaskDWord))); pDM_Odm 870 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 875 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Path_SEL_BB = PHY_QueryBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord); pDM_Odm 877 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 880 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 883 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B RX IQK:Get TXIMR setting!\n")); pDM_Odm 886 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 887 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 888 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 889 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7fb7); pDM_Odm 891 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xed, 0x20, 0x1); pDM_Odm 892 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x43, bRFRegOffsetMask, 0x30fcd); pDM_Odm 896 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, 0x01007c00); pDM_Odm 897 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 901 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 902 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 903 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 904 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 907 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x82130ff0); pDM_Odm 908 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x28110000); pDM_Odm 909 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 910 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 914 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x0046a911); pDM_Odm 917 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 920 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 924 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 928 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 929 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 938 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 940 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 943 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 946 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 947 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE94 = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord); pDM_Odm 948 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regE9C = PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord); pDM_Odm 949 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 950 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe94 = 0x%x, 0xe9c = 0x%x\n", regE94, regE9C)); pDM_Odm 952 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe90(before IQK) = 0x%x, 0xe98(afer IQK) = 0x%x\n", pDM_Odm 953 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xe90, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xe98, bMaskDWord))); pDM_Odm 975 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord, u4tmp); pDM_Odm 976 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xe40 = 0x%x u4tmp = 0x%x\n", PHY_QueryBBReg(pDM_Odm->Adapter, rTx_IQK, bMaskDWord), u4tmp)); pDM_Odm 979 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B RX IQK\n")); pDM_Odm 983 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 984 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 985 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 986 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 987 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7d77); pDM_Odm 991 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xed, 0x20, 0x1); pDM_Odm 992 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x43, bRFRegOffsetMask, 0x30ebd); pDM_Odm 999 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK, bMaskDWord, 0x01004800); pDM_Odm 1002 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x38008c1c); pDM_Odm 1003 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x18008c1c); pDM_Odm 1004 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 1005 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_B, bMaskDWord, 0x38008c1c); pDM_Odm 1007 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_A, bMaskDWord, 0x82110000); pDM_Odm 1009 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_A, bMaskDWord, 0x2813001f); pDM_Odm 1010 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_PI_B, bMaskDWord, 0x82110000); pDM_Odm 1011 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_PI_B, bMaskDWord, 0x28110000); pDM_Odm 1015 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Rsp, bMaskDWord, 0x0046a8d1); pDM_Odm 1018 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x808000); pDM_Odm 1021 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, 0x00000280); pDM_Odm 1025 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00000800); pDM_Odm 1029 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf9000000); pDM_Odm 1030 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rIQK_AGC_Pts, bMaskDWord, 0xf8000000); pDM_Odm 1038 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord, Path_SEL_BB); pDM_Odm 1040 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, 0x00001800); pDM_Odm 1043 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 1046 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEAC = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord); pDM_Odm 1047 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c regEA4 = PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_Before_IQK_A_2, bMaskDWord); pDM_Odm 1049 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xeac = 0x%x\n", regEAC)); pDM_Odm 1050 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xea4 = 0x%x, 0xeac = 0x%x\n", regEA4, regEAC)); pDM_Odm 1052 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("0xea0(before IQK) = 0x%x, 0xea8(afer IQK) = 0x%x\n", pDM_Odm 1053 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_QueryBBReg(pDM_Odm->Adapter, 0xea0, bMaskDWord), PHY_QueryBBReg(pDM_Odm->Adapter, 0xea8, bMaskDWord))); pDM_Odm 1077 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B Rx IQK fail!!\n")); pDM_Odm 1093 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1095 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 1097 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A IQ Calibration %s !\n", (bIQKOK)?"Success":"Failed")); pDM_Odm 1103 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Oldval_0 = (PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord) >> 22) & 0x3FF; pDM_Odm 1109 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("X = 0x%x, TX0_A = 0x%x, Oldval_0 0x%x\n", X, TX0_A, Oldval_0)); pDM_Odm 1110 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, 0x3FF, TX0_A); pDM_Odm 1112 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT(31), ((X*Oldval_0>>7) & 0x1)); pDM_Odm 1120 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Y = 0x%x, TX = 0x%x\n", Y, TX0_C)); pDM_Odm 1121 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, 0xF0000000, ((TX0_C&0x3C0)>>6)); pDM_Odm 1123 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XCTxAFE, bMaskDWord); pDM_Odm 1125 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, 0x003F0000, (TX0_C&0x3F)); pDM_Odm 1127 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XATxIQImbalance, bMaskDWord); pDM_Odm 1129 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT(29), ((Y*Oldval_0>>7) & 0x1)); pDM_Odm 1131 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC4C][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskDWord); pDM_Odm 1134 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("_PHY_PathAFillIQKMatrix8723B only Tx OK\n")); pDM_Odm 1138 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = 0xfffffff & PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_RxIQExtAnta, bMaskDWord); pDM_Odm 1148 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XARxIQImbalance, 0x3FF, reg); pDM_Odm 1150 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XARxIQImbalance, 0xFC00, reg); pDM_Odm 1152 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XARxIQImbalance, bMaskDWord); pDM_Odm 1155 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_RxIQExtAnta, 0xF0000000, reg); pDM_Odm 1157 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_RxIQExtAnta, bMaskDWord); pDM_Odm 1173 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1175 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 1177 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQ Calibration %s !\n", (bIQKOK)?"Success":"Failed")); pDM_Odm 1183 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c Oldval_1 = (PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, bMaskDWord) >> 22) & 0x3FF; pDM_Odm 1189 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("X = 0x%x, TX1_A = 0x%x\n", X, TX1_A)); pDM_Odm 1191 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, 0x3FF, TX1_A); pDM_Odm 1193 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT(27), ((X*Oldval_1>>7) & 0x1)); pDM_Odm 1200 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Y = 0x%x, TX1_C = 0x%x\n", Y, TX1_C)); pDM_Odm 1203 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XDTxAFE, 0xF0000000, ((TX1_C&0x3C0)>>6)); pDM_Odm 1207 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC94][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XDTxAFE, bMaskDWord); pDM_Odm 1209 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, 0x003F0000, (TX1_C&0x3F)); pDM_Odm 1211 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XBTxIQImbalance, bMaskDWord); pDM_Odm 1213 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, BIT(25), ((Y*Oldval_1>>7) & 0x1)); pDM_Odm 1215 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC4C][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskDWord); pDM_Odm 1218 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("_PHY_PathBFillIQKMatrix8723B only Tx OK\n")); pDM_Odm 1224 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xCA0][VAL] = 0x0fffffff & PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_RxIQExtAnta, bMaskDWord); pDM_Odm 1230 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBRxIQImbalance, 0x3FF, reg); pDM_Odm 1232 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_XBRxIQImbalance, 0xFC00, reg); pDM_Odm 1234 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xC14][VAL] = PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XBRxIQImbalance, bMaskDWord); pDM_Odm 1239 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xCA0][VAL] = (reg << 28)|(PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_RxIQExtAnta, bMaskDWord)&0x0fffffff); pDM_Odm 1248 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c void ODM_SetIQCbyRFpath(PDM_ODM_T pDM_Odm, u32 RFpath) pDM_Odm 1251 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 1261 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC94][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC94][VAL]); pDM_Odm 1262 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][VAL]); pDM_Odm 1263 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC4C][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC4C][VAL]); pDM_Odm 1265 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xC14][KEY], bMaskDWord, pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xC14][VAL]); pDM_Odm 1266 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xCA0][KEY], bMaskDWord, pRFCalibrateInfo->RxIQC_8723B[PATH_S0][IDX_0xCA0][VAL]); pDM_Odm 1269 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC94][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC94][VAL]); pDM_Odm 1270 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC80][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC80][VAL]); pDM_Odm 1271 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC4C][KEY], bMaskDWord, pRFCalibrateInfo->TxIQC_8723B[PATH_S1][IDX_0xC4C][VAL]); pDM_Odm 1273 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][KEY], bMaskDWord, pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xC14][VAL]); pDM_Odm 1274 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][KEY], bMaskDWord, pRFCalibrateInfo->RxIQC_8723B[PATH_S1][IDX_0xCA0][VAL]); pDM_Odm 1293 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1298 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Save ADDA parameters.\n")); pDM_Odm 1300 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ADDABackup[i] = PHY_QueryBBReg(pDM_Odm->Adapter, ADDAReg[i], bMaskDWord); pDM_Odm 1311 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1313 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Save MAC parameters.\n")); pDM_Odm 1315 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c MACBackup[i] = rtw_read8(pDM_Odm->Adapter, MACReg[i]); pDM_Odm 1317 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c MACBackup[i] = rtw_read32(pDM_Odm->Adapter, MACReg[i]); pDM_Odm 1331 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1333 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Reload ADDA power saving parameters !\n")); pDM_Odm 1335 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, ADDAReg[i], bMaskDWord, ADDABackup[i]); pDM_Odm 1361 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1363 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("ADDA ON.\n")); pDM_Odm 1368 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, ADDAReg[0], bMaskDWord, 0x01c00014); pDM_Odm 1370 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, ADDAReg[0], bMaskDWord, pathOn); pDM_Odm 1374 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, ADDAReg[i], bMaskDWord, pathOn); pDM_Odm 1385 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1387 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("MAC settings for Calibration.\n")); pDM_Odm 1389 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, MACReg[i], 0x3F); pDM_Odm 1392 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, MACReg[i], (u8)(MACBackup[i]&(~BIT3))); pDM_Odm 1394 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, MACReg[i], (u8)(MACBackup[i]&(~BIT5))); pDM_Odm 1495 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1499 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u8 tmp0xc50 = (u8)PHY_QueryBBReg(pDM_Odm->Adapter, 0xC50, bMaskByte0); pDM_Odm 1500 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c u8 tmp0xc58 = (u8)PHY_QueryBBReg(pDM_Odm->Adapter, 0xC58, bMaskByte0); pDM_Odm 1549 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQ Calibration for %s for %d times\n", (is2T ? "2T2R" : "1T1R"), t)); pDM_Odm 1552 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, ADDA_REG, pDM_Odm->RFCalibrateInfo.ADDA_backup, IQK_ADDA_REG_NUM); pDM_Odm 1553 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveMACRegisters8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); pDM_Odm 1554 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); pDM_Odm 1556 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQ Calibration for %s for %d times\n", (is2T ? "2T2R" : "1T1R"), t)); pDM_Odm 1567 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_MACSettingCalibration8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); pDM_Odm 1571 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rCCK0_AFESetting, 0x0f000000, 0xf); pDM_Odm 1572 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_TRxPathEnable, bMaskDWord, 0x03a05600); pDM_Odm 1573 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_TRMuxPar, bMaskDWord, 0x000800e4); pDM_Odm 1574 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_XCD_RFInterfaceSW, bMaskDWord, 0x22204000); pDM_Odm 1585 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 1586 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 1587 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x30000); pDM_Odm 1588 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 1589 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xf7fb7); pDM_Odm 1590 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xed, 0x20, 0x1); pDM_Odm 1591 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x43, bRFRegOffsetMask, 0x60fbd); pDM_Odm 1599 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 1600 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.TxLOK[ODM_RF_PATH_A] = PHY_QueryRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x8, bRFRegOffsetMask); pDM_Odm 1602 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A Tx IQK Success!!\n")); pDM_Odm 1603 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][0] = (PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1604 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][1] = (PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1613 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A Rx IQK Success!!\n")); pDM_Odm 1616 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][2] = (PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_Before_IQK_A_2, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1617 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][3] = (PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1620 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A Rx IQK Fail!!\n")); pDM_Odm 1625 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A IQK failed!!\n")); pDM_Odm 1636 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0x000000); pDM_Odm 1637 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.TxLOK[ODM_RF_PATH_B] = PHY_QueryRFReg(pDM_Odm->Adapter, ODM_RF_PATH_B, 0x8, bRFRegOffsetMask); pDM_Odm 1639 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B Tx IQK Success!!\n")); pDM_Odm 1640 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][4] = (PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_Before_IQK_A, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1641 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][5] = (PHY_QueryBBReg(pDM_Odm->Adapter, rTx_Power_After_IQK_A, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1650 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B Rx IQK Success!!\n")); pDM_Odm 1653 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][6] = (PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_Before_IQK_A_2, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1654 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c result[t][7] = (PHY_QueryBBReg(pDM_Odm->Adapter, rRx_Power_After_IQK_A_2, bMaskDWord)&0x3FF0000)>>16; pDM_Odm 1657 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B Rx IQK Fail!!\n")); pDM_Odm 1663 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQK failed!!\n")); pDM_Odm 1668 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK:Back to BB mode, load original value!\n")); pDM_Odm 1669 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_IQK, bMaskH3Bytes, 0); pDM_Odm 1673 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, ADDA_REG, pDM_Odm->RFCalibrateInfo.ADDA_backup, IQK_ADDA_REG_NUM); pDM_Odm 1676 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadMACRegisters8723B(padapter, IQK_MAC_REG, pDM_Odm->RFCalibrateInfo.IQK_MAC_backup); pDM_Odm 1678 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup, IQK_BB_REG_NUM); pDM_Odm 1686 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc50, bMaskByte0, 0x50); pDM_Odm 1687 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc50, bMaskByte0, tmp0xc50); pDM_Odm 1689 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc58, bMaskByte0, 0x50); pDM_Odm 1690 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc58, bMaskByte0, tmp0xc58); pDM_Odm 1694 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rTx_IQK_Tone_A, bMaskDWord, 0x01008c00); pDM_Odm 1695 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, rRx_IQK_Tone_A, bMaskDWord, 0x01008c00); pDM_Odm 1698 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("phy_IQCalibrate_8723B() <==\n")); pDM_Odm 1703 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c static void phy_LCCalibrate_8723B(PDM_ODM_T pDM_Odm, bool is2T) pDM_Odm 1707 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c struct adapter *padapter = pDM_Odm->Adapter; pDM_Odm 1710 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c tmpReg = rtw_read8(pDM_Odm->Adapter, 0xd03); pDM_Odm 1713 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xd03, tmpReg&0x8F); /* disable all continuous TX */ pDM_Odm 1715 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, REG_TXPAUSE, 0xFF); /* block all queues */ pDM_Odm 1728 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_AC, bMask12Bits, (RF_Amode&0x8FFFF)|0x10000); pDM_Odm 1732 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_B, RF_AC, bMask12Bits, (RF_Bmode&0x8FFFF)|0x10000); pDM_Odm 1739 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xB0, bRFRegOffsetMask, 0xDFBE0); /* LDO ON */ pDM_Odm 1740 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_CHNLBW, bMask12Bits, LC_Cal|0x08000); pDM_Odm 1744 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xB0, bRFRegOffsetMask, 0xDFFE0); /* LDO OFF */ pDM_Odm 1747 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->SupportInterface == ODM_ITRF_SDIO && pDM_Odm->PackageType >= 0x2) { pDM_Odm 1748 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_CHNLBW, bMask12Bits, LC_Cal); pDM_Odm 1754 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, 0xd03, tmpReg); pDM_Odm 1755 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_AC, bMask12Bits, RF_Amode); pDM_Odm 1759 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_B, RF_AC, bMask12Bits, RF_Bmode); pDM_Odm 1761 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c rtw_write8(pDM_Odm->Adapter, REG_TXPAUSE, 0x00); pDM_Odm 1790 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1817 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (!(pDM_Odm->SupportAbility & ODM_RF_CALIBRATION)) pDM_Odm 1827 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->RFCalibrateInfo.bIQKInProgress) pDM_Odm 1831 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.bIQKInProgress = true; pDM_Odm 1836 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 1838 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c path = (PHY_QueryBBReg(pDM_Odm->Adapter, rS0S1_PathSwitch, bMaskByte0) == 0x00) ? ODM_RF_PATH_A : ODM_RF_PATH_B; pDM_Odm 1854 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, offset, bMaskDWord, data); pDM_Odm 1871 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, offset, bMaskDWord, data); pDM_Odm 1874 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (pDM_Odm->RFCalibrateInfo.TxLOK[ODM_RF_PATH_A] == 0) { pDM_Odm 1878 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXM_IDAC, bRFRegOffsetMask, pDM_Odm->RFCalibrateInfo.TxLOK[ODM_RF_PATH_A]); pDM_Odm 1879 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_B, RF_TXM_IDAC, bRFRegOffsetMask, pDM_Odm->RFCalibrateInfo.TxLOK[ODM_RF_PATH_B]); pDM_Odm 1887 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, ("PHY_IQCalibrate_8723B: Return due to bReCovery!\n")); pDM_Odm 1888 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_ReloadADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); pDM_Odm 1892 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK:Start!!!\n")); pDM_Odm 1895 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c GNT_BT_default = PHY_QueryBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord); pDM_Odm 1927 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: is12simular final_candidate is %x\n", final_candidate)); pDM_Odm 1936 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: is13simular final_candidate is %x\n", final_candidate)); pDM_Odm 1944 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: is23simular final_candidate is %x\n", final_candidate)); pDM_Odm 1967 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: RegE94 =%x RegE9C =%x RegEA4 =%x RegEAC =%x RegEB4 =%x RegEBC =%x RegEC4 =%x RegECC =%x\n ", RegE94, RegE9C, RegEA4, RegEAC, RegEB4, RegEBC, RegEC4, RegECC)); pDM_Odm 1971 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegE94 = RegE94 = result[final_candidate][0]; pDM_Odm 1972 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegE9C = RegE9C = result[final_candidate][1]; pDM_Odm 1975 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegEB4 = RegEB4 = result[final_candidate][4]; pDM_Odm 1976 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegEBC = RegEBC = result[final_candidate][5]; pDM_Odm 1979 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: final_candidate is %x\n", final_candidate)); pDM_Odm 1980 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: RegE94 =%x RegE9C =%x RegEA4 =%x RegEAC =%x RegEB4 =%x RegEBC =%x RegEC4 =%x RegECC =%x\n ", RegE94, RegE9C, RegEA4, RegEAC, RegEB4, RegEBC, RegEC4, RegECC)); pDM_Odm 1983 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK: FAIL use default value\n")); pDM_Odm 1985 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegE94 = pDM_Odm->RFCalibrateInfo.RegEB4 = 0x100; /* X default value */ pDM_Odm 1986 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.RegE9C = pDM_Odm->RFCalibrateInfo.RegEBC = 0x0; /* Y default value */ pDM_Odm 2004 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[Indexforchannel].Value[0][i] = result[final_candidate][i]; pDM_Odm 2005 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[Indexforchannel].bIQKDone = true; pDM_Odm 2008 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("\nIQK OK Indexforchannel %d.\n", Indexforchannel)); pDM_Odm 2010 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c _PHY_SaveADDARegisters8723B(padapter, IQK_BB_REG_92C, pDM_Odm->RFCalibrateInfo.IQK_BB_backup_recover, 9); pDM_Odm 2013 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetBBReg(pDM_Odm->Adapter, 0x764, bMaskDWord, GNT_BT_default); pDM_Odm 2019 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_WE_LUT, 0x80000, 0x1); pDM_Odm 2020 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_RCK_OS, bRFRegOffsetMask, 0x18000); pDM_Odm 2021 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G1, bRFRegOffsetMask, 0x0001f); pDM_Odm 2022 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_TXPA_G2, bRFRegOffsetMask, 0xe6177); pDM_Odm 2023 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0xed, 0x20, 0x1); pDM_Odm 2024 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, 0x43, bRFRegOffsetMask, 0x300bd); pDM_Odm 2032 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_SetIQCbyRFpath(pDM_Odm, 0); pDM_Odm 2034 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_SetIQCbyRFpath(pDM_Odm, 1); pDM_Odm 2037 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.bIQKInProgress = false; pDM_Odm 2039 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK finished\n")); pDM_Odm 2041 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("IQK ProgressingTime = %d\n", ProgressingTime)); pDM_Odm 2047 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c void PHY_LCCalibrate_8723B(PDM_ODM_T pDM_Odm) pDM_Odm 2058 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c if (!(pDM_Odm->SupportAbility & ODM_RF_CALIBRATION)) pDM_Odm 2066 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c while (*(pDM_Odm->pbScanInProcess) && timecount < timeout) { pDM_Odm 2071 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.bLCKInProgress = true; pDM_Odm 2074 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c phy_LCCalibrate_8723B(pDM_Odm, false); pDM_Odm 2077 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c pDM_Odm->RFCalibrateInfo.bLCKInProgress = false; pDM_Odm 2079 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("LCK:Finish!!!interface %d\n", pDM_Odm->InterfaceIndex)); pDM_Odm 2081 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("LCK ProgressingTime = %d\n", ProgressingTime)); pDM_Odm 22 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h PDM_ODM_T pDM_Odm, pDM_Odm 29 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h PDM_ODM_T pDM_Odm, pDM_Odm 44 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h void ODM_SetIQCbyRFpath(PDM_ODM_T pDM_Odm, u32 RFpath); pDM_Odm 49 drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h void PHY_LCCalibrate_8723B(PDM_ODM_T pDM_Odm); pDM_Odm 273 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 276 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (pDM_Odm->PhyRegPgVersion == 0) { pDM_Odm 798 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 800 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (pDM_Odm->PhyRegPgVersion > 0) pDM_Odm 802 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c else if (pDM_Odm->PhyRegPgVersion == 0) { pDM_Odm 810 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c DBG_871X("Invalid PHY_REG_PG.txt version %d\n", pDM_Odm->PhyRegPgVersion); pDM_Odm 1191 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 1194 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (pDM_Odm->RFCalibrateInfo.TxPowerTrackControl == false) pDM_Odm 1198 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c offset = pDM_Odm->Remnant_CCKSwingIdx; pDM_Odm 1201 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c offset = pDM_Odm->Remnant_OFDMSwingIdx[RFPath]; pDM_Odm 2839 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 2840 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c PODM_RF_CAL_T pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); pDM_Odm 298 drivers/staging/rtl8723bs/hal/odm.c void odm_CommonInfoSelfInit(PDM_ODM_T pDM_Odm); pDM_Odm 300 drivers/staging/rtl8723bs/hal/odm.c void odm_CommonInfoSelfUpdate(PDM_ODM_T pDM_Odm); pDM_Odm 302 drivers/staging/rtl8723bs/hal/odm.c void odm_CmnInfoInit_Debug(PDM_ODM_T pDM_Odm); pDM_Odm 304 drivers/staging/rtl8723bs/hal/odm.c void odm_BasicDbgMessage(PDM_ODM_T pDM_Odm); pDM_Odm 318 drivers/staging/rtl8723bs/hal/odm.c void odm_RefreshRateAdaptiveMaskCE(PDM_ODM_T pDM_Odm); pDM_Odm 322 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorInit(PDM_ODM_T pDM_Odm); pDM_Odm 324 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorCheckCE(PDM_ODM_T pDM_Odm); pDM_Odm 326 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorCheck(PDM_ODM_T pDM_Odm); pDM_Odm 328 drivers/staging/rtl8723bs/hal/odm.c void odm_SwAntDetectInit(PDM_ODM_T pDM_Odm); pDM_Odm 336 drivers/staging/rtl8723bs/hal/odm.c void odm_RefreshRateAdaptiveMask(PDM_ODM_T pDM_Odm); pDM_Odm 338 drivers/staging/rtl8723bs/hal/odm.c void ODM_TXPowerTrackingCheck(PDM_ODM_T pDM_Odm); pDM_Odm 340 drivers/staging/rtl8723bs/hal/odm.c void odm_RateAdaptiveMaskInit(PDM_ODM_T pDM_Odm); pDM_Odm 343 drivers/staging/rtl8723bs/hal/odm.c void odm_TXPowerTrackingInit(PDM_ODM_T pDM_Odm); pDM_Odm 351 drivers/staging/rtl8723bs/hal/odm.c void odm_InitHybridAntDiv(PDM_ODM_T pDM_Odm); pDM_Odm 354 drivers/staging/rtl8723bs/hal/odm.c PDM_ODM_T pDM_Odm, pDM_Odm 362 drivers/staging/rtl8723bs/hal/odm.c void odm_SetRxIdleAnt(PDM_ODM_T pDM_Odm, u8 Ant, bool bDualPath); pDM_Odm 366 drivers/staging/rtl8723bs/hal/odm.c void odm_HwAntDiv(PDM_ODM_T pDM_Odm); pDM_Odm 376 drivers/staging/rtl8723bs/hal/odm.c void ODM_DMInit(PDM_ODM_T pDM_Odm) pDM_Odm 379 drivers/staging/rtl8723bs/hal/odm.c odm_CommonInfoSelfInit(pDM_Odm); pDM_Odm 380 drivers/staging/rtl8723bs/hal/odm.c odm_CmnInfoInit_Debug(pDM_Odm); pDM_Odm 381 drivers/staging/rtl8723bs/hal/odm.c odm_DIGInit(pDM_Odm); pDM_Odm 382 drivers/staging/rtl8723bs/hal/odm.c odm_NHMCounterStatisticsInit(pDM_Odm); pDM_Odm 383 drivers/staging/rtl8723bs/hal/odm.c odm_AdaptivityInit(pDM_Odm); pDM_Odm 384 drivers/staging/rtl8723bs/hal/odm.c odm_RateAdaptiveMaskInit(pDM_Odm); pDM_Odm 385 drivers/staging/rtl8723bs/hal/odm.c ODM_CfoTrackingInit(pDM_Odm); pDM_Odm 386 drivers/staging/rtl8723bs/hal/odm.c ODM_EdcaTurboInit(pDM_Odm); pDM_Odm 387 drivers/staging/rtl8723bs/hal/odm.c odm_RSSIMonitorInit(pDM_Odm); pDM_Odm 388 drivers/staging/rtl8723bs/hal/odm.c odm_TXPowerTrackingInit(pDM_Odm); pDM_Odm 390 drivers/staging/rtl8723bs/hal/odm.c ODM_ClearTxPowerTrackingState(pDM_Odm); pDM_Odm 392 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->mp_mode) != 1) pDM_Odm 393 drivers/staging/rtl8723bs/hal/odm.c odm_PathDiversityInit(pDM_Odm); pDM_Odm 395 drivers/staging/rtl8723bs/hal/odm.c odm_DynamicBBPowerSavingInit(pDM_Odm); pDM_Odm 396 drivers/staging/rtl8723bs/hal/odm.c odm_DynamicTxPowerInit(pDM_Odm); pDM_Odm 398 drivers/staging/rtl8723bs/hal/odm.c odm_SwAntDetectInit(pDM_Odm); pDM_Odm 406 drivers/staging/rtl8723bs/hal/odm.c void ODM_DMWatchdog(PDM_ODM_T pDM_Odm) pDM_Odm 408 drivers/staging/rtl8723bs/hal/odm.c odm_CommonInfoSelfUpdate(pDM_Odm); pDM_Odm 409 drivers/staging/rtl8723bs/hal/odm.c odm_BasicDbgMessage(pDM_Odm); pDM_Odm 410 drivers/staging/rtl8723bs/hal/odm.c odm_FalseAlarmCounterStatistics(pDM_Odm); pDM_Odm 411 drivers/staging/rtl8723bs/hal/odm.c odm_NHMCounterStatistics(pDM_Odm); pDM_Odm 412 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): RSSI = 0x%x\n", pDM_Odm->RSSI_Min)); pDM_Odm 414 drivers/staging/rtl8723bs/hal/odm.c odm_RSSIMonitorCheck(pDM_Odm); pDM_Odm 420 drivers/staging/rtl8723bs/hal/odm.c if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ pDM_Odm 426 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("----Step1: odm_DIG is in LPS mode\n")); pDM_Odm 427 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("---Step2: 8723AS is in LPS mode\n")); pDM_Odm 428 drivers/staging/rtl8723bs/hal/odm.c odm_DIGbyRSSI_LPS(pDM_Odm); pDM_Odm 430 drivers/staging/rtl8723bs/hal/odm.c odm_DIG(pDM_Odm); pDM_Odm 433 drivers/staging/rtl8723bs/hal/odm.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 435 drivers/staging/rtl8723bs/hal/odm.c odm_Adaptivity(pDM_Odm, pDM_DigTable->CurIGValue); pDM_Odm 437 drivers/staging/rtl8723bs/hal/odm.c odm_CCKPacketDetectionThresh(pDM_Odm); pDM_Odm 439 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->pbPowerSaving) == true) pDM_Odm 443 drivers/staging/rtl8723bs/hal/odm.c odm_RefreshRateAdaptiveMask(pDM_Odm); pDM_Odm 444 drivers/staging/rtl8723bs/hal/odm.c odm_EdcaTurboCheck(pDM_Odm); pDM_Odm 445 drivers/staging/rtl8723bs/hal/odm.c odm_PathDiversity(pDM_Odm); pDM_Odm 446 drivers/staging/rtl8723bs/hal/odm.c ODM_CfoTracking(pDM_Odm); pDM_Odm 448 drivers/staging/rtl8723bs/hal/odm.c ODM_TXPowerTrackingCheck(pDM_Odm); pDM_Odm 454 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->PhyDbgInfo.NumQryBeaconPkt = 0; pDM_Odm 461 drivers/staging/rtl8723bs/hal/odm.c void ODM_CmnInfoInit(PDM_ODM_T pDM_Odm, ODM_CMNINFO_E CmnInfo, u32 Value) pDM_Odm 471 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->SupportAbility = (u32)Value; pDM_Odm 475 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFType = (u8)Value; pDM_Odm 479 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->SupportPlatform = (u8)Value; pDM_Odm 483 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->SupportInterface = (u8)Value; pDM_Odm 487 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bIsMPChip = (u8)Value; pDM_Odm 491 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->SupportICType = Value; pDM_Odm 495 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->CutVersion = (u8)Value; pDM_Odm 499 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->FabVersion = (u8)Value; pDM_Odm 503 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFEType = (u8)Value; pDM_Odm 507 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->AntDivType = (u8)Value; pDM_Odm 511 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->BoardType = (u8)Value; pDM_Odm 515 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->PackageType = (u8)Value; pDM_Odm 519 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ExtLNA = (u8)Value; pDM_Odm 523 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ExtLNA5G = (u8)Value; pDM_Odm 527 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ExtPA = (u8)Value; pDM_Odm 531 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ExtPA5G = (u8)Value; pDM_Odm 535 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->TypeGPA = (ODM_TYPE_GPA_E)Value; pDM_Odm 538 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->TypeAPA = (ODM_TYPE_APA_E)Value; pDM_Odm 541 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->TypeGLNA = (ODM_TYPE_GLNA_E)Value; pDM_Odm 544 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->TypeALNA = (ODM_TYPE_ALNA_E)Value; pDM_Odm 548 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ExtTRSW = (u8)Value; pDM_Odm 551 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->PatchID = (u8)Value; pDM_Odm 554 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bInHctTest = (bool)Value; pDM_Odm 557 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bWIFITest = (bool)Value; pDM_Odm 561 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bDualMacSmartConcurrent = (bool)Value; pDM_Odm 573 drivers/staging/rtl8723bs/hal/odm.c void ODM_CmnInfoHook(PDM_ODM_T pDM_Odm, ODM_CMNINFO_E CmnInfo, void *pValue) pDM_Odm 583 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pMacPhyMode = pValue; pDM_Odm 587 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pNumTxBytesUnicast = pValue; pDM_Odm 591 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pNumRxBytesUnicast = pValue; pDM_Odm 595 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pwirelessmode = pValue; pDM_Odm 599 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pBandType = pValue; pDM_Odm 603 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pSecChOffset = pValue; pDM_Odm 607 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pSecurity = pValue; pDM_Odm 611 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pBandWidth = pValue; pDM_Odm 615 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pChannel = pValue; pDM_Odm 619 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbGetValueFromOtherMac = pValue; pDM_Odm 623 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pBuddyAdapter = pValue; pDM_Odm 627 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbMasterOfDMSP = pValue; pDM_Odm 631 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbScanInProcess = pValue; pDM_Odm 635 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbPowerSaving = pValue; pDM_Odm 639 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pOnePathCCA = pValue; pDM_Odm 643 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbDriverStopped = pValue; pDM_Odm 647 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbDriverIsGoingToPnpSetPowerSleep = pValue; pDM_Odm 651 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pinit_adpt_in_progress = pValue; pDM_Odm 655 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pAntennaTest = pValue; pDM_Odm 659 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pbNet_closed = pValue; pDM_Odm 663 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pForcedDataRate = pValue; pDM_Odm 667 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pu1ForcedIgiLb = pValue; pDM_Odm 671 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->mp_mode = pValue; pDM_Odm 702 drivers/staging/rtl8723bs/hal/odm.c PDM_ODM_T pDM_Odm, pDM_Odm 716 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->pODM_StaInfo[Index] = (PSTA_INFO_T)pValue; pDM_Odm 730 drivers/staging/rtl8723bs/hal/odm.c void ODM_CmnInfoUpdate(PDM_ODM_T pDM_Odm, u32 CmnInfo, u64 Value) pDM_Odm 737 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bLinkInProcess = (bool)Value; pDM_Odm 741 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->SupportAbility = (u32)Value; pDM_Odm 745 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFType = (u8)Value; pDM_Odm 749 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bWIFI_Direct = (bool)Value; pDM_Odm 753 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bWIFI_Display = (bool)Value; pDM_Odm 757 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bLinked = (bool)Value; pDM_Odm 761 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bsta_state = (bool)Value; pDM_Odm 765 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RSSI_Min = (u8)Value; pDM_Odm 769 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->DebugComponents = Value; pDM_Odm 773 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->DebugLevel = (u32)Value; pDM_Odm 776 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RateAdaptive.HighRSSIThresh = (u8)Value; pDM_Odm 780 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RateAdaptive.LowRSSIThresh = (u8)Value; pDM_Odm 784 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bBtEnabled = (bool)Value; pDM_Odm 788 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bBtConnectProcess = (bool)Value; pDM_Odm 792 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->btHsRssi = (u8)Value; pDM_Odm 796 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bBtHsOperation = (bool)Value; pDM_Odm 800 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bBtLimitedDig = (bool)Value; pDM_Odm 804 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bBtDisableEdcaTurbo = (bool)Value; pDM_Odm 844 drivers/staging/rtl8723bs/hal/odm.c void odm_CommonInfoSelfInit(PDM_ODM_T pDM_Odm) pDM_Odm 846 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bCckHighPower = (bool) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(CCK_RPT_FORMAT, pDM_Odm), ODM_BIT(CCK_RPT_FORMAT, pDM_Odm)); pDM_Odm 847 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFPathRxEnable = (u8) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(BB_RX_PATH, pDM_Odm), ODM_BIT(BB_RX_PATH, pDM_Odm)); pDM_Odm 849 drivers/staging/rtl8723bs/hal/odm.c ODM_InitDebugSetting(pDM_Odm); pDM_Odm 851 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->TxRate = 0xFF; pDM_Odm 854 drivers/staging/rtl8723bs/hal/odm.c void odm_CommonInfoSelfUpdate(PDM_ODM_T pDM_Odm) pDM_Odm 860 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->pBandWidth) == ODM_BW40M) { pDM_Odm 861 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->pSecChOffset) == 1) pDM_Odm 862 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel)-2; pDM_Odm 863 drivers/staging/rtl8723bs/hal/odm.c else if (*(pDM_Odm->pSecChOffset) == 2) pDM_Odm 864 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel)+2; pDM_Odm 866 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->ControlChannel = *(pDM_Odm->pChannel); pDM_Odm 869 drivers/staging/rtl8723bs/hal/odm.c pEntry = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 875 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bOneEntryOnly = true; pDM_Odm 877 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bOneEntryOnly = false; pDM_Odm 880 drivers/staging/rtl8723bs/hal/odm.c void odm_CmnInfoInit_Debug(PDM_ODM_T pDM_Odm) pDM_Odm 882 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoInit_Debug ==>\n")); pDM_Odm 883 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportPlatform =%d\n", pDM_Odm->SupportPlatform)); pDM_Odm 884 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportAbility = 0x%x\n", pDM_Odm->SupportAbility)); pDM_Odm 885 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportInterface =%d\n", pDM_Odm->SupportInterface)); pDM_Odm 886 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportICType = 0x%x\n", pDM_Odm->SupportICType)); pDM_Odm 887 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("CutVersion =%d\n", pDM_Odm->CutVersion)); pDM_Odm 888 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("FabVersion =%d\n", pDM_Odm->FabVersion)); pDM_Odm 889 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("RFType =%d\n", pDM_Odm->RFType)); pDM_Odm 890 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("BoardType =%d\n", pDM_Odm->BoardType)); pDM_Odm 891 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtLNA =%d\n", pDM_Odm->ExtLNA)); pDM_Odm 892 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtPA =%d\n", pDM_Odm->ExtPA)); pDM_Odm 893 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("ExtTRSW =%d\n", pDM_Odm->ExtTRSW)); pDM_Odm 894 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("PatchID =%d\n", pDM_Odm->PatchID)); pDM_Odm 895 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bInHctTest =%d\n", pDM_Odm->bInHctTest)); pDM_Odm 896 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bWIFITest =%d\n", pDM_Odm->bWIFITest)); pDM_Odm 897 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bDualMacSmartConcurrent =%d\n", pDM_Odm->bDualMacSmartConcurrent)); pDM_Odm 901 drivers/staging/rtl8723bs/hal/odm.c void odm_BasicDbgMessage(PDM_ODM_T pDM_Odm) pDM_Odm 903 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_BasicDbgMsg ==>\n")); pDM_Odm 904 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bLinked = %d, RSSI_Min = %d,\n", pDM_Odm 905 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bLinked, pDM_Odm->RSSI_Min)); pDM_Odm 906 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("RxRate = 0x%x, RSSI_A = %d, RSSI_B = %d\n", pDM_Odm 907 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RxRate, pDM_Odm->RSSI_A, pDM_Odm->RSSI_B)); pDM_Odm 948 drivers/staging/rtl8723bs/hal/odm.c void odm_RateAdaptiveMaskInit(PDM_ODM_T pDM_Odm) pDM_Odm 950 drivers/staging/rtl8723bs/hal/odm.c PODM_RATE_ADAPTIVE pOdmRA = &pDM_Odm->RateAdaptive; pDM_Odm 954 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bUseRAMask = true; pDM_Odm 956 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->bUseRAMask = false; pDM_Odm 966 drivers/staging/rtl8723bs/hal/odm.c PDM_ODM_T pDM_Odm, pDM_Odm 976 drivers/staging/rtl8723bs/hal/odm.c pEntry = pDM_Odm->pODM_StaInfo[macid]; pDM_Odm 1011 drivers/staging/rtl8723bs/hal/odm.c if (pDM_Odm->RFType == ODM_1T2R || pDM_Odm->RFType == ODM_1T1R) { pDM_Odm 1017 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->pBandWidth) == ODM_BW40M) pDM_Odm 1028 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->pBandWidth) == ODM_BW40M) pDM_Odm 1047 drivers/staging/rtl8723bs/hal/odm.c if (pDM_Odm->RFType == RF_1T1R) { pDM_Odm 1065 drivers/staging/rtl8723bs/hal/odm.c if (pDM_Odm->RFType == RF_1T2R) pDM_Odm 1073 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, (" ==> rssi_level:0x%02x, WirelessMode:0x%02x, rate_bitmap:0x%08x\n", rssi_level, WirelessMode, rate_bitmap)); pDM_Odm 1096 drivers/staging/rtl8723bs/hal/odm.c void odm_RefreshRateAdaptiveMask(PDM_ODM_T pDM_Odm) pDM_Odm 1099 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("odm_RefreshRateAdaptiveMask()---------->\n")); pDM_Odm 1100 drivers/staging/rtl8723bs/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_RA_MASK)) { pDM_Odm 1101 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("odm_RefreshRateAdaptiveMask(): Return cos not supported\n")); pDM_Odm 1104 drivers/staging/rtl8723bs/hal/odm.c odm_RefreshRateAdaptiveMaskCE(pDM_Odm); pDM_Odm 1107 drivers/staging/rtl8723bs/hal/odm.c void odm_RefreshRateAdaptiveMaskCE(PDM_ODM_T pDM_Odm) pDM_Odm 1110 drivers/staging/rtl8723bs/hal/odm.c struct adapter *padapter = pDM_Odm->Adapter; pDM_Odm 1113 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("<---- odm_RefreshRateAdaptiveMask(): driver is going to unload\n")); pDM_Odm 1117 drivers/staging/rtl8723bs/hal/odm.c if (!pDM_Odm->bUseRAMask) { pDM_Odm 1118 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, ("<---- odm_RefreshRateAdaptiveMask(): driver does not control rate adaptive mask\n")); pDM_Odm 1125 drivers/staging/rtl8723bs/hal/odm.c PSTA_INFO_T pstat = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 1133 drivers/staging/rtl8723bs/hal/odm.c if (true == ODM_RAStateCheck(pDM_Odm, pstat->rssi_stat.UndecoratedSmoothedPWDB, false, &pstat->rssi_level)) { pDM_Odm 1134 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, ("RSSI:%d, RSSI_LEVEL:%d\n", pstat->rssi_stat.UndecoratedSmoothedPWDB, pstat->rssi_level)); pDM_Odm 1146 drivers/staging/rtl8723bs/hal/odm.c PDM_ODM_T pDM_Odm, pDM_Odm 1152 drivers/staging/rtl8723bs/hal/odm.c PODM_RATE_ADAPTIVE pRA = &pDM_Odm->RateAdaptive; pDM_Odm 1176 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_ASSERT(pDM_Odm, false, ("wrong rssi level setting %d !", *pRATRState)); pDM_Odm 1190 drivers/staging/rtl8723bs/hal/odm.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD, ("RSSI Level %d -> %d\n", *pRATRState, RATRState)); pDM_Odm 1211 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorInit(PDM_ODM_T pDM_Odm) pDM_Odm 1213 drivers/staging/rtl8723bs/hal/odm.c pRA_T pRA_Table = &pDM_Odm->DM_RA_Table; pDM_Odm 1219 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorCheck(PDM_ODM_T pDM_Odm) pDM_Odm 1221 drivers/staging/rtl8723bs/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_BB_RSSI_MONITOR)) pDM_Odm 1224 drivers/staging/rtl8723bs/hal/odm.c odm_RSSIMonitorCheckCE(pDM_Odm); pDM_Odm 1232 drivers/staging/rtl8723bs/hal/odm.c PDM_ODM_T pDM_Odm = &(pHalData->odmpriv); pDM_Odm 1237 drivers/staging/rtl8723bs/hal/odm.c (pDM_Odm->bLinked != true) && pDM_Odm 1249 drivers/staging/rtl8723bs/hal/odm.c void odm_RSSIMonitorCheckCE(PDM_ODM_T pDM_Odm) pDM_Odm 1251 drivers/staging/rtl8723bs/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1258 drivers/staging/rtl8723bs/hal/odm.c pRA_T pRA_Table = &pDM_Odm->DM_RA_Table; pDM_Odm 1260 drivers/staging/rtl8723bs/hal/odm.c if (pDM_Odm->bLinked != true) pDM_Odm 1263 drivers/staging/rtl8723bs/hal/odm.c pRA_Table->firstconnect = pDM_Odm->bLinked; pDM_Odm 1270 drivers/staging/rtl8723bs/hal/odm.c psta = pDM_Odm->pODM_StaInfo[i]; pDM_Odm 1313 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RSSI_Min = pdmpriv->MinUndecoratedPWDBForDM; pDM_Odm 1321 drivers/staging/rtl8723bs/hal/odm.c static u8 getSwingIndex(PDM_ODM_T pDM_Odm) pDM_Odm 1323 drivers/staging/rtl8723bs/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1345 drivers/staging/rtl8723bs/hal/odm.c void odm_TXPowerTrackingInit(PDM_ODM_T pDM_Odm) pDM_Odm 1347 drivers/staging/rtl8723bs/hal/odm.c u8 defaultSwingIndex = getSwingIndex(pDM_Odm); pDM_Odm 1349 drivers/staging/rtl8723bs/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1359 drivers/staging/rtl8723bs/hal/odm.c if (*(pDM_Odm->mp_mode) != 1) pDM_Odm 1368 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.ThermalValue = pHalData->EEPROMThermalMeter; pDM_Odm 1369 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.ThermalValue_IQK = pHalData->EEPROMThermalMeter; pDM_Odm 1370 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.ThermalValue_LCK = pHalData->EEPROMThermalMeter; pDM_Odm 1373 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->DefaultOfdmIndex = (defaultSwingIndex >= OFDM_TABLE_SIZE) ? 30 : defaultSwingIndex; pDM_Odm 1374 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->DefaultCckIndex = 20; pDM_Odm 1376 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->BbSwingIdxCckBase = pDM_Odm->DefaultCckIndex; pDM_Odm 1377 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.CCK_index = pDM_Odm->DefaultCckIndex; pDM_Odm 1380 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->BbSwingIdxOfdmBase[p] = pDM_Odm->DefaultOfdmIndex; pDM_Odm 1381 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.OFDM_index[p] = pDM_Odm->DefaultOfdmIndex; pDM_Odm 1382 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndex[p] = 0; pDM_Odm 1383 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.DeltaPowerIndexLast[p] = 0; pDM_Odm 1384 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.PowerIndexOffset[p] = 0; pDM_Odm 1389 drivers/staging/rtl8723bs/hal/odm.c void ODM_TXPowerTrackingCheck(PDM_ODM_T pDM_Odm) pDM_Odm 1391 drivers/staging/rtl8723bs/hal/odm.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 1393 drivers/staging/rtl8723bs/hal/odm.c if (!(pDM_Odm->SupportAbility & ODM_RF_TX_PWR_TRACK)) pDM_Odm 1396 drivers/staging/rtl8723bs/hal/odm.c if (!pDM_Odm->RFCalibrateInfo.TM_Trigger) { /* at least delay 1 sec */ pDM_Odm 1397 drivers/staging/rtl8723bs/hal/odm.c PHY_SetRFReg(pDM_Odm->Adapter, ODM_RF_PATH_A, RF_T_METER_NEW, (BIT17 | BIT16), 0x03); pDM_Odm 1401 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.TM_Trigger = 1; pDM_Odm 1406 drivers/staging/rtl8723bs/hal/odm.c pDM_Odm->RFCalibrateInfo.TM_Trigger = 0; pDM_Odm 1413 drivers/staging/rtl8723bs/hal/odm.c void odm_SwAntDetectInit(PDM_ODM_T pDM_Odm) pDM_Odm 1415 drivers/staging/rtl8723bs/hal/odm.c pSWAT_T pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table; pDM_Odm 1417 drivers/staging/rtl8723bs/hal/odm.c pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control); pDM_Odm 1371 drivers/staging/rtl8723bs/hal/odm.h void ODM_TXPowerTrackingCheck(PDM_ODM_T pDM_Odm); pDM_Odm 1374 drivers/staging/rtl8723bs/hal/odm.h PDM_ODM_T pDM_Odm, pDM_Odm 1382 drivers/staging/rtl8723bs/hal/odm.h PDM_ODM_T pDM_Odm, pDM_Odm 1388 drivers/staging/rtl8723bs/hal/odm.h PDM_ODM_T pDM_Odm, pDM_Odm 1398 drivers/staging/rtl8723bs/hal/odm.h void odm_TXPowerTrackingInit(PDM_ODM_T pDM_Odm); pDM_Odm 1400 drivers/staging/rtl8723bs/hal/odm.h void ODM_DMInit(PDM_ODM_T pDM_Odm); pDM_Odm 1402 drivers/staging/rtl8723bs/hal/odm.h void ODM_DMWatchdog(PDM_ODM_T pDM_Odm); /* For common use in the future */ pDM_Odm 1404 drivers/staging/rtl8723bs/hal/odm.h void ODM_CmnInfoInit(PDM_ODM_T pDM_Odm, ODM_CMNINFO_E CmnInfo, u32 Value); pDM_Odm 1406 drivers/staging/rtl8723bs/hal/odm.h void ODM_CmnInfoHook(PDM_ODM_T pDM_Odm, ODM_CMNINFO_E CmnInfo, void *pValue); pDM_Odm 1409 drivers/staging/rtl8723bs/hal/odm.h PDM_ODM_T pDM_Odm, pDM_Odm 1415 drivers/staging/rtl8723bs/hal/odm.h void ODM_CmnInfoUpdate(PDM_ODM_T pDM_Odm, u32 CmnInfo, u64 Value); pDM_Odm 1417 drivers/staging/rtl8723bs/hal/odm.h void ODM_InitAllTimers(PDM_ODM_T pDM_Odm); pDM_Odm 1419 drivers/staging/rtl8723bs/hal/odm.h void ODM_CancelAllTimers(PDM_ODM_T pDM_Odm); pDM_Odm 1421 drivers/staging/rtl8723bs/hal/odm.h void ODM_ReleaseAllTimers(PDM_ODM_T pDM_Odm); pDM_Odm 1424 drivers/staging/rtl8723bs/hal/odm.h PDM_ODM_T pDM_Odm, pDM_Odm 1430 drivers/staging/rtl8723bs/hal/odm.h void ODM_DynamicARFBSelect(PDM_ODM_T pDM_Odm, u8 rate, bool Collision_State); pDM_Odm 12 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 13 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 23 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm->Adapter, pDM_Odm 30 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 42 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 45 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 57 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 58 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 64 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm->Adapter, pDM_Odm 65 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_REG(BB_ATC, pDM_Odm), pDM_Odm 66 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_BIT(BB_ATC, pDM_Odm), pDM_Odm 75 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 78 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm->Adapter, pDM_Odm 79 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_REG(BB_ATC, pDM_Odm), pDM_Odm 80 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_BIT(BB_ATC, pDM_Odm) pDM_Odm 87 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 88 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 90 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pCfoTrack->DefXCap = odm_GetDefaultCrytaltalCap(pDM_Odm); pDM_Odm 93 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetCrystalCap(pDM_Odm, pCfoTrack->DefXCap); pDM_Odm 94 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetATCStatus(pDM_Odm, true); pDM_Odm 99 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 100 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 103 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pCfoTrack->CrystalCap = odm_GetDefaultCrytaltalCap(pDM_Odm); pDM_Odm 104 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pCfoTrack->bATCStatus = odm_GetATCStatus(pDM_Odm); pDM_Odm 107 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 113 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 126 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 127 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 134 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c if (!(pDM_Odm->SupportAbility & ODM_BB_CFO_TRACKING)) { pDM_Odm 136 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 145 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 151 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c if (!pDM_Odm->bLinked || !pDM_Odm->bOneEntryOnly) { pDM_Odm 153 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_CfoTrackingReset(pDM_Odm); pDM_Odm 155 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 160 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm->bLinked, pDM_Odm 161 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm->bOneEntryOnly pDM_Odm 169 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 184 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c if (pDM_Odm->RFType < ODM_2T2R) pDM_Odm 189 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 211 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_CFO_TRACKING, ODM_DBG_LOUD, ("ODM_CfoTracking(): first large CFO hit\n")); pDM_Odm 228 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c if (pDM_Odm->bBtEnabled) { pDM_Odm 230 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetCrystalCap(pDM_Odm, pCfoTrack->DefXCap); pDM_Odm 232 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 247 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 269 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetCrystalCap(pDM_Odm, (u8)CrystalCap); pDM_Odm 272 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 284 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetATCStatus(pDM_Odm, false); pDM_Odm 286 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 292 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c odm_SetATCStatus(pDM_Odm, true); pDM_Odm 294 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c pDM_Odm, pDM_Odm 305 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 307 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c PCFO_TRACKING pCfoTrack = &pDM_Odm->DM_CfoTrack; pDM_Odm 310 drivers/staging/rtl8723bs/hal/odm_CfoTracking.c if (!(pDM_Odm->SupportAbility & ODM_BB_CFO_TRACKING)) pDM_Odm 14 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 17 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time duration for NHM unit: 4us, 0x2710 =40ms */ pDM_Odm 19 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N+2, 0xffff); /* 0x890[31:16]= 0xffff th_9, th_10 */ pDM_Odm 21 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH3_TO_TH0_11N, 0xffffff52); /* 0x898 = 0xffffff52 th_3, th_2, th_1, th_0 */ pDM_Odm 22 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write32(pDM_Odm->Adapter, ODM_REG_NHM_TH7_TO_TH4_11N, 0xffffffff); /* 0x89c = 0xffffffff th_7, th_6, th_5, th_4 */ pDM_Odm 23 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_FPGA0_IQK_11N, bMaskByte0, 0xff); /* 0xe28[7:0]= 0xff th_8 */ pDM_Odm 24 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT10|BIT9|BIT8, 0x7); /* 0x890[9:8]=3 enable CCX */ pDM_Odm 25 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_OFDM_FA_RSTC_11N, BIT7, 0x1); /* 0xc0c[7]= 1 max power among all RX ants */ pDM_Odm 30 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 33 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_GetNHMCounterStatistics(pDM_Odm); pDM_Odm 36 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_NHMCounterStatisticsReset(pDM_Odm); pDM_Odm 41 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 44 drivers/staging/rtl8723bs/hal/odm_DIG.c value32 = PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG_NHM_CNT_11N, bMaskDWord); pDM_Odm 46 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHM_cnt_0 = (u8)(value32 & bMaskByte0); pDM_Odm 51 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 53 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT1, 0); pDM_Odm 54 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT1, 1); pDM_Odm 59 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 61 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->adaptivity_flag = 0; pDM_Odm 62 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = 3; pDM_Odm 63 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMLastTxOkcnt = 0; pDM_Odm 64 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMLastRxOkcnt = 0; pDM_Odm 65 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurTxOkcnt = 0; pDM_Odm 66 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurRxOkcnt = 0; pDM_Odm 72 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 76 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurTxOkcnt = pDM_Odm 77 drivers/staging/rtl8723bs/hal/odm_DIG.c *(pDM_Odm->pNumTxBytesUnicast)-pDM_Odm->NHMLastTxOkcnt; pDM_Odm 78 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurRxOkcnt = pDM_Odm 79 drivers/staging/rtl8723bs/hal/odm_DIG.c *(pDM_Odm->pNumRxBytesUnicast)-pDM_Odm->NHMLastRxOkcnt; pDM_Odm 80 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMLastTxOkcnt = pDM_Odm 81 drivers/staging/rtl8723bs/hal/odm_DIG.c *(pDM_Odm->pNumTxBytesUnicast); pDM_Odm 82 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMLastRxOkcnt = pDM_Odm 83 drivers/staging/rtl8723bs/hal/odm_DIG.c *(pDM_Odm->pNumRxBytesUnicast); pDM_Odm 85 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 90 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHM_cnt_0, pDM_Odm 91 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurTxOkcnt, pDM_Odm 92 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHMCurRxOkcnt pDM_Odm 97 drivers/staging/rtl8723bs/hal/odm_DIG.c if ((pDM_Odm->NHMCurTxOkcnt) + 1 > (u64)(pDM_Odm->NHMCurRxOkcnt<<2) + 1) { /* Tx > 4*Rx possible for adaptivity test */ pDM_Odm 98 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->NHM_cnt_0 >= 190 || pDM_Odm->adaptivity_flag == true) { pDM_Odm 101 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->adaptivity_flag = true; pDM_Odm 102 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = 0; pDM_Odm 104 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->tolerance_cnt < 3) pDM_Odm 105 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = pDM_Odm->tolerance_cnt + 1; pDM_Odm 107 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = 4; pDM_Odm 109 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->tolerance_cnt > 3) { pDM_Odm 111 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->adaptivity_flag = false; pDM_Odm 115 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->adaptivity_flag == true && pDM_Odm->NHM_cnt_0 <= 200) { pDM_Odm 117 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = 0; pDM_Odm 119 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->tolerance_cnt < 3) pDM_Odm 120 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = pDM_Odm->tolerance_cnt + 1; pDM_Odm 122 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->tolerance_cnt = 4; pDM_Odm 124 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->tolerance_cnt > 3) { pDM_Odm 126 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->adaptivity_flag = false; pDM_Odm 131 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("adaptivity_flag = %d\n ", pDM_Odm->adaptivity_flag)); pDM_Odm 136 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 144 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, IGI); pDM_Odm 148 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_L2H_dmc = pDM_Odm->TH_L2H_ini + Diff; pDM_Odm 151 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_H2L_dmc = TH_L2H_dmc - pDM_Odm->TH_EDCCA_HL_diff; pDM_Odm 152 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte0, (u8)TH_L2H_dmc); pDM_Odm 153 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte2, (u8)TH_H2L_dmc); pDM_Odm 159 drivers/staging/rtl8723bs/hal/odm_DIG.c value32 = PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG_RPT_11N, bMaskDWord); pDM_Odm 162 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = pDM_Odm->txEdcca1 + 1; pDM_Odm 164 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = pDM_Odm->txEdcca1 + 1; pDM_Odm 166 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca0 = pDM_Odm->txEdcca0 + 1; pDM_Odm 170 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->txEdcca1 > 5) { pDM_Odm 175 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_H2L_dmc = TH_L2H_dmc - pDM_Odm->TH_EDCCA_HL_diff; pDM_Odm 176 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte0, (u8)TH_L2H_dmc); pDM_Odm 177 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte2, (u8)TH_H2L_dmc); pDM_Odm 179 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg = true; pDM_Odm 180 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = 0; pDM_Odm 181 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca0 = 0; pDM_Odm 185 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg = false; pDM_Odm 186 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = 0; pDM_Odm 187 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca0 = 0; pDM_Odm 188 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->H2L_lb = TH_H2L_dmc; pDM_Odm 189 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->L2H_lb = TH_L2H_dmc; pDM_Odm 190 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adaptivity_IGI_upper = IGI; pDM_Odm 194 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg = false; pDM_Odm 195 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = 0; pDM_Odm 196 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca0 = 0; pDM_Odm 197 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->H2L_lb = TH_H2L_dmc; pDM_Odm 198 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->L2H_lb = TH_L2H_dmc; pDM_Odm 199 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adaptivity_IGI_upper = IGI; pDM_Odm 203 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("IGI = 0x%x, H2L_lb = 0x%x, L2H_lb = 0x%x\n", IGI, pDM_Odm->H2L_lb, pDM_Odm->L2H_lb)); pDM_Odm 208 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 210 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->Carrier_Sense_enable == false) pDM_Odm 211 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TH_L2H_ini = 0xf7; /* -7 */ pDM_Odm 213 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TH_L2H_ini = 0xa; pDM_Odm 215 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->AdapEn_RSSI = 20; pDM_Odm 216 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TH_EDCCA_HL_diff = 7; pDM_Odm 218 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->IGI_Base = 0x32; pDM_Odm 219 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->IGI_target = 0x1c; pDM_Odm 220 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->ForceEDCCA = 0; pDM_Odm 221 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHM_disable = false; pDM_Odm 222 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg = true; pDM_Odm 223 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca0 = 0; pDM_Odm 224 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->txEdcca1 = 0; pDM_Odm 225 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->H2L_lb = 0; pDM_Odm 226 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->L2H_lb = 0; pDM_Odm 227 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adaptivity_IGI_upper = 0; pDM_Odm 228 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_NHMBBInit(pDM_Odm); pDM_Odm 230 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, REG_RD_CTRL, BIT11, 1); /* stop counting if EDCCA is asserted */ pDM_Odm 236 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 241 drivers/staging/rtl8723bs/hal/odm_DIG.c if (!(pDM_Odm->SupportAbility & ODM_BB_ADAPTIVITY)) { pDM_Odm 242 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("Go to odm_DynamicEDCCA()\n")); pDM_Odm 245 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_Adaptivity() =====>\n")); pDM_Odm 246 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("ForceEDCCA =%d, IGI_Base = 0x%x, TH_L2H_ini = %d, TH_EDCCA_HL_diff = %d, AdapEn_RSSI = %d\n", pDM_Odm 247 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->ForceEDCCA, pDM_Odm->IGI_Base, pDM_Odm->TH_L2H_ini, pDM_Odm->TH_EDCCA_HL_diff, pDM_Odm->AdapEn_RSSI)); pDM_Odm 249 drivers/staging/rtl8723bs/hal/odm_DIG.c if (*pDM_Odm->pBandWidth == ODM_BW20M) /* CHANNEL_WIDTH_20 */ pDM_Odm 250 drivers/staging/rtl8723bs/hal/odm_DIG.c IGI_target = pDM_Odm->IGI_Base; pDM_Odm 251 drivers/staging/rtl8723bs/hal/odm_DIG.c else if (*pDM_Odm->pBandWidth == ODM_BW40M) pDM_Odm 252 drivers/staging/rtl8723bs/hal/odm_DIG.c IGI_target = pDM_Odm->IGI_Base + 2; pDM_Odm 253 drivers/staging/rtl8723bs/hal/odm_DIG.c else if (*pDM_Odm->pBandWidth == ODM_BW80M) pDM_Odm 254 drivers/staging/rtl8723bs/hal/odm_DIG.c IGI_target = pDM_Odm->IGI_Base + 2; pDM_Odm 256 drivers/staging/rtl8723bs/hal/odm_DIG.c IGI_target = pDM_Odm->IGI_Base; pDM_Odm 257 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->IGI_target = (u8) IGI_target; pDM_Odm 260 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->TxHangFlg == true) { pDM_Odm 261 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_DBG_RPT_11N, bMaskDWord, 0x208); pDM_Odm 262 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_SearchPwdBLowerBound(pDM_Odm, pDM_Odm->IGI_target); pDM_Odm 265 drivers/staging/rtl8723bs/hal/odm_DIG.c if ((!pDM_Odm->bLinked) || (*pDM_Odm->pChannel > 149)) { /* Band4 doesn't need adaptivity */ pDM_Odm 266 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte0, 0x7f); pDM_Odm 267 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte2, 0x7f); pDM_Odm 271 drivers/staging/rtl8723bs/hal/odm_DIG.c if (!pDM_Odm->ForceEDCCA) { pDM_Odm 272 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->RSSI_Min > pDM_Odm->AdapEn_RSSI) pDM_Odm 274 drivers/staging/rtl8723bs/hal/odm_DIG.c else if (pDM_Odm->RSSI_Min < (pDM_Odm->AdapEn_RSSI - 5)) pDM_Odm 280 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->bLinked && pDM_Odm 281 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Carrier_Sense_enable == false && pDM_Odm 282 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->NHM_disable == false && pDM_Odm 283 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg == false pDM_Odm 285 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_NHMBB(pDM_Odm); pDM_Odm 288 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 293 drivers/staging/rtl8723bs/hal/odm_DIG.c (*pDM_Odm->pBandWidth == ODM_BW80M) ? "80M" : pDM_Odm 294 drivers/staging/rtl8723bs/hal/odm_DIG.c ((*pDM_Odm->pBandWidth == ODM_BW40M) ? "40M" : "20M"), pDM_Odm 302 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_L2H_dmc = pDM_Odm->TH_L2H_ini + Diff; pDM_Odm 306 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_H2L_dmc = TH_L2H_dmc - pDM_Odm->TH_EDCCA_HL_diff; pDM_Odm 309 drivers/staging/rtl8723bs/hal/odm_DIG.c if (TH_H2L_dmc < pDM_Odm->H2L_lb) pDM_Odm 310 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_H2L_dmc = pDM_Odm->H2L_lb; pDM_Odm 311 drivers/staging/rtl8723bs/hal/odm_DIG.c if (TH_L2H_dmc < pDM_Odm->L2H_lb) pDM_Odm 312 drivers/staging/rtl8723bs/hal/odm_DIG.c TH_L2H_dmc = pDM_Odm->L2H_lb; pDM_Odm 317 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("IGI = 0x%x, TH_L2H_dmc = %d, TH_H2L_dmc = %d\n", pDM_Odm 319 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte0, (u8)TH_L2H_dmc); pDM_Odm 320 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, rOFDM0_ECCAThreshold, bMaskByte2, (u8)TH_H2L_dmc); pDM_Odm 325 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 326 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 329 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("Stop Writing IGI\n")); pDM_Odm 333 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_TRACE, ("ODM_REG(IGI_A, pDM_Odm) = 0x%x, ODM_BIT(IGI, pDM_Odm) = 0x%x\n", pDM_Odm 334 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_REG(IGI_A, pDM_Odm), ODM_BIT(IGI, pDM_Odm))); pDM_Odm 340 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_TRACE, ("CurrentIGI(0x%02x) is larger than upper bound !!\n", pDM_DigTable->rx_gain_range_max)); pDM_Odm 347 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG(IGI_A, pDM_Odm), ODM_BIT(IGI, pDM_Odm), CurrentIGI); pDM_Odm 349 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->RFType > ODM_1T1R) pDM_Odm 350 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG(IGI_B, pDM_Odm), ODM_BIT(IGI, pDM_Odm), CurrentIGI); pDM_Odm 355 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_TRACE, ("CurrentIGI(0x%02x).\n", CurrentIGI)); pDM_Odm 365 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 366 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 369 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG() =========>\n")); pDM_Odm 372 drivers/staging/rtl8723bs/hal/odm_DIG.c (pDM_Odm->SupportAbility & ODM_BB_ADAPTIVITY) && pDM_Odm 373 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->TxHangFlg == true pDM_Odm 376 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 385 drivers/staging/rtl8723bs/hal/odm_DIG.c !bPaused && (!(pDM_Odm->SupportAbility & ODM_BB_DIG) || pDM_Odm 386 drivers/staging/rtl8723bs/hal/odm_DIG.c !(pDM_Odm->SupportAbility & ODM_BB_FA_CNT)) pDM_Odm 389 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 401 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_ABILITY, pDM_Odm->SupportAbility & (~ODM_BB_DIG)); pDM_Odm 402 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Pause DIG !!\n")); pDM_Odm 409 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Backup IGI = 0x%x\n", pDM_DigTable->IGIBackup)); pDM_Odm 412 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, IGIValue); pDM_Odm 413 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Write new IGI = 0x%x\n", IGIValue)); pDM_Odm 420 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, pDM_DigTable->IGIBackup); pDM_Odm 422 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Write original IGI = 0x%x\n", pDM_DigTable->IGIBackup)); pDM_Odm 425 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_ABILITY, pDM_Odm->SupportAbility | ODM_BB_DIG); pDM_Odm 426 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Resume DIG !!\n")); pDM_Odm 431 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG(): Wrong type !!\n")); pDM_Odm 438 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 441 drivers/staging/rtl8723bs/hal/odm_DIG.c if (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT)) { pDM_Odm 442 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Return: SupportAbility ODM_BB_FA_CNT is disabled\n")); pDM_Odm 447 drivers/staging/rtl8723bs/hal/odm_DIG.c if (!(pDM_Odm->SupportAbility & ODM_BB_DIG)) { pDM_Odm 448 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Return: SupportAbility ODM_BB_DIG is disabled\n")); pDM_Odm 453 drivers/staging/rtl8723bs/hal/odm_DIG.c if (*(pDM_Odm->pbScanInProcess)) { pDM_Odm 454 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Return: In Scan Progress\n")); pDM_Odm 459 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bDMInitialGainEnable == false) { pDM_Odm 460 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Return: PSD is Processing\n")); pDM_Odm 469 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 470 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 474 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_DigTable->CurIGValue = (u8) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(IGI_A, pDM_Odm), ODM_BIT(IGI, pDM_Odm)); pDM_Odm 491 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->bDMInitialGainEnable = true; pDM_Odm 507 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 510 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 511 drivers/staging/rtl8723bs/hal/odm_DIG.c Pfalse_ALARM_STATISTICS pFalseAlmCnt = &pDM_Odm->FalseAlmCnt; pDM_Odm 523 drivers/staging/rtl8723bs/hal/odm_DIG.c if (odm_DigAbort(pDM_Odm)) pDM_Odm 526 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG() ===========================>\n\n")); pDM_Odm 528 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->adaptivity_flag == true) pDM_Odm 529 drivers/staging/rtl8723bs/hal/odm_DIG.c Adap_IGI_Upper = pDM_Odm->Adaptivity_IGI_upper; pDM_Odm 534 drivers/staging/rtl8723bs/hal/odm_DIG.c FirstConnect = (pDM_Odm->bLinked) && (pDM_DigTable->bMediaConnect_0 == false); pDM_Odm 535 drivers/staging/rtl8723bs/hal/odm_DIG.c FirstDisConnect = (!pDM_Odm->bLinked) && (pDM_DigTable->bMediaConnect_0 == true); pDM_Odm 543 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Absolutely upper bound = 0x%x, lower bound = 0x%x\n", dm_dig_max, dm_dig_min)); pDM_Odm 546 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked && bPerformance) { pDM_Odm 549 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bBtLimitedDig == 1) { pDM_Odm 551 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Coex. case: Force upper bound to RSSI + %d !!!!!!\n", offset)); pDM_Odm 555 drivers/staging/rtl8723bs/hal/odm_DIG.c if ((pDM_Odm->RSSI_Min + offset) > dm_dig_max) pDM_Odm 557 drivers/staging/rtl8723bs/hal/odm_DIG.c else if ((pDM_Odm->RSSI_Min + offset) < dm_dig_min) pDM_Odm 560 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_DigTable->rx_gain_range_max = pDM_Odm->RSSI_Min + offset; pDM_Odm 565 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->RSSI_Min < dm_dig_min) pDM_Odm 567 drivers/staging/rtl8723bs/hal/odm_DIG.c else if (pDM_Odm->RSSI_Min > DIG_MaxOfMin) pDM_Odm 570 drivers/staging/rtl8723bs/hal/odm_DIG.c DIG_Dynamic_MIN = pDM_Odm->RSSI_Min; pDM_Odm 578 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked && !pDM_Odm->bOneEntryOnly) { pDM_Odm 579 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->SupportAbility & ODM_BB_ANT_DIV) { pDM_Odm 581 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->AntDivType == CG_TRX_HW_ANTDIV || pDM_Odm 582 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV || pDM_Odm 583 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->AntDivType == S0S1_SW_ANTDIV pDM_Odm 590 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 599 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 611 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 621 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 626 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->bLinked, pDM_Odm 627 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->RSSI_Min, pDM_Odm 640 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_ForbiddenIGICheck(pDM_Odm, DIG_Dynamic_MIN, CurrentIGI); pDM_Odm 642 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked && !FirstConnect) { pDM_Odm 644 drivers/staging/rtl8723bs/hal/odm_DIG.c (pDM_Odm->PhyDbgInfo.NumQryBeaconPkt < 5) && pDM_Odm 645 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->bsta_state pDM_Odm 649 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 654 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->PhyDbgInfo.NumQryBeaconPkt, pDM_Odm 665 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 677 drivers/staging/rtl8723bs/hal/odm_DIG.c odm_FAThresholdCheck(pDM_Odm, bDFSBand, bPerformance, RxTp, TxTp, dm_FA_thres); pDM_Odm 678 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): False alarm threshold = %d, %d, %d\n\n", dm_FA_thres[0], dm_FA_thres[1], dm_FA_thres[2])); pDM_Odm 681 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked && bPerformance) { pDM_Odm 684 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 693 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->RSSI_Min < DIG_MaxOfMin) { pDM_Odm 694 drivers/staging/rtl8723bs/hal/odm_DIG.c if (CurrentIGI < pDM_Odm->RSSI_Min) pDM_Odm 695 drivers/staging/rtl8723bs/hal/odm_DIG.c CurrentIGI = pDM_Odm->RSSI_Min; pDM_Odm 702 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 720 drivers/staging/rtl8723bs/hal/odm_DIG.c (pDM_Odm->PhyDbgInfo.NumQryBeaconPkt < 5) && pDM_Odm 722 drivers/staging/rtl8723bs/hal/odm_DIG.c (pDM_Odm->bsta_state) pDM_Odm 726 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 731 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->PhyDbgInfo.NumQryBeaconPkt, pDM_Odm 740 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 749 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 772 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 784 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->SupportAbility & ODM_BB_ADAPTIVITY && pDM_Odm 785 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->adaptivity_flag == true pDM_Odm 790 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->IGI_LowerBound != 0) { pDM_Odm 791 drivers/staging/rtl8723bs/hal/odm_DIG.c if (CurrentIGI < pDM_Odm->IGI_LowerBound) pDM_Odm 792 drivers/staging/rtl8723bs/hal/odm_DIG.c CurrentIGI = pDM_Odm->IGI_LowerBound; pDM_Odm 794 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Adaptivity case: Force upper bound to 0x%x !!!!!!\n", Adap_IGI_Upper)); pDM_Odm 795 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Adaptivity case: Force lower bound to 0x%x !!!!!!\n\n", pDM_Odm->IGI_LowerBound)); pDM_Odm 800 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bBtHsOperation) { pDM_Odm 801 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked) { pDM_Odm 803 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, CurrentIGI); pDM_Odm 805 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, pDM_DigTable->BT30_CurIGI); pDM_Odm 807 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_DigTable->bMediaConnect_0 = pDM_Odm->bLinked; pDM_Odm 810 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinkInProcess) pDM_Odm 811 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, 0x1c); pDM_Odm 812 drivers/staging/rtl8723bs/hal/odm_DIG.c else if (pDM_Odm->bBtConnectProcess) pDM_Odm 813 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, 0x28); pDM_Odm 815 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, pDM_DigTable->BT30_CurIGI);/* ODM_Write_DIG(pDM_Odm, pDM_DigTable->CurIGValue); */ pDM_Odm 818 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, CurrentIGI);/* ODM_Write_DIG(pDM_Odm, pDM_DigTable->CurIGValue); */ pDM_Odm 819 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_DigTable->bMediaConnect_0 = pDM_Odm->bLinked; pDM_Odm 826 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 827 drivers/staging/rtl8723bs/hal/odm_DIG.c Pfalse_ALARM_STATISTICS pFalseAlmCnt = &pDM_Odm->FalseAlmCnt; pDM_Odm 830 drivers/staging/rtl8723bs/hal/odm_DIG.c u8 CurrentIGI = pDM_Odm->RSSI_Min; pDM_Odm 835 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 854 drivers/staging/rtl8723bs/hal/odm_DIG.c if ((pDM_Odm->RSSI_Min-10) > DM_DIG_MIN_NIC) pDM_Odm 855 drivers/staging/rtl8723bs/hal/odm_DIG.c RSSI_Lower = pDM_Odm->RSSI_Min-10; pDM_Odm 867 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 873 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 876 drivers/staging/rtl8723bs/hal/odm_DIG.c ("odm_DIGbyRSSI_LPS(): pDM_Odm->RSSI_Min = %d\n", pDM_Odm->RSSI_Min) pDM_Odm 879 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 885 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_DIG(pDM_Odm, CurrentIGI); pDM_Odm 895 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 896 drivers/staging/rtl8723bs/hal/odm_DIG.c Pfalse_ALARM_STATISTICS FalseAlmCnt = &(pDM_Odm->FalseAlmCnt); pDM_Odm 899 drivers/staging/rtl8723bs/hal/odm_DIG.c if (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT)) pDM_Odm 904 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_OFDM_FA_HOLDC_11N, BIT31, 1); pDM_Odm 906 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_OFDM_FA_RSTD_11N, BIT31, 1); pDM_Odm 909 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_OFDM_FA_TYPE1_11N, bMaskDWord pDM_Odm 915 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_OFDM_FA_TYPE2_11N, bMaskDWord pDM_Odm 921 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_OFDM_FA_TYPE3_11N, bMaskDWord pDM_Odm 927 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_OFDM_FA_TYPE4_11N, bMaskDWord pDM_Odm 941 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_CCK_FA_RST_11N, BIT12, 1); pDM_Odm 942 drivers/staging/rtl8723bs/hal/odm_DIG.c PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_CCK_FA_RST_11N, BIT14, 1); pDM_Odm 945 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_CCK_FA_LSB_11N, bMaskByte0 pDM_Odm 950 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_CCK_FA_MSB_11N, bMaskByte3 pDM_Odm 955 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm->Adapter, ODM_REG_CCK_CCA_CNT_11N, bMaskDWord pDM_Odm 975 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 981 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 991 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1001 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1012 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1018 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1024 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1030 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1036 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1042 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1048 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1065 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 1067 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked && (bPerformance || bDFSBand)) { pDM_Odm 1082 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 1083 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 1084 drivers/staging/rtl8723bs/hal/odm_DIG.c Pfalse_ALARM_STATISTICS pFalseAlmCnt = &(pDM_Odm->FalseAlmCnt); pDM_Odm 1088 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Abnormally false alarm case.\n")); pDM_Odm 1106 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Abnormally false alarm case: Recover_cnt = %d\n", pDM_DigTable->Recover_cnt)); pDM_Odm 1111 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: Recover_cnt = %d\n", pDM_DigTable->Recover_cnt)); pDM_Odm 1117 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: At Lower Bound\n")); pDM_Odm 1121 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_DIG(): Normal Case: Approach Lower Bound\n")); pDM_Odm 1138 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 1139 drivers/staging/rtl8723bs/hal/odm_DIG.c Pfalse_ALARM_STATISTICS FalseAlmCnt = &(pDM_Odm->FalseAlmCnt); pDM_Odm 1144 drivers/staging/rtl8723bs/hal/odm_DIG.c !(pDM_Odm->SupportAbility & ODM_BB_CCK_PD) || pDM_Odm 1145 drivers/staging/rtl8723bs/hal/odm_DIG.c !(pDM_Odm->SupportAbility & ODM_BB_FA_CNT) pDM_Odm 1148 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1156 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->ExtLNA) pDM_Odm 1160 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1166 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->bLinked) { pDM_Odm 1167 drivers/staging/rtl8723bs/hal/odm_DIG.c if (pDM_Odm->RSSI_Min > 25) pDM_Odm 1169 drivers/staging/rtl8723bs/hal/odm_DIG.c else if ((pDM_Odm->RSSI_Min <= 25) && (pDM_Odm->RSSI_Min > 10)) pDM_Odm 1184 drivers/staging/rtl8723bs/hal/odm_DIG.c ODM_Write_CCK_CCA_Thres(pDM_Odm, CurCCK_CCAThres); pDM_Odm 1187 drivers/staging/rtl8723bs/hal/odm_DIG.c pDM_Odm, pDM_Odm 1199 drivers/staging/rtl8723bs/hal/odm_DIG.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 1200 drivers/staging/rtl8723bs/hal/odm_DIG.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 1204 drivers/staging/rtl8723bs/hal/odm_DIG.c rtw_write8(pDM_Odm->Adapter, ODM_REG(CCK_CCA, pDM_Odm), CurCCK_CCAThres); pDM_Odm 12 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 13 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pPS_T pDM_PSTable = &pDM_Odm->DM_PSTable; pDM_Odm 25 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 26 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pPS_T pDM_PSTable = &pDM_Odm->DM_PSTable; pDM_Odm 30 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c if (pDM_Odm->PatchID == 40) { /* RT_CID_819x_FUNAI_TV */ pDM_Odm 37 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pDM_PSTable->Reg874 = (PHY_QueryBBReg(pDM_Odm->Adapter, 0x874, bMaskDWord)&0x1CC000)>>14; pDM_Odm 38 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pDM_PSTable->RegC70 = (PHY_QueryBBReg(pDM_Odm->Adapter, 0xc70, bMaskDWord)&BIT3)>>3; pDM_Odm 39 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pDM_PSTable->Reg85C = (PHY_QueryBBReg(pDM_Odm->Adapter, 0x85c, bMaskDWord)&0xFF000000)>>24; pDM_Odm 40 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c pDM_PSTable->RegA74 = (PHY_QueryBBReg(pDM_Odm->Adapter, 0xa74, bMaskDWord)&0xF000)>>12; pDM_Odm 46 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c if (pDM_Odm->RSSI_Min != 0xFF) { pDM_Odm 48 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c if (pDM_Odm->RSSI_Min >= Rssi_Up_bound) pDM_Odm 53 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c if (pDM_Odm->RSSI_Min <= Rssi_Low_bound) pDM_Odm 65 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x874, 0x1C0000, 0x2); /* Reg874[20:18]=3'b010 */ pDM_Odm 66 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc70, BIT3, 0); /* RegC70[3]= 1'b0 */ pDM_Odm 67 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x85c, 0xFF000000, 0x63); /* Reg85C[31:24]= 0x63 */ pDM_Odm 68 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x874, 0xC000, 0x2); /* Reg874[15:14]=2'b10 */ pDM_Odm 69 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0xa74, 0xF000, 0x3); /* RegA75[7:4]= 0x3 */ pDM_Odm 70 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x818, BIT28, 0x0); /* Reg818[28]= 1'b0 */ pDM_Odm 71 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x818, BIT28, 0x1); /* Reg818[28]= 1'b1 */ pDM_Odm 73 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x874, 0x1CC000, pDM_PSTable->Reg874); pDM_Odm 74 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0xc70, BIT3, pDM_PSTable->RegC70); pDM_Odm 75 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x85c, 0xFF000000, pDM_PSTable->Reg85C); pDM_Odm 76 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0xa74, 0xF000, pDM_PSTable->RegA74); pDM_Odm 77 drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c PHY_SetBBReg(pDM_Odm->Adapter, 0x818, BIT28, 0x0); pDM_Odm 12 drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 14 drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 34 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 35 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 37 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false; pDM_Odm 38 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c pDM_Odm->DM_EDCA_Table.bIsCurRDLState = false; pDM_Odm 41 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 43 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c rtw_read32(pDM_Odm->Adapter, ODM_EDCA_VO_PARAM))); pDM_Odm 44 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 46 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c rtw_read32(pDM_Odm->Adapter, ODM_EDCA_VI_PARAM))); pDM_Odm 47 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 49 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c rtw_read32(pDM_Odm->Adapter, ODM_EDCA_BE_PARAM))); pDM_Odm 50 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 52 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c rtw_read32(pDM_Odm->Adapter, ODM_EDCA_BK_PARAM))); pDM_Odm 61 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 63 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 66 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c if (!(pDM_Odm->SupportAbility & ODM_MAC_EDCA_TURBO)) pDM_Odm 69 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c odm_EdcaTurboCheckCE(pDM_Odm); pDM_Odm 70 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD, pDM_Odm 76 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 77 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c struct adapter *Adapter = pDM_Odm->Adapter; pDM_Odm 95 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c if (!pDM_Odm->bLinked) { pDM_Odm 105 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c if (pDM_Odm->pwirelessmode) pDM_Odm 106 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c wirelessmode = *(pDM_Odm->pwirelessmode); pDM_Odm 167 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c pDM_Odm->DM_EDCA_Table.prv_traffic_idx = trafficIndex; pDM_Odm 169 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = true; pDM_Odm 173 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c if (pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA) { pDM_Odm 175 drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false; pDM_Odm 10 drivers/staging/rtl8723bs/hal/odm_HWConfig.c #define READ_AND_CONFIG_MP(ic, txt) (ODM_ReadAndConfig_MP_##ic##txt(pDM_Odm)) pDM_Odm 13 drivers/staging/rtl8723bs/hal/odm_HWConfig.c #define GET_VERSION(ic, txt) (pDM_Odm->bIsMPChip?GET_VERSION_MP(ic, txt):GET_VERSION_TC(ic, txt)) pDM_Odm 26 drivers/staging/rtl8723bs/hal/odm_HWConfig.c s32 odm_SignalScaleMapping(PDM_ODM_T pDM_Odm, s32 CurrSig) pDM_Odm 30 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (pDM_Odm->SupportInterface == ODM_ITRF_SDIO) { pDM_Odm 80 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, pDM_Odm 103 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->PhyDbgInfo.NumQryPhyStatusCCK++; pDM_Odm 130 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (pPhyInfo->rx_pwd_ba11 > 40 && !pDM_Odm->bInHctTest) pDM_Odm 150 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM++; pDM_Odm 158 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (pDM_Odm->RFPathRxEnable & BIT(i)) pDM_Odm 176 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pPhyInfo->rx_snr[i] = pDM_Odm->PhyDbgInfo.RxSNRdB[i] = (s32)(pPhyStaRpt->path_rxsnr[i]/2); pDM_Odm 222 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_ParsingCFO(pDM_Odm, pPktinfo, pPhyStaRpt->path_cfotail); pDM_Odm 232 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pPhyInfo->signal_strength = (u8)(odm_SignalScaleMapping(pDM_Odm, PWDB_ALL));/* PWDB_ALL; */ pDM_Odm 240 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pPhyInfo->signal_strength = (u8)(odm_SignalScaleMapping(pDM_Odm, total_rssi /= rf_rx_num)); pDM_Odm 250 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo pDM_Odm 265 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pEntry = pDM_Odm->pODM_StaInfo[pPktinfo->station_id]; pDM_Odm 274 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->PhyDbgInfo.NumQryBeaconPkt++; pDM_Odm 277 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RxRate = pPktinfo->data_rate; pDM_Odm 280 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (pDM_Odm->SupportAbility & ODM_BB_ANT_DIV) { pDM_Odm 295 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; pDM_Odm 296 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_B = 0; pDM_Odm 300 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_A = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_A]; pDM_Odm 301 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_B = pPhyInfo->rx_mimo_signal_strength[ODM_RF_PATH_B]; pDM_Odm 344 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_A = (u8) pPhyInfo->rx_pwd_ba11; pDM_Odm 345 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->RSSI_B = 0; pDM_Odm 404 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, pDM_Odm 411 drivers/staging/rtl8723bs/hal/odm_HWConfig.c odm_RxPhyStatus92CSeries_Parsing(pDM_Odm, pPhyInfo, pPhyStatus, pPktinfo); pDM_Odm 413 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (!pDM_Odm->RSSI_test) pDM_Odm 414 drivers/staging/rtl8723bs/hal/odm_HWConfig.c odm_Process_RSSIForDM(pDM_Odm, pPhyInfo, pPktinfo); pDM_Odm 418 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, pDM_Odm 425 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_PhyStatusQuery_92CSeries(pDM_Odm, pPhyInfo, pPhyStatus, pPktinfo); pDM_Odm 434 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, pDM_Odm 439 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 440 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ("===>ODM_ConfigRFWithHeaderFile (%s)\n", (pDM_Odm->bIsMPChip) ? "MPChip" : "TestChip")); pDM_Odm 441 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 443 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->SupportPlatform, pDM_Odm->SupportInterface, pDM_Odm->BoardType)); pDM_Odm 453 drivers/staging/rtl8723bs/hal/odm_HWConfig.c HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(PDM_ODM_T pDM_Odm) pDM_Odm 455 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 456 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ("===>ODM_ConfigRFWithTxPwrTrackHeaderFile (%s)\n", (pDM_Odm->bIsMPChip) ? "MPChip" : "TestChip")); pDM_Odm 457 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 459 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->SupportPlatform, pDM_Odm->SupportInterface, pDM_Odm->BoardType)); pDM_Odm 461 drivers/staging/rtl8723bs/hal/odm_HWConfig.c if (pDM_Odm->SupportInterface == ODM_ITRF_SDIO) pDM_Odm 468 drivers/staging/rtl8723bs/hal/odm_HWConfig.c PDM_ODM_T pDM_Odm, ODM_BB_Config_Type ConfigType pDM_Odm 471 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 472 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ("===>ODM_ConfigBBWithHeaderFile (%s)\n", (pDM_Odm->bIsMPChip) ? "MPChip" : "TestChip")); pDM_Odm 473 drivers/staging/rtl8723bs/hal/odm_HWConfig.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD, pDM_Odm 475 drivers/staging/rtl8723bs/hal/odm_HWConfig.c pDM_Odm->SupportPlatform, pDM_Odm->SupportInterface, pDM_Odm->BoardType)); pDM_Odm 15 drivers/staging/rtl8723bs/hal/odm_HWConfig.h #define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##ic##_AGC_TAB_DIFF_##band, \ pDM_Odm 17 drivers/staging/rtl8723bs/hal/odm_HWConfig.h #define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##ic##_AGC_TAB_DIFF_##band, \ pDM_Odm 22 drivers/staging/rtl8723bs/hal/odm_HWConfig.h if (pDM_Odm->bIsMPChip)\ pDM_Odm 125 drivers/staging/rtl8723bs/hal/odm_HWConfig.h PDM_ODM_T pDM_Odm, pDM_Odm 131 drivers/staging/rtl8723bs/hal/odm_HWConfig.h HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(PDM_ODM_T pDM_Odm); pDM_Odm 134 drivers/staging/rtl8723bs/hal/odm_HWConfig.h PDM_ODM_T pDM_Odm, pDM_Odm 140 drivers/staging/rtl8723bs/hal/odm_HWConfig.h PDM_ODM_T pDM_Odm, ODM_BB_Config_Type ConfigType pDM_Odm 144 drivers/staging/rtl8723bs/hal/odm_HWConfig.h PDM_ODM_T pDM_Odm, pDM_Odm 150 drivers/staging/rtl8723bs/hal/odm_HWConfig.h s32 odm_SignalScaleMapping(PDM_ODM_T pDM_Odm, s32 CurrSig); pDM_Odm 22 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c PDM_ODM_T pDM_Odm, pDM_Odm 35 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise_all = 0; pDM_Odm 37 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c if ((pDM_Odm->RFType == ODM_1T2R) || (pDM_Odm->RFType == ODM_2T2R)) pDM_Odm 42 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_DebugControlInbandNoise_Nseries() ==>\n")); pDM_Odm 51 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c odm_PauseDIG(pDM_Odm, ODM_PAUSE_DIG, IGIValue); pDM_Odm 64 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_TxGainStage, BIT25, 1); pDM_Odm 67 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c tmp4b = PHY_QueryBBReg(pDM_Odm->Adapter, 0x8f8, bMaskDWord); pDM_Odm 68 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("Noise Floor Report (0x8f8) = 0x%08x\n", tmp4b)); pDM_Odm 75 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c PHY_SetBBReg(pDM_Odm->Adapter, rFPGA0_TxGainStage, BIT25, 0); pDM_Odm 80 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("value_a = 0x%x(%d), value_b = 0x%x(%d)\n", pDM_Odm 89 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("sval_a = %d, sval_b = %d\n", pDM_Odm 98 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("RF_Path:%d Valid sval = %d\n", rf_path, noise_data.sval[rf_path])); pDM_Odm 99 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("Sum of sval = %d,\n", noise_data.sum[rf_path])); pDM_Odm 102 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("After divided, RF_Path:%d , sum = %d\n", rf_path, noise_data.sum[rf_path])); pDM_Odm 121 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c reg_c50 = (s32)PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XAAGCCore1, bMaskByte0); pDM_Odm 123 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("0x%x = 0x%02x(%d)\n", rOFDM0_XAAGCCore1, reg_c50, reg_c50)); pDM_Odm 124 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise[ODM_RF_PATH_A] = -110 + reg_c50 + noise_data.sum[ODM_RF_PATH_A]; pDM_Odm 125 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_A]; pDM_Odm 128 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c reg_c58 = (s32)PHY_QueryBBReg(pDM_Odm->Adapter, rOFDM0_XBAGCCore1, bMaskByte0); pDM_Odm 130 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("0x%x = 0x%02x(%d)\n", rOFDM0_XBAGCCore1, reg_c58, reg_c58)); pDM_Odm 131 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise[ODM_RF_PATH_B] = -110 + reg_c58 + noise_data.sum[ODM_RF_PATH_B]; pDM_Odm 132 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise_all += pDM_Odm->noise_level.noise[ODM_RF_PATH_B]; pDM_Odm 134 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise_all /= max_rf_path; pDM_Odm 137 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm, pDM_Odm 142 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise[ODM_RF_PATH_A], pDM_Odm 143 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c pDM_Odm->noise_level.noise[ODM_RF_PATH_B] pDM_Odm 151 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c odm_PauseDIG(pDM_Odm, ODM_RESUME_DIG, IGIValue); pDM_Odm 159 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_DebugControlInbandNoise_Nseries() <==\n")); pDM_Odm 160 drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c return pDM_Odm->noise_level.noise_all; pDM_Odm 12 drivers/staging/rtl8723bs/hal/odm_PathDiv.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 14 drivers/staging/rtl8723bs/hal/odm_PathDiv.c if (!(pDM_Odm->SupportAbility & ODM_BB_PATH_DIV)) pDM_Odm 16 drivers/staging/rtl8723bs/hal/odm_PathDiv.c pDM_Odm, pDM_Odm 25 drivers/staging/rtl8723bs/hal/odm_PathDiv.c PDM_ODM_T pDM_Odm = (PDM_ODM_T)pDM_VOID; pDM_Odm 27 drivers/staging/rtl8723bs/hal/odm_PathDiv.c if (!(pDM_Odm->SupportAbility & ODM_BB_PATH_DIV)) pDM_Odm 29 drivers/staging/rtl8723bs/hal/odm_PathDiv.c pDM_Odm, pDM_Odm 11 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 21 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); pDM_Odm 31 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, RF_PATH, Addr, bMaskDWord pDM_Odm 38 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PHY_SetRFReg(pDM_Odm->Adapter, RF_PATH, RegAddr, bRFRegOffsetMask, Data); pDM_Odm 40 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c getvalue = PHY_QueryRFReg(pDM_Odm->Adapter, RF_PATH, Addr, bMaskDWord); pDM_Odm 42 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 62 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, RF_PATH, Addr, bMaskDWord pDM_Odm 70 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, pDM_Odm 79 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, pDM_Odm 87 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, RF_PATH, Addr, bMaskDWord pDM_Odm 90 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 109 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c void odm_ConfigRF_RadioA_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u32 Data) pDM_Odm 115 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 123 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 134 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c void odm_ConfigMAC_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u8 Data) pDM_Odm 136 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c rtw_write8(pDM_Odm->Adapter, Addr, Data); pDM_Odm 138 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 150 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 156 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PHY_SetBBReg(pDM_Odm->Adapter, Addr, Bitmask, Data); pDM_Odm 161 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 173 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 185 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PHY_StoreTxPowerByRate(pDM_Odm->Adapter, Band, RfPath, TxNum, Addr, Bitmask, Data); pDM_Odm 188 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm, pDM_Odm 201 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 220 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PHY_SetBBReg(pDM_Odm->Adapter, Addr, Bitmask, Data); pDM_Odm 225 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_TRACE, ("===> ODM_ConfigBBWithHeaderFile: [PHY_REG] %08X %08X\n", Addr, Data)); pDM_Odm 229 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c PDM_ODM_T pDM_Odm, pDM_Odm 240 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c pDM_Odm->Adapter, pDM_Odm 10 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigRFReg_8723B(PDM_ODM_T pDM_Odm, pDM_Odm 17 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigRF_RadioA_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u32 Data); pDM_Odm 19 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigMAC_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u8 Data); pDM_Odm 21 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigBB_AGC_8723B(PDM_ODM_T pDM_Odm, pDM_Odm 27 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigBB_PHY_REG_PG_8723B(PDM_ODM_T pDM_Odm, pDM_Odm 36 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigBB_PHY_8723B(PDM_ODM_T pDM_Odm, pDM_Odm 42 drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h void odm_ConfigBB_TXPWR_LMT_8723B(PDM_ODM_T pDM_Odm, pDM_Odm 10 drivers/staging/rtl8723bs/hal/odm_debug.c void ODM_InitDebugSetting(PDM_ODM_T pDM_Odm) pDM_Odm 12 drivers/staging/rtl8723bs/hal/odm_debug.c pDM_Odm->DebugLevel = ODM_DBG_LOUD; pDM_Odm 14 drivers/staging/rtl8723bs/hal/odm_debug.c pDM_Odm->DebugComponents = pDM_Odm 99 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt)\ pDM_Odm 102 drivers/staging/rtl8723bs/hal/odm_debug.h (comp & pDM_Odm->DebugComponents) &&\ pDM_Odm 103 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel ||\ pDM_Odm 110 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt)\ pDM_Odm 113 drivers/staging/rtl8723bs/hal/odm_debug.h (comp & pDM_Odm->DebugComponents) &&\ pDM_Odm 114 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel)\ pDM_Odm 120 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt)\ pDM_Odm 138 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr)\ pDM_Odm 141 drivers/staging/rtl8723bs/hal/odm_debug.h (comp & pDM_Odm->DebugComponents) &&\ pDM_Odm 142 drivers/staging/rtl8723bs/hal/odm_debug.h (level <= pDM_Odm->DebugLevel)\ pDM_Odm 155 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE(pDM_Odm, comp, level, fmt) no_printk fmt pDM_Odm 156 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_TRACE_F(pDM_Odm, comp, level, fmt) no_printk fmt pDM_Odm 157 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_RT_ASSERT(pDM_Odm, expr, fmt) no_printk fmt pDM_Odm 161 drivers/staging/rtl8723bs/hal/odm_debug.h #define ODM_PRINT_ADDR(pDM_Odm, comp, level, title_str, ptr) \ pDM_Odm 165 drivers/staging/rtl8723bs/hal/odm_debug.h void ODM_InitDebugSetting(PDM_ODM_T pDM_Odm); pDM_Odm 28 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PDM_ODM_T pDM_Odm = &(pHalData->odmpriv); pDM_Odm 35 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c memset(pDM_Odm, 0, sizeof(*pDM_Odm)); pDM_Odm 37 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c pDM_Odm->Adapter = Adapter; pDM_Odm 39 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_PLATFORM, ODM_CE); pDM_Odm 40 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_INTERFACE, RTW_SDIO); pDM_Odm 41 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_PACKAGE_TYPE, pHalData->PackageType); pDM_Odm 42 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_IC_TYPE, ODM_RTL8723B); pDM_Odm 48 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_FAB_VER, fab_ver); pDM_Odm 49 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_CUT_VER, cut_ver); pDM_Odm 50 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_MP_TEST_CHIP, IS_NORMAL_CHIP(pHalData->VersionID)); pDM_Odm 52 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_PATCH_ID, pHalData->CustomerID); pDM_Odm 54 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoInit(pDM_Odm, ODM_CMNINFO_BWIFI_TEST, Adapter->registrypriv.wifi_spec); pDM_Odm 58 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_RF_TYPE, ODM_1T1R); pDM_Odm 60 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_RF_TYPE, ODM_2T2R); pDM_Odm 62 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_RF_TYPE, ODM_1T2R); pDM_Odm 67 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_ABILITY, pdmpriv->InitODMFlag); pDM_Odm 77 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PDM_ODM_T pDM_Odm = &(pHalData->odmpriv); pDM_Odm 105 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoUpdate(pDM_Odm, ODM_CMNINFO_ABILITY, pdmpriv->InitODMFlag); pDM_Odm 107 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_TX_UNI, &(dvobj->traffic_stat.tx_bytes)); pDM_Odm 108 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_RX_UNI, &(dvobj->traffic_stat.rx_bytes)); pDM_Odm 109 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_WM_MODE, &(pmlmeext->cur_wireless_mode)); pDM_Odm 110 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SEC_CHNL_OFFSET, &(pHalData->nCur40MhzPrimeSC)); pDM_Odm 111 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SEC_MODE, &(Adapter->securitypriv.dot11PrivacyAlgrthm)); pDM_Odm 112 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_BW, &(pHalData->CurrentChannelBW)); pDM_Odm 113 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_CHNL, &(pHalData->CurrentChannel)); pDM_Odm 114 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_NET_CLOSED, &(Adapter->net_closed)); pDM_Odm 115 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_MP_MODE, &zero); pDM_Odm 116 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_BAND, &(pHalData->CurrentBandType)); pDM_Odm 117 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_FORCED_IGI_LB, &(pHalData->u1ForcedIgiLb)); pDM_Odm 118 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_FORCED_RATE, &(pHalData->ForcedDataRate)); pDM_Odm 120 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SCAN, &(pmlmepriv->bScanInProcess)); pDM_Odm 121 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_POWER_SAVING, &(pwrctrlpriv->bpower_saving)); pDM_Odm 125 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_CmnInfoPtrArrayHook(pDM_Odm, ODM_CMNINFO_STA_STATUS, i, NULL); pDM_Odm 132 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PDM_ODM_T pDM_Odm = &(pHalData->odmpriv); pDM_Odm 143 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_DMInit(pDM_Odm); pDM_Odm 205 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 209 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c DBG_871X("%s, RSSI_Min =%d\n", __func__, pDM_Odm->RSSI_Min); pDM_Odm 212 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c ODM_Write_DIG(pDM_Odm, pDM_Odm->RSSI_Min); pDM_Odm 231 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 232 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c pDIG_T pDM_DigTable = &pDM_Odm->DM_DigTable; pDM_Odm 248 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c if (!(pDM_Odm->SupportAbility & ODM_BB_RSSI_MONITOR)) pDM_Odm 269 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c pDM_Odm->RSSI_Min = pdmpriv->MinUndecoratedPWDBForDM; pDM_Odm 273 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c (pDM_DigTable->CurIGValue > pDM_Odm->RSSI_Min + 5) || pDM_Odm 274 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c (pDM_DigTable->CurIGValue < pDM_Odm->RSSI_Min - 5) pDM_Odm 711 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 712 drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c pFAT_T pDM_FatTable = &pDM_Odm->DM_FatTable; pDM_Odm 3094 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c PDM_ODM_T pDM_Odm = &pHalData->odmpriv; pDM_Odm 3097 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ODM_InbandNoise_Monitor(pDM_Odm, true, 0x1e, 100); pDM_Odm 3099 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c chan, pDM_Odm->noise_level.noise[ODM_RF_PATH_A], pDM_Odm 3100 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pDM_Odm->noise_level.noise[ODM_RF_PATH_B], pDM_Odm 3101 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c pDM_Odm->noise_level.noise_all);