void rtl8812_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); struct dm_priv *pdmpriv = &pHalData->dmpriv; PDM_ODM_T podmpriv = &pHalData->odmpriv; memset(pdmpriv, 0, sizeof(struct dm_priv)); //_rtw_spinlock_init(&(pHalData->odm_stainfo_lock)); Init_ODM_ComInfo_8812(Adapter); #ifdef CONFIG_SW_ANTENNA_DIVERSITY //_init_timer(&(pdmpriv->SwAntennaSwitchTimer), Adapter->pnetdev , odm_SW_AntennaSwitchCallback, Adapter); ODM_InitAllTimers(podmpriv ); #endif ODM_InitDebugSetting(podmpriv); pHalData->RegRFPathS1 = 0; pHalData->TxPwrInPercentage = TX_PWR_PERCENTAGE_3; #ifdef CONFIG_BT_COEXIST /* firmware size issue, btcoex fw doesn't support IQK offload */ if (pHalData->EEPROMBluetoothCoexist == _FALSE) #endif { pHalData->RegIQKFWOffload = 1; rtw_sctx_init(&pHalData->iqk_sctx, 0); } }
void rtl8723b_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); PDM_ODM_T podmpriv = &pHalData->odmpriv; Init_ODM_ComInfo_8723b(Adapter); ODM_InitAllTimers(podmpriv ); }
void rtl8188e_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); PDM_ODM_T podmpriv = &pHalData->odmpriv; //_rtw_spinlock_init(&(pHalData->odm_stainfo_lock)); Init_ODM_ComInfo_88E(Adapter); ODM_InitAllTimers(podmpriv ); PHYDM_InitDebugSetting(podmpriv); }
void rtl8723a_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); struct dm_priv *pdmpriv = &pHalData->dmpriv; PDM_ODM_T podmpriv = &pHalData->odmpriv; _rtw_memset(pdmpriv, 0, sizeof(struct dm_priv)); Init_ODM_ComInfo_8723a(Adapter); #ifdef CONFIG_SW_ANTENNA_DIVERSITY //_init_timer(&(pdmpriv->SwAntennaSwitchTimer), Adapter->pnetdev , odm_SW_AntennaSwitchCallback, Adapter); ODM_InitAllTimers(podmpriv ); #endif }
void rtl8192e_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); struct dm_priv *pdmpriv = &pHalData->dmpriv; PDM_ODM_T podmpriv = &pHalData->odmpriv; _rtw_memset(pdmpriv, 0, sizeof(struct dm_priv)); //_rtw_spinlock_init(&(pHalData->odm_stainfo_lock)); Init_ODM_ComInfo_8192e(Adapter); //_init_timer(&(pdmpriv->SwAntennaSwitchTimer), Adapter->pnetdev , odm_SW_AntennaSwitchCallback, Adapter); ODM_InitAllTimers(podmpriv ); ODM_InitDebugSetting(podmpriv); pHalData->RegRFPathS1 = 0; }
void rtl8812_init_dm_priv(IN PADAPTER Adapter) { PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter); struct dm_priv *pdmpriv = &pHalData->dmpriv; PDM_ODM_T podmpriv = &pHalData->odmpriv; _rtw_memset(pdmpriv, 0, sizeof(struct dm_priv)); //_rtw_spinlock_init(&(pHalData->odm_stainfo_lock)); Init_ODM_ComInfo_8812(Adapter); #ifdef CONFIG_SW_ANTENNA_DIVERSITY //_init_timer(&(pdmpriv->SwAntennaSwitchTimer), Adapter->pnetdev , odm_SW_AntennaSwitchCallback, Adapter); ODM_InitAllTimers(podmpriv ); #endif ODM_InitDebugSetting(podmpriv); Adapter->registrypriv.RegEnableTxPowerLimit = 0; Adapter->registrypriv.RegPowerBase = 14; Adapter->registrypriv.RegTxPwrLimit = 0xFFFFFFFF; Adapter->registrypriv.TxBBSwing_2G = 0xFF; Adapter->registrypriv.TxBBSwing_5G = 0xFF; Adapter->registrypriv.bEn_RFE = 0; Adapter->registrypriv.RFE_Type = 64; pHalData->RegRFPathS1 = 0; pHalData->TxPwrInPercentage = TX_PWR_PERCENTAGE_3; }