staging: rtl8192e: Rename rtl8192_phy_ConfigRFWithHeaderFile
Use naming schema found in other rtlwifi devices. Rename rtl8192_phy_ConfigRFWithHeaderFile to rtl92e_config_rf_path. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0efe7104ea
commit
2504c113d8
3 changed files with 7 additions and 8 deletions
|
@ -141,7 +141,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
|
||||||
case RF90_PATH_A:
|
case RF90_PATH_A:
|
||||||
while (RF3_Final_Value != RegValueToBeCheck &&
|
while (RF3_Final_Value != RegValueToBeCheck &&
|
||||||
RetryTimes != 0) {
|
RetryTimes != 0) {
|
||||||
ret = rtl8192_phy_ConfigRFWithHeaderFile(dev,
|
ret = rtl92e_config_rf_path(dev,
|
||||||
(enum rf90_radio_path)eRFPath);
|
(enum rf90_radio_path)eRFPath);
|
||||||
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
||||||
(enum rf90_radio_path)eRFPath,
|
(enum rf90_radio_path)eRFPath,
|
||||||
|
@ -157,7 +157,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
|
||||||
case RF90_PATH_B:
|
case RF90_PATH_B:
|
||||||
while (RF3_Final_Value != RegValueToBeCheck &&
|
while (RF3_Final_Value != RegValueToBeCheck &&
|
||||||
RetryTimes != 0) {
|
RetryTimes != 0) {
|
||||||
ret = rtl8192_phy_ConfigRFWithHeaderFile(dev,
|
ret = rtl92e_config_rf_path(dev,
|
||||||
(enum rf90_radio_path)eRFPath);
|
(enum rf90_radio_path)eRFPath);
|
||||||
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
||||||
(enum rf90_radio_path)eRFPath,
|
(enum rf90_radio_path)eRFPath,
|
||||||
|
@ -173,7 +173,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
|
||||||
case RF90_PATH_C:
|
case RF90_PATH_C:
|
||||||
while (RF3_Final_Value != RegValueToBeCheck &&
|
while (RF3_Final_Value != RegValueToBeCheck &&
|
||||||
RetryTimes != 0) {
|
RetryTimes != 0) {
|
||||||
ret = rtl8192_phy_ConfigRFWithHeaderFile(dev,
|
ret = rtl92e_config_rf_path(dev,
|
||||||
(enum rf90_radio_path)eRFPath);
|
(enum rf90_radio_path)eRFPath);
|
||||||
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
||||||
(enum rf90_radio_path)eRFPath,
|
(enum rf90_radio_path)eRFPath,
|
||||||
|
@ -189,7 +189,7 @@ static bool phy_RF8256_Config_ParaFile(struct net_device *dev)
|
||||||
case RF90_PATH_D:
|
case RF90_PATH_D:
|
||||||
while (RF3_Final_Value != RegValueToBeCheck &&
|
while (RF3_Final_Value != RegValueToBeCheck &&
|
||||||
RetryTimes != 0) {
|
RetryTimes != 0) {
|
||||||
ret = rtl8192_phy_ConfigRFWithHeaderFile(dev,
|
ret = rtl92e_config_rf_path(dev,
|
||||||
(enum rf90_radio_path)eRFPath);
|
(enum rf90_radio_path)eRFPath);
|
||||||
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
RF3_Final_Value = rtl8192_phy_QueryRFReg(dev,
|
||||||
(enum rf90_radio_path)eRFPath,
|
(enum rf90_radio_path)eRFPath,
|
||||||
|
|
|
@ -717,8 +717,7 @@ void rtl8192_phy_updateInitGain(struct net_device *dev)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev,
|
u8 rtl92e_config_rf_path(struct net_device *dev, enum rf90_radio_path eRFPath)
|
||||||
enum rf90_radio_path eRFPath)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -87,7 +87,7 @@ extern void rtl8192_phy_getTxPower(struct net_device *dev);
|
||||||
extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
|
extern void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
|
||||||
extern bool rtl8192_phy_RFConfig(struct net_device *dev);
|
extern bool rtl8192_phy_RFConfig(struct net_device *dev);
|
||||||
extern void rtl8192_phy_updateInitGain(struct net_device *dev);
|
extern void rtl8192_phy_updateInitGain(struct net_device *dev);
|
||||||
extern u8 rtl8192_phy_ConfigRFWithHeaderFile(struct net_device *dev,
|
extern u8 rtl92e_config_rf_path(struct net_device *dev,
|
||||||
enum rf90_radio_path eRFPath);
|
enum rf90_radio_path eRFPath);
|
||||||
|
|
||||||
extern u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
|
extern u8 rtl8192_phy_SwChnl(struct net_device *dev, u8 channel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue