/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_ps.c | 66 queue_delayed_work_rsl(priv->rtllib->wq, in rtl8192_hw_wakeup() 67 &priv->rtllib->hw_wakeup_wq, MSECS(10)); in rtl8192_hw_wakeup() 111 queue_delayed_work_rsl(priv->rtllib->wq, in rtl8192_hw_to_sleep() 112 &priv->rtllib->hw_wakeup_wq, tmp); in rtl8192_hw_to_sleep() 113 queue_delayed_work_rsl(priv->rtllib->wq, in rtl8192_hw_to_sleep() 114 (void *)&priv->rtllib->hw_sleep_wq, 0); in rtl8192_hw_to_sleep() 122 &(priv->rtllib->PowerSaveControl); in InactivePsWorkItemCallback() 140 &(priv->rtllib->PowerSaveControl); in IPSEnter() 144 rtState = priv->rtllib->eRFPowerState; in IPSEnter() 146 (priv->rtllib->state != RTLLIB_LINKED) && in IPSEnter() [all …]
|
D | rtl_cam.c | 56 struct rtllib_device *ieee = priv->rtllib; in EnableHWSecurityConfig8192() 60 (priv->rtllib->auth_mode != 2)) { in EnableHWSecurityConfig8192() 87 struct rtllib_device *ieee = priv->rtllib; in set_swcam() 110 rtState = priv->rtllib->eRFPowerState; in setKey() 111 if (priv->rtllib->PowerSaveControl.bInactivePs) { in setKey() 113 if (priv->rtllib->RfOffReason > RF_CHANGE_BY_IPS) { in setKey() 118 down(&priv->rtllib->ips_sem); in setKey() 120 up(&priv->rtllib->ips_sem); in setKey() 124 priv->rtllib->is_set_key = true; in setKey() 200 u8 *MacAddr = priv->rtllib->current_network.bssid; in CamRestoreAllEntry() [all …]
|
D | rtl_core.c | 321 struct rtllib_device *ieee = priv->rtllib; in MgntActSet_RF_State() 366 rtState = priv->rtllib->eRFPowerState; in MgntActSet_RF_State() 370 priv->rtllib->RfOffReason &= (~ChangeSource); in MgntActSet_RF_State() 376 if (!priv->rtllib->RfOffReason) { in MgntActSet_RF_State() 377 priv->rtllib->RfOffReason = 0; in MgntActSet_RF_State() 388 priv->rtllib->RfOffReason, ChangeSource); in MgntActSet_RF_State() 395 if ((priv->rtllib->iw_mode == IW_MODE_INFRA) || in MgntActSet_RF_State() 396 (priv->rtllib->iw_mode == IW_MODE_ADHOC)) { in MgntActSet_RF_State() 397 if ((priv->rtllib->RfOffReason > RF_CHANGE_BY_IPS) || in MgntActSet_RF_State() 403 rtllib_MgntDisconnect(priv->rtllib, in MgntActSet_RF_State() [all …]
|
D | rtl_wx.c | 39 return rtllib_wx_get_freq(priv->rtllib, a, wrqu, b); in r8192_wx_get_freq() 48 return rtllib_wx_get_mode(priv->rtllib, a, wrqu, b); in r8192_wx_get_mode() 56 return rtllib_wx_get_rate(priv->rtllib, info, wrqu, extra); in r8192_wx_get_rate() 73 ret = rtllib_wx_set_rate(priv->rtllib, info, wrqu, extra); in r8192_wx_set_rate() 93 ret = rtllib_wx_set_rts(priv->rtllib, info, wrqu, extra); in r8192_wx_set_rts() 105 return rtllib_wx_get_rts(priv->rtllib, info, wrqu, extra); in r8192_wx_get_rts() 122 ret = rtllib_wx_set_power(priv->rtllib, info, wrqu, extra); in r8192_wx_set_power() 134 return rtllib_wx_get_power(priv->rtllib, info, wrqu, extra); in r8192_wx_get_power() 149 ret = rtllib_wx_set_rawtx(priv->rtllib, info, wrqu, extra); in r8192_wx_set_rawtx() 178 struct rtllib_device *ieee = priv->rtllib; in r8192_wx_force_mic_error() [all …]
|
D | rtl_dm.c | 209 if (priv->rtllib->state != RTLLIB_LINKED) in dm_check_ac_dc_power() 261 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in dm_check_rate_adaptive() 276 if (!(priv->rtllib->mode == WIRELESS_MODE_N_24G || in dm_check_rate_adaptive() 277 priv->rtllib->mode == WIRELESS_MODE_N_5G)) in dm_check_rate_adaptive() 280 if (priv->rtllib->state == RTLLIB_LINKED) { in dm_check_rate_adaptive() 340 if (priv->rtllib->GetHalfNmodeSupportByAPsHandler(dev)) in dm_check_rate_adaptive() 367 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in dm_init_bandwidth_autoswitch() 368 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in dm_init_bandwidth_autoswitch() 369 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_init_bandwidth_autoswitch() 370 priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; in dm_init_bandwidth_autoswitch() [all …]
|
D | r8192E_dev.c | 38 struct rtllib_network *net = &priv->rtllib->current_network; in rtl8192e_start_beacon() 68 switch (priv->rtllib->iw_mode) { in rtl8192e_update_msr() 70 if (priv->rtllib->state == RTLLIB_LINKED) in rtl8192e_update_msr() 77 if (priv->rtllib->state == RTLLIB_LINKED) in rtl8192e_update_msr() 83 if (priv->rtllib->state == RTLLIB_LINKED) in rtl8192e_update_msr() 93 if (priv->rtllib->LedControlHandler) in rtl8192e_update_msr() 94 priv->rtllib->LedControlHandler(dev, LedAction); in rtl8192e_update_msr() 187 u8 mode = priv->rtllib->mode; in rtl8192e_SetHwReg() 189 &priv->rtllib->current_network.qos_data.parameters; in rtl8192e_SetHwReg() 228 priv->rtllib->SetHwRegHandler(dev, HW_VAR_ACM_CTRL, in rtl8192e_SetHwReg() [all …]
|
D | r8192E_cmdpkt.c | 71 priv->rtllib->tx_headroom + 4); in cmpk_message_handle_tx() 85 seg_ptr = skb_put(skb, priv->rtllib->tx_headroom); in cmpk_message_handle_tx() 93 priv->rtllib->softmac_hard_start_xmit(skb, dev); in cmpk_message_handle_tx() 175 if ((priv->rtllib->current_network.mode == IEEE_A) || in cmdpkt_beacontimerinterrupt_819xusb() 176 (priv->rtllib->current_network.mode == IEEE_N_5G) || in cmdpkt_beacontimerinterrupt_819xusb() 177 ((priv->rtllib->current_network.mode == IEEE_N_24G) && in cmdpkt_beacontimerinterrupt_819xusb() 178 (!priv->rtllib->pHTInfo->bCurSuppCCK))) { in cmdpkt_beacontimerinterrupt_819xusb() 203 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) { in cmpk_handle_interrupt_status() 210 priv->rtllib->bibsscoordinator = true; in cmpk_handle_interrupt_status() 213 priv->rtllib->bibsscoordinator = false; in cmpk_handle_interrupt_status()
|
D | rtl_pm.c | 53 if (!priv->rtllib->bSupportRemoteWakeUp) { in rtl8192E_suspend() 67 if (priv->rtllib->bSupportRemoteWakeUp) in rtl8192E_suspend() 73 priv->rtllib->bSupportRemoteWakeUp ? 1 : 0); in rtl8192E_suspend() 119 if (!priv->rtllib->bSupportRemoteWakeUp) in rtl8192E_resume()
|
D | r8192E_phy.c | 226 if (priv->rtllib->eRFPowerState != eRfOn && !priv->being_init_adapter) in rtl8192_phy_SetRFReg() 266 if (priv->rtllib->eRFPowerState != eRfOn && !priv->being_init_adapter) in rtl8192_phy_QueryRFReg() 851 struct rtllib_device *ieee = priv->rtllib; in rtl8192_phy_SwChnlStepByStep() 861 if (!rtllib_legal_channel(priv->rtllib, channel)) { in rtl8192_phy_SwChnlStepByStep() 1031 switch (priv->rtllib->mode) { in rtl8192_phy_SwChnl() 1090 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_TSSI() 1094 } else if (priv->rtllib->current_network.channel != in CCK_Tx_Power_Track_BW_Switch_TSSI() 1118 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_TSSI() 1122 } else if (priv->rtllib->current_network.channel != 14 in CCK_Tx_Power_Track_BW_Switch_TSSI() 1137 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_ThermalMeter() [all …]
|
D | r8192E_firmware.c | 84 if (!priv->rtllib->check_nic_enough_desc(dev, tcb_desc->queue_index) || in fw_download_code() 85 (!skb_queue_empty(&priv->rtllib->skb_waitQ[tcb_desc->queue_index])) || in fw_download_code() 86 (priv->rtllib->queue_stop)) { in fw_download_code() 89 skb_queue_tail(&priv->rtllib->skb_waitQ in fw_download_code() 92 priv->rtllib->softmac_hard_start_xmit(skb, dev); in fw_download_code()
|
D | rtl_ethtool.c | 46 return ((priv->rtllib->state == RTLLIB_LINKED) || in rtl819x_ethtool_get_link() 47 (priv->rtllib->state == RTLLIB_LINKED_SCANNING)); in rtl819x_ethtool_get_link()
|
D | rtl_core.h | 564 struct rtllib_device *rtllib; member
|
/drivers/staging/rtl8192e/ |
D | Kconfig | 2 tristate "Support for rtllib wireless devices" 7 If you have a wireless card that uses rtllib, say 15 tristate "Support for rtllib CCMP crypto" 20 CCMP crypto driver for rtllib. 25 tristate "Support for rtllib TKIP crypto" 31 TKIP crypto driver for rtllib. 36 tristate "Support for rtllib WEP crypto" 41 TKIP crypto driver for rtllib.
|
D | rtllib_softmac.c | 3641 void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib) in rtllib_MgntDisconnectIBSS() argument 3647 rtllib->state = RTLLIB_NOLINK; in rtllib_MgntDisconnectIBSS() 3650 rtllib->current_network.bssid[i] = 0x55; in rtllib_MgntDisconnectIBSS() 3652 rtllib->OpMode = RT_OP_MODE_NO_LINK; in rtllib_MgntDisconnectIBSS() 3653 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_BSSID, in rtllib_MgntDisconnectIBSS() 3654 rtllib->current_network.bssid); in rtllib_MgntDisconnectIBSS() 3656 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_MEDIA_STATUS, &OpMode); in rtllib_MgntDisconnectIBSS() 3657 rtllib_stop_send_beacons(rtllib); in rtllib_MgntDisconnectIBSS() 3660 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_CECHK_BSSID, in rtllib_MgntDisconnectIBSS() 3662 notify_wx_assoc_event(rtllib); in rtllib_MgntDisconnectIBSS() [all …]
|
D | Makefile | 1 rtllib-objs := \ 13 obj-$(CONFIG_RTLLIB) += rtllib.o
|
D | TODO | 1 * merge into drivers/net/wireless/rtllib/rtl8192e
|
D | rtllib.h | 442 (((priv->rtllib->current_network.mode == IEEE_A) \ 443 || (priv->rtllib->current_network.mode == IEEE_N_24G) \ 444 || (priv->rtllib->current_network.mode == IEEE_N_5G)) ? 16 : 10) 2708 extern int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel); 2986 bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn);
|
D | rtllib_rx.c | 2482 static int IsPassiveChannel(struct rtllib_device *rtllib, u8 channel) in IsPassiveChannel() argument 2489 if (rtllib->active_channel_map[channel] == 2) in IsPassiveChannel() 2495 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel) in rtllib_legal_channel() argument 2501 if (rtllib->active_channel_map[channel] > 0) in rtllib_legal_channel()
|