bool rtl92e_set_rf_power_state(struct net_device *dev,
enum rt_rf_power_state eRFPowerState);
-#define PHY_SetRFPowerState rtl92e_set_rf_power_state
void rtl92e_scan_op_backup(struct net_device *dev, u8 Operation);
* -----------------------------GENERAL FUNCTION-------------------------
****************************************************************************/
bool rtl92e_set_rf_state(struct net_device *dev,
- enum rt_rf_power_state StateToSet,
+ enum rt_rf_power_state state_to_set,
RT_RF_CHANGE_SOURCE ChangeSource)
{
struct r8192_priv *priv = rtllib_priv(dev);
rtState = priv->rtllib->eRFPowerState;
- switch (StateToSet) {
+ switch (state_to_set) {
case eRfOn:
priv->rtllib->RfOffReason &= (~ChangeSource);
}
if (bActionAllowed) {
- PHY_SetRFPowerState(dev, StateToSet);
- if (StateToSet == eRfOn) {
+ rtl92e_set_rf_power_state(dev, state_to_set);
+ if (state_to_set == eRfOn) {
if (bConnectBySSID && priv->blinked_ingpio) {
schedule_delayed_work(
&ieee->associate_procedure_wq, 0);
bool rtl92e_disable_nic(struct net_device *dev);
bool rtl92e_set_rf_state(struct net_device *dev,
- enum rt_rf_power_state StateToSet,
+ enum rt_rf_power_state state_to_set,
RT_RF_CHANGE_SOURCE ChangeSource);
#endif