|
@@ -23,7 +23,7 @@
|
|
|
* Return: NONE
|
|
|
* Note: 8226 support both 20M and 40 MHz
|
|
|
*---------------------------------------------------------------------------*/
|
|
|
-void PHY_SetRF8256Bandwidth(struct net_device* dev , HT_CHANNEL_WIDTH Bandwidth) //20M or 40M
|
|
|
+void PHY_SetRF8256Bandwidth(struct net_device *dev , HT_CHANNEL_WIDTH Bandwidth) //20M or 40M
|
|
|
{
|
|
|
u8 eRFPath;
|
|
|
struct r8192_priv *priv = ieee80211_priv(dev);
|
|
@@ -86,7 +86,7 @@ void PHY_SetRF8256Bandwidth(struct net_device* dev , HT_CHANNEL_WIDTH Bandwidth)
|
|
|
* Output: NONE
|
|
|
* Return: NONE
|
|
|
*---------------------------------------------------------------------------*/
|
|
|
-void PHY_RF8256_Config(struct net_device* dev)
|
|
|
+void PHY_RF8256_Config(struct net_device *dev)
|
|
|
{
|
|
|
struct r8192_priv *priv = ieee80211_priv(dev);
|
|
|
// Initialize general global value
|
|
@@ -104,7 +104,7 @@ void PHY_RF8256_Config(struct net_device* dev)
|
|
|
* Output: NONE
|
|
|
* Return: NONE
|
|
|
*---------------------------------------------------------------------------*/
|
|
|
-void phy_RF8256_Config_ParaFile(struct net_device* dev)
|
|
|
+void phy_RF8256_Config_ParaFile(struct net_device *dev)
|
|
|
{
|
|
|
u32 u4RegValue = 0;
|
|
|
//static s1Byte szRadioAFile[] = RTL819X_PHY_RADIO_A;
|
|
@@ -237,7 +237,7 @@ phy_RF8256_Config_ParaFile_Fail:
|
|
|
}
|
|
|
|
|
|
|
|
|
-void PHY_SetRF8256CCKTxPower(struct net_device* dev, u8 powerlevel)
|
|
|
+void PHY_SetRF8256CCKTxPower(struct net_device *dev, u8 powerlevel)
|
|
|
{
|
|
|
u32 TxAGC=0;
|
|
|
struct r8192_priv *priv = ieee80211_priv(dev);
|
|
@@ -258,7 +258,7 @@ void PHY_SetRF8256CCKTxPower(struct net_device* dev, u8 powerlevel)
|
|
|
}
|
|
|
|
|
|
|
|
|
-void PHY_SetRF8256OFDMTxPower(struct net_device* dev, u8 powerlevel)
|
|
|
+void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel)
|
|
|
{
|
|
|
struct r8192_priv *priv = ieee80211_priv(dev);
|
|
|
//Joseph TxPower for 8192 testing
|