bool PHY_RF8256_Config(struct net_device *dev) { struct r8192_priv *priv = rtllib_priv(dev); priv->NumTotalRFPath = RTL819X_TOTAL_RF_PATH; return phy_RF8256_Config_ParaFile(dev); }
/*-------------------------------------------------------------------------- * Overview: Interface to config 8256 * Input: struct net_device* dev * Output: NONE * Return: NONE *-------------------------------------------------------------------------- */ void PHY_RF8256_Config(struct net_device *dev) { struct r8192_priv *priv = ieee80211_priv(dev); /* Initialize general global value * * TODO: Extend RF_PATH_C and RF_PATH_D in the future */ priv->NumTotalRFPath = RTL819X_TOTAL_RF_PATH; /* Config BB and RF */ phy_RF8256_Config_ParaFile(dev); }
/*-------------------------------------------------------------------------- * Overview: Interface to config 8256 * Input: struct net_device* dev * Output: NONE * Return: NONE *---------------------------------------------------------------------------*/ RT_STATUS PHY_RF8256_Config(struct r8192_priv *priv) { // Initialize general global value // RT_STATUS rtStatus = RT_STATUS_SUCCESS; // TODO: Extend RF_PATH_C and RF_PATH_D in the future priv->NumTotalRFPath = RTL819X_TOTAL_RF_PATH; // Config BB and RF rtStatus = phy_RF8256_Config_ParaFile(priv); return rtStatus; }