Exemple #1
0
VOID DisableAPMIMOPSv2(RTMP_ADAPTER *pAd)
{
	bbp_set_mmps(pAd, FALSE);
	rtmp_mac_set_mmps(pAd, FALSE);

	pAd->ApCfg.bGreenAPActive=FALSE;
	MTWF_LOG(DBG_CAT_ALL, DBG_SUBCAT_ALL, DBG_LVL_INFO, ("DisableAPMIMOPSNew, 30xx reserve only one antenna\n"));
}
Exemple #2
0
VOID EnableAPMIMOPSv2(RTMP_ADAPTER *pAd, BOOLEAN ReduceCorePower)
{
	bbp_set_mmps(pAd, ReduceCorePower);
	rtmp_mac_set_mmps(pAd, ReduceCorePower);

	pAd->ApCfg.bGreenAPActive=TRUE;
	MTWF_LOG(DBG_CAT_ALL, DBG_SUBCAT_ALL, DBG_LVL_INFO, ("EnableAPMIMOPSNew, 30xx changes the # of antenna to 1\n"));
}
Exemple #3
0
VOID DisableAPMIMOPSv2(RTMP_ADAPTER *pAd)
{
	bbp_set_mmps(pAd, FALSE);
	rtmp_mac_set_mmps(pAd, FALSE);

	pAd->ApCfg.bGreenAPActive=FALSE;
	DBGPRINT(RT_DEBUG_INFO, ("DisableAPMIMOPSNew, 30xx reserve only one antenna\n"));
}
Exemple #4
0
VOID EnableAPMIMOPSv2(RTMP_ADAPTER *pAd, BOOLEAN ReduceCorePower)
{
	bbp_set_mmps(pAd, ReduceCorePower);
	rtmp_mac_set_mmps(pAd, ReduceCorePower);

	pAd->ApCfg.bGreenAPActive=TRUE;
	DBGPRINT(RT_DEBUG_INFO, ("EnableAPMIMOPSNew, 30xx changes the # of antenna to 1\n"));
}
Exemple #5
0
VOID DisableAPMIMOPSv2(RTMP_ADAPTER *pAd)
{
#if defined (MT7603) || defined (MT7628)
    if (pAd->chipCap.hif_type == HIF_MT)  {
        if (pAd->Antenna.field.RxPath == 2)
            AsicSetRxStream(pAd, pAd->Antenna.field.RxPath);
    }
#else
    bbp_set_mmps(pAd, FALSE);
    rtmp_mac_set_mmps(pAd, FALSE);
#endif

    pAd->ApCfg.bGreenAPActive=FALSE;
    DBGPRINT(RT_DEBUG_INFO, ("DisableAPMIMOPSNew, 30xx reserve only one antenna\n"));
}
Exemple #6
0
VOID EnableAPMIMOPSv2(RTMP_ADAPTER *pAd, BOOLEAN ReduceCorePower)
{
#if defined (MT7603) || defined (MT7628)
    if (pAd->chipCap.hif_type == HIF_MT)  {
        if (pAd->Antenna.field.RxPath == 2)
            AsicSetRxStream(pAd, 1);
    }
#else
    bbp_set_mmps(pAd, ReduceCorePower);
    rtmp_mac_set_mmps(pAd, ReduceCorePower);
#endif

    pAd->ApCfg.bGreenAPActive=TRUE;
    DBGPRINT(RT_DEBUG_INFO, ("EnableAPMIMOPSNew, 30xx changes the # of antenna to 1\n"));
}