staging: rtl8192e: Rename IPSLeave
PATCH 91/102 staging: rtl8192e: Rename IPSLeave
Use naming schema found in other rtlwifi devices.
Rename IPSLeave to rtl92e_ips_leave.
--- drivers/staging/rtl8192e/rtl8192e/rtl_cam.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 10 +++++----- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 14 ++++++++------ 4 files changed, 15 insertions(+), 13 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_cam.c +1 -1
@@ -108,7 +108,7 @@ void rtl92e_set_key(struct net_device *dev, u8 EntryNo, u8 KeyIndex,return ; }down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); } }
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +5 -5
@@ -161,7 +161,7 @@ void rtl92e_ips_enter(struct net_device *dev) } } -void IPSLeave (struct net_device *dev) +void rtl92e_ips_leave (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev); struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *)
@@ -172,7 +172,7 @@ void IPSLeave(struct net_device *dev) rtState = priv->rtllib->eRFPowerState;if (rtState != eRfOn && !pPSC->bSwRfProcessing && priv->rtllib->RfOffReason <=RF_CHANGE_BY_IPS ) { -RT_TRACE (COMP_PS ,"IPSLeave(): Turn on RF.\n" ); +RT_TRACE (COMP_PS ,"rtl92e_ips_leave(): Turn on RF.\n" ); pPSC->eInactivePowerState = eRfOn; priv->bInPowerSaveMode = false;InactivePsWorkItemCallback (dev);
@@ -188,7 +188,7 @@ void IPSLeave_wq(void *data)struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv (dev);down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); }
@@ -206,7 +206,7 @@ void rtllib_ips_leave_wq(struct net_device *dev) __func__);return ; } -netdev_info (dev,"=========>%s(): IPSLeave\n" , +netdev_info (dev,"=========>%s(): rtl92e_ips_leave\n" , __func__);queue_work_rsl (priv->rtllib->wq, &priv->rtllib->ips_leave_wq);
@@ -219,7 +219,7 @@ void rtllib_ips_leave(struct net_device *dev)struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv (dev);down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); }
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -38,7 +38,7 @@ void rtllib_ips_leave(struct net_device *dev);void IPSLeave_wq (void *data);void rtl92e_ips_enter (struct net_device *dev); -void IPSLeave (struct net_device *dev); +void rtl92e_ips_leave (struct net_device *dev);void LeisurePSEnter (struct net_device *dev);void LeisurePSLeave (struct net_device *dev);
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +8 -6
@@ -282,10 +282,11 @@ static int r8192_wx_set_mode(struct net_device *dev, struct iw_request_info *a,up (&priv->wx_sem);return -1 ; } -netdev_info (dev,"=========>%s(): IPSLeave\n" , +netdev_info (dev, +"=========>%s(): rtl92e_ips_leave\n" , __func__);down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); } }
@@ -442,10 +443,11 @@ static int r8192_wx_set_scan(struct net_device *dev, struct iw_request_info *a,up (&priv->wx_sem);return -1 ; } -RT_TRACE (COMP_PS ,"=========>%s(): IPSLeave\n" , +RT_TRACE (COMP_PS , +"=========>%s(): rtl92e_ips_leave\n" , __func__);down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); } }
@@ -700,7 +702,7 @@ static int r8192_wx_set_enc(struct net_device *dev, priv->rtllib->wx_set_enc =1 ;down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem);down (&priv->wx_sem);
@@ -910,7 +912,7 @@ static int r8192_wx_set_enc_ext(struct net_device *dev, priv->rtllib->wx_set_enc =1 ;down (&priv->rtllib->ips_sem); -IPSLeave (dev); +rtl92e_ips_leave (dev);up (&priv->rtllib->ips_sem); ret =rtllib_wx_set_encode_ext (ieee, info, wrqu, extra);
Signature · 1 line
1.8.4.1
PATCH 92/102 staging: rtl8192e: Rename IPSLeave_wq
Use naming schema found in other rtlwifi devices.
Rename IPSLeave_wq to rtl92e_ips_leave_wq.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 3 ++- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +2 -1
@@ -1023,7 +1023,8 @@ static void rtl8192_init_priv_task(struct net_device *dev) priv->priv_wq =create_workqueue (DRV_NAME );INIT_WORK_RSL (&priv->reset_wq, (void *)rtl8192_restart, dev); -INIT_WORK_RSL (&priv->rtllib->ips_leave_wq, (void *)IPSLeave_wq, dev); +INIT_WORK_RSL (&priv->rtllib->ips_leave_wq, (void *)rtl92e_ips_leave_wq, + dev);INIT_DELAYED_WORK_RSL (&priv->watch_dog_wq, (void *)rtl819x_watchdog_wqcallback, dev); INIT_DELAYED_WORK_RSL(&priv->txpower_tracking_wq,
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -180,7 +180,7 @@ void rtl92e_ips_leave(struct net_device *dev) } } -void IPSLeave_wq (void *data) +void rtl92e_ips_leave_wq (void *data) {struct rtllib_device *ieee =container_of_work_rsl (data, struct rtllib_device, ips_leave_wq);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -35,7 +35,7 @@ void rtl8192_hw_wakeup(struct net_device *dev);void rtl8192_hw_to_sleep (struct net_device *dev,u64 time);void rtllib_ips_leave_wq (struct net_device *dev);void rtllib_ips_leave (struct net_device *dev); -void IPSLeave_wq (void *data); +void rtl92e_ips_leave_wq (void *data);void rtl92e_ips_enter (struct net_device *dev);void rtl92e_ips_leave (struct net_device *dev);
Signature · 1 line
1.8.4.1
PATCH 93/102 staging: rtl8192e: Rename LeisurePSEnter
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename LeisurePSEnter to rtl92e_leisure_ps_enter.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -1482,7 +1482,7 @@ static void rtl819x_watchdog_wqcallback(void *data) bEnterPS = false;if (bEnterPS) -LeisurePSEnter (dev); +rtl92e_leisure_ps_enter (dev);else LeisurePSLeave (dev);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +3 -3
@@ -251,13 +251,13 @@ static bool MgntActSet_802_11_PowerSaveMode(struct net_device *dev,return true; } -void LeisurePSEnter (struct net_device *dev) +void rtl92e_leisure_ps_enter (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) &(priv->rtllib->PowerSaveControl); -RT_TRACE (COMP_PS ,"LeisurePSEnter()...\n" ); +RT_TRACE (COMP_PS ,"rtl92e_leisure_ps_enter()...\n" ); RT_TRACE(COMP_PS, "pPSC->bLeisurePs = %d, ieee->ps = %d,pPSC->LpsIdleCount is %d,RT_CHECK_FOR_HANG_PERIOD is %d\n", pPSC->bLeisurePs, priv->rtllib->ps, pPSC->LpsIdleCount,
@@ -275,7 +275,7 @@ void LeisurePSEnter(struct net_device *dev)if (priv->rtllib->ps ==RTLLIB_PS_DISABLED ) {RT_TRACE (COMP_LPS , -"LeisurePSEnter(): Enter 802.11 power save mode...\n" ); +"rtl92e_leisure_ps_enter(): Enter 802.11 power save mode...\n" );if (!pPSC->bFwCtrlLPS) {if (priv->rtllib->SetFwCmdHandler)
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -40,7 +40,7 @@ void rtl92e_ips_leave_wq(void *data);void rtl92e_ips_enter (struct net_device *dev);void rtl92e_ips_leave (struct net_device *dev); -void LeisurePSEnter (struct net_device *dev); +void rtl92e_leisure_ps_enter (struct net_device *dev);void LeisurePSLeave (struct net_device *dev);#endif
Signature · 1 line
1.8.4.1
PATCH 94/102 staging: rtl8192e: Rename LeisurePSLeave
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename LeisurePSLeave to rtl92e_leisure_ps_leave.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 10 +++++----- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 6 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +5 -5
@@ -811,7 +811,7 @@ static int rtl8192_sta_down(struct net_device *dev, bool shutdownrf) priv->rtllib->rtllib_ips_leave (dev);if (priv->rtllib->state ==RTLLIB_LINKED ) -LeisurePSLeave (dev); +rtl92e_leisure_ps_leave (dev); priv->bDriverIsGoingToUnload = true; priv->up =0 ;
@@ -875,7 +875,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) priv->rtllib->handle_assoc_response = rtl8192_handle_assoc_response; priv->rtllib->handle_beacon = rtl8192_handle_beacon; priv->rtllib->SetWirelessMode = rtl92e_set_wireless_mode; - priv->rtllib->LeisurePSLeave = LeisurePSLeave; + priv->rtllib->LeisurePSLeave = rtl92e_leisure_ps_leave; priv->rtllib->SetBWModeHandler = rtl92e_set_bw_mode; priv->rf_set_chan = rtl92e_set_channel;
@@ -1282,7 +1282,7 @@ RESET_START:down (&priv->wx_sem);if (priv->rtllib->state ==RTLLIB_LINKED ) -LeisurePSLeave (dev); +rtl92e_leisure_ps_leave (dev);if (priv->up) { netdev_info(dev, "%s():the driver is not up.\n",
@@ -1484,11 +1484,11 @@ static void rtl819x_watchdog_wqcallback(void *data)if (bEnterPS)rtl92e_leisure_ps_enter (dev);else -LeisurePSLeave (dev); +rtl92e_leisure_ps_leave (dev); }else {RT_TRACE (COMP_LPS ,"====>no link LPS leave\n" ); -LeisurePSLeave (dev); +rtl92e_leisure_ps_leave (dev); } ieee->LinkDetectInfo.NumRxOkInPeriod =0 ;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +3 -3
@@ -291,21 +291,21 @@ void rtl92e_leisure_ps_enter(struct net_device *dev) } } -void LeisurePSLeave (struct net_device *dev) +void rtl92e_leisure_ps_leave (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);struct rt_pwr_save_ctrl *pPSC = (struct rt_pwr_save_ctrl *) &(priv->rtllib->PowerSaveControl); -RT_TRACE (COMP_PS ,"LeisurePSLeave()...\n" ); +RT_TRACE (COMP_PS ,"rtl92e_leisure_ps_leave()...\n" );RT_TRACE (COMP_PS ,"pPSC->bLeisurePs = %d, ieee->ps = %d\n" , pPSC->bLeisurePs, priv->rtllib->ps);if (pPSC->bLeisurePs) {if (priv->rtllib->ps !=RTLLIB_PS_DISABLED ) {RT_TRACE (COMP_LPS , -"LeisurePSLeave(): Busy Traffic , Leave 802.11 power save..\n" ); +"rtl92e_leisure_ps_leave(): Busy Traffic , Leave 802.11 power save..\n" );MgntActSet_802_11_PowerSaveMode (dev,RTLLIB_PS_DISABLED );
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -41,6 +41,6 @@ void rtl92e_ips_enter(struct net_device *dev);void rtl92e_ips_leave (struct net_device *dev);void rtl92e_leisure_ps_enter (struct net_device *dev); -void LeisurePSLeave (struct net_device *dev); +void rtl92e_leisure_ps_leave (struct net_device *dev);#endif
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +1 -1
@@ -192,7 +192,7 @@ static int r8192_wx_adapter_power_status(struct net_device *dev, pPSC->bLeisurePs = true; }else {if (priv->rtllib->state ==RTLLIB_LINKED ) -LeisurePSLeave (dev); +rtl92e_leisure_ps_leave (dev); priv->ps_force = true; pPSC->bLeisurePs = false;
Signature · 1 line
1.8.4.1
PATCH 95/102 staging: rtl8192e: Rename rtl8192_hw_sleep_wq
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename rtl8192_hw_sleep_wq to rtl92e_hw_sleep_wq.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -1037,7 +1037,7 @@ static void rtl8192_init_priv_task(struct net_device *dev)INIT_DELAYED_WORK_RSL (&priv->rtllib->hw_wakeup_wq, (void *) rtl8192_hw_wakeup_wq, dev);INIT_DELAYED_WORK_RSL (&priv->rtllib->hw_sleep_wq, - (void *) rtl8192_hw_sleep_wq, dev); + (void *) rtl92e_hw_sleep_wq, dev);tasklet_init (&priv->irq_rx_tasklet, (void (*)(unsigned long ))rtl8192_irq_rx_tasklet, (unsigned long )priv);
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +1 -1
@@ -590,7 +590,7 @@ void force_pci_posting(struct net_device *dev);void rtl92e_rx_enable (struct net_device *);void rtl92e_tx_enable (struct net_device *); -void rtl8192_hw_sleep_wq (void *data); +void rtl92e_hw_sleep_wq (void *data);void rtl92e_commit (struct net_device *dev);void rtl92e_check_rfctrl_gpio_timer (unsigned long data);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -48,7 +48,7 @@ static void rtl8192_hw_sleep_down(struct net_device *dev)rtl92e_set_rf_state (dev, eRfSleep,RF_CHANGE_BY_PS , false); } -void rtl8192_hw_sleep_wq (void *data) +void rtl92e_hw_sleep_wq (void *data) {struct rtllib_device *ieee =container_of_dwork_rsl (data, struct rtllib_device, hw_sleep_wq);
Signature · 1 line
1.8.4.1
PATCH 96/102 staging: rtl8192e: Rename rtl8192_hw_to_sleep
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename rtl8192_hw_to_sleep to rtl92e_enter_sleep.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -883,7 +883,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) priv->rtllib->stop_send_beacons = rtl8192_stop_beacon; priv->rtllib->sta_wake_up = rtl8192_hw_wakeup; - priv->rtllib->enter_sleep_state = rtl8192_hw_to_sleep; + priv->rtllib->enter_sleep_state = rtl92e_enter_sleep; priv->rtllib->ps_is_queue_empty = rtl8192_is_tx_queue_empty; priv->rtllib->GetNmodeSupportBySecCfg = rtl92e_get_nmode_support_by_sec;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -88,7 +88,7 @@ void rtl8192_hw_wakeup_wq(void *data)#define MIN_SLEEP_TIME 50#define MAX_SLEEP_TIME 10000 -void rtl8192_hw_to_sleep (struct net_device *dev,u64 time) +void rtl92e_enter_sleep (struct net_device *dev,u64 time) {struct r8192_priv *priv =rtllib_priv (dev);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -32,7 +32,7 @@ struct net_device;#define RT_CHECK_FOR_HANG_PERIOD 2void rtl8192_hw_wakeup (struct net_device *dev); -void rtl8192_hw_to_sleep (struct net_device *dev,u64 time); +void rtl92e_enter_sleep (struct net_device *dev,u64 time);void rtllib_ips_leave_wq (struct net_device *dev);void rtllib_ips_leave (struct net_device *dev);void rtl92e_ips_leave_wq (void *data);
Signature · 1 line
1.8.4.1
PATCH 97/102 staging: rtl8192e: Rename rtl8192_hw_wakeup
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename rtl8192_hw_wakeup to rtl92e_hw_wakeup.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 8 ++++---- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -882,7 +882,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) priv->rtllib->start_send_beacons = rtl92e_start_beacon; priv->rtllib->stop_send_beacons = rtl8192_stop_beacon; - priv->rtllib->sta_wake_up = rtl8192_hw_wakeup; + priv->rtllib->sta_wake_up = rtl92e_hw_wakeup; priv->rtllib->enter_sleep_state = rtl92e_enter_sleep; priv->rtllib->ps_is_queue_empty = rtl8192_is_tx_queue_empty;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +4 -4
@@ -57,7 +57,7 @@ void rtl92e_hw_sleep_wq(void *data)rtl8192_hw_sleep_down (dev); } -void rtl8192_hw_wakeup (struct net_device *dev) +void rtl92e_hw_wakeup (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);unsigned long flags =0 ;
@@ -66,7 +66,7 @@ void rtl8192_hw_wakeup(struct net_device *dev)if (priv->RFChangeInProgress) {spin_unlock_irqrestore (&priv->rf_ps_lock, flags);RT_TRACE (COMP_DBG , -"rtl8192_hw_wakeup(): RF Change in progress!\n" ); +"rtl92e_hw_wakeup(): RF Change in progress!\n" );queue_delayed_work_rsl (priv->rtllib->wq, &priv->rtllib->hw_wakeup_wq,msecs_to_jiffies (10 ));
@@ -83,7 +83,7 @@ void rtl8192_hw_wakeup_wq(void *data) struct rtllib_device, hw_wakeup_wq);struct net_device *dev = ieee->dev; -rtl8192_hw_wakeup (dev); +rtl92e_hw_wakeup (dev); }#define MIN_SLEEP_TIME 50
@@ -238,7 +238,7 @@ static bool MgntActSet_802_11_PowerSaveMode(struct net_device *dev, rtPsMode == RTLLIB_PS_DISABLED) {unsigned long flags; -rtl8192_hw_wakeup (dev); +rtl92e_hw_wakeup (dev); priv->rtllib->sta_sleep =LPS_IS_WAKE ;spin_lock_irqsave (&(priv->rtllib->mgmt_tx_lock), flags);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -31,7 +31,7 @@ struct net_device;#define RT_CHECK_FOR_HANG_PERIOD 2 -void rtl8192_hw_wakeup (struct net_device *dev); +void rtl92e_hw_wakeup (struct net_device *dev);void rtl92e_enter_sleep (struct net_device *dev,u64 time);void rtllib_ips_leave_wq (struct net_device *dev);void rtllib_ips_leave (struct net_device *dev);
Signature · 1 line
1.8.4.1
PATCH 98/102 staging: rtl8192e: Rename rtl8192_hw_wakeup_wq
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices. Rename rtl8192_hw_wakeup_wq to rtl92e_hw_wakeup_wq.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -1035,7 +1035,7 @@ static void rtl8192_init_priv_task(struct net_device *dev) (void *)rtl8192_update_beacon, dev);INIT_WORK_RSL (&priv->qos_activate, (void *)rtl8192_qos_activate, dev);INIT_DELAYED_WORK_RSL (&priv->rtllib->hw_wakeup_wq, - (void *) rtl8192_hw_wakeup_wq, dev); + (void *) rtl92e_hw_wakeup_wq, dev);INIT_DELAYED_WORK_RSL (&priv->rtllib->hw_sleep_wq, (void *) rtl92e_hw_sleep_wq, dev); tasklet_init(&priv->irq_rx_tasklet,
drivers/staging/rtl8192e/rtl8192e/rtl_core.h +1 -1
@@ -595,7 +595,7 @@ void rtl92e_commit(struct net_device *dev);void rtl92e_check_rfctrl_gpio_timer (unsigned long data); -void rtl8192_hw_wakeup_wq (void *data); +void rtl92e_hw_wakeup_wq (void *data);void rtl92e_reset_desc_ring (struct net_device *dev);void rtl92e_set_wireless_mode (struct net_device *dev,u8 wireless_mode);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -77,7 +77,7 @@ void rtl92e_hw_wakeup(struct net_device *dev)rtl92e_set_rf_state (dev, eRfOn,RF_CHANGE_BY_PS , false); } -void rtl8192_hw_wakeup_wq (void *data) +void rtl92e_hw_wakeup_wq (void *data) {struct rtllib_device *ieee =container_of_dwork_rsl (data, struct rtllib_device, hw_wakeup_wq);
Signature · 1 line
1.8.4.1
PATCH 99/102 staging: rtl8192e: Rename rtllib_ips_leave
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices. Rename rtllib_ips_leave to rtl92e_rtllib_ips_leave.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -895,7 +895,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) priv->rtllib->SetFwCmdHandler =NULL ; priv->rtllib->InitialGainHandler = rtl92e_init_gain; priv->rtllib->rtllib_ips_leave_wq = rtllib_ips_leave_wq; - priv->rtllib->rtllib_ips_leave = rtllib_ips_leave; + priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave; priv->rtllib->LedControlHandler =NULL ; priv->rtllib->UpdateBeaconInterruptHandler =NULL ;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -214,7 +214,7 @@ void rtllib_ips_leave_wq(struct net_device *dev) } } -void rtllib_ips_leave (struct net_device *dev) +void rtl92e_rtllib_ips_leave (struct net_device *dev) {struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv (dev);
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -34,7 +34,7 @@ struct net_device;void rtl92e_hw_wakeup (struct net_device *dev);void rtl92e_enter_sleep (struct net_device *dev,u64 time);void rtllib_ips_leave_wq (struct net_device *dev); -void rtllib_ips_leave (struct net_device *dev); +void rtl92e_rtllib_ips_leave (struct net_device *dev);void rtl92e_ips_leave_wq (void *data);void rtl92e_ips_enter (struct net_device *dev);
Signature · 1 line
1.8.4.1
PATCH 100/102 staging: rtl8192e: Rename rtllib_ips_leave_wq
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices. Rename rtllib_ips_leave_wq to rtl92e_rtllib_ips_leave_wq.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -894,7 +894,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev) priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode; priv->rtllib->SetFwCmdHandler =NULL ; priv->rtllib->InitialGainHandler = rtl92e_init_gain; - priv->rtllib->rtllib_ips_leave_wq = rtllib_ips_leave_wq; + priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq; priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave; priv->rtllib->LedControlHandler =NULL ;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c +1 -1
@@ -192,7 +192,7 @@ void rtl92e_ips_leave_wq(void *data)up (&priv->rtllib->ips_sem); } -void rtllib_ips_leave_wq (struct net_device *dev) +void rtl92e_rtllib_ips_leave_wq (struct net_device *dev) {struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv (dev);enum rt_rf_power_state rtState;
drivers/staging/rtl8192e/rtl8192e/rtl_ps.h +1 -1
@@ -33,7 +33,7 @@ struct net_device;void rtl92e_hw_wakeup (struct net_device *dev);void rtl92e_enter_sleep (struct net_device *dev,u64 time); -void rtllib_ips_leave_wq (struct net_device *dev); +void rtl92e_rtllib_ips_leave_wq (struct net_device *dev);void rtl92e_rtllib_ips_leave (struct net_device *dev);void rtl92e_ips_leave_wq (void *data);
Signature · 1 line
1.8.4.1
PATCH 101/102 staging: rtl8192e: Rename init_firmware
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename init_firmware to rtl92e_init_fw.
--- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +1 -1
@@ -852,7 +852,7 @@ start: }RT_TRACE (COMP_INIT ,"Load Firmware!\n" ); - bfirmwareok =init_firmware (dev); + bfirmwareok =rtl92e_init_fw (dev);if (!bfirmwareok) {if (retry_times <10 ) { retry_times++;
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +1 -1
@@ -223,7 +223,7 @@ static bool firmware_check_ready(struct net_device *dev,return rt_status; } -bool init_firmware (struct net_device *dev) +bool rtl92e_init_fw (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);bool rt_status = true;
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.h +1 -1
@@ -59,7 +59,7 @@ struct rt_firmware { u16 firmware_buf_size[MAX_FW_INIT_STEP]; }; -bool init_firmware (struct net_device *dev); +bool rtl92e_init_fw (struct net_device *dev);extern void rtl92e_init_fw_param (struct net_device *dev);#endif
Signature · 1 line
1.8.4.1
PATCH 102/102 staging: rtl8192e: Rename init_hal_dm
In reply to Mateusz KulikowskiUse naming schema found in other rtlwifi devices.
Rename init_hal_dm to rtl92e_dm_init.
--- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 +- drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8192e/rtl8192e/rtl_core.c +1 -1
@@ -1093,7 +1093,7 @@ static short rtl8192_init(struct net_device *dev) priv->ops->init_adapter_variable (dev);rtl8192_get_channel_map (dev); -init_hal_dm (dev); +rtl92e_dm_init (dev); setup_timer(&priv->watch_dog_timer, watch_dog_timer_callback,
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +1 -1
@@ -224,7 +224,7 @@ static void dm_send_rssi_tofw(struct net_device *dev);static void dm_ctstoself (struct net_device *dev);/*---------------------------Define function prototype------------------------*/ -void init_hal_dm (struct net_device *dev) +void rtl92e_dm_init (struct net_device *dev) {struct r8192_priv *priv =rtllib_priv (dev);
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h +1 -1
@@ -188,7 +188,7 @@ extern const u8 dm_cck_tx_bb_gain_ch14[CCKTxBBGainTableLength][8];/*--------------------------Exported Function prototype---------------------*/ /*--------------------------Exported Function prototype---------------------*/ -extern void init_hal_dm (struct net_device *dev); +extern void rtl92e_dm_init (struct net_device *dev);extern void rtl92e_dm_deinit (struct net_device *dev);extern void rtl92e_dm_watchdog (struct net_device *dev);
Signature · 1 line
1.8.4.1
Quoted 5 lines · Mateusz Kulikowski
Use naming schema found in other rtlwifi devices.
Rename IPSLeave tortl92e_ips_leave.Signed-off-by Mateusz Kulikowski <[email protected]>---
[...]
Oops, I've broke the thread once gmail anti-spam filter interrupted submission.
Greg - is it fine if it stays as is (If I see correctly, no message intersected this series on staging mailing list)?
Regards,
Mateusz
Greg KH
maintainerQuoted 4 lines · Mateusz Kulikowski
Quoted 3 lines · Mateusz Kulikowski
Use naming schema found in other rtlwifi devices.
Rename IPSLeave tortl92e_ips_leave.
Quoted 8 lines
Quoted 2 lines
Signed-off-by Mateusz Kulikowski <[email protected]>---
[...]
Oops, I've broke the thread once gmail anti-spam filter interrupted submission.
Greg - is it fine if it stays as is (If I see correctly, no message intersected this series on staging mailing list)?
It's fine as, is mutt does the right thing and can order things correctly :)
thanks,
greg k-h