/Linux-v6.1/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_cam.c | 28 struct rtllib_device *ieee = priv->rtllib; in rtl92e_enable_hw_security_config() 33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config() 57 struct rtllib_device *ieee = priv->rtllib; in rtl92e_set_swcam() 83 rt_state = priv->rtllib->rf_power_state; in rtl92e_set_key() 84 if (priv->rtllib->PowerSaveControl.bInactivePs) { in rtl92e_set_key() 86 if (priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) { in rtl92e_set_key() 91 mutex_lock(&priv->rtllib->ips_mutex); in rtl92e_set_key() 93 mutex_unlock(&priv->rtllib->ips_mutex); in rtl92e_set_key() 96 priv->rtllib->is_set_key = true; in rtl92e_set_key() 141 u8 *MacAddr = priv->rtllib->current_network.bssid; in rtl92e_cam_restore() [all …]
|
D | rtl_ps.c | 49 schedule_delayed_work(&priv->rtllib->hw_wakeup_wq, in rtl92e_hw_wakeup() 95 schedule_delayed_work(&priv->rtllib->hw_wakeup_wq, tmp); in rtl92e_enter_sleep() 96 schedule_delayed_work(&priv->rtllib->hw_sleep_wq, 0); in rtl92e_enter_sleep() 104 &(priv->rtllib->PowerSaveControl); in _rtl92e_ps_update_rf_state() 116 &(priv->rtllib->PowerSaveControl); in rtl92e_ips_enter() 120 rt_state = priv->rtllib->rf_power_state; in rtl92e_ips_enter() 122 (priv->rtllib->state != RTLLIB_LINKED) && in rtl92e_ips_enter() 123 (priv->rtllib->iw_mode != IW_MODE_MASTER)) { in rtl92e_ips_enter() 136 &(priv->rtllib->PowerSaveControl); in rtl92e_ips_leave() 140 rt_state = priv->rtllib->rf_power_state; in rtl92e_ips_leave() [all …]
|
D | rtl_core.c | 139 struct rtllib_device *ieee = priv->rtllib; in rtl92e_set_rf_state() 169 rt_state = priv->rtllib->rf_power_state; in rtl92e_set_rf_state() 173 priv->rtllib->rf_off_reason &= (~change_source); in rtl92e_set_rf_state() 178 if (!priv->rtllib->rf_off_reason) { in rtl92e_set_rf_state() 179 priv->rtllib->rf_off_reason = 0; in rtl92e_set_rf_state() 190 if ((priv->rtllib->iw_mode == IW_MODE_INFRA) || in rtl92e_set_rf_state() 191 (priv->rtllib->iw_mode == IW_MODE_ADHOC)) { in rtl92e_set_rf_state() 192 if ((priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) || in rtl92e_set_rf_state() 198 rtllib_MgntDisconnect(priv->rtllib, in rtl92e_set_rf_state() 204 priv->rtllib->rf_off_reason |= change_source; in rtl92e_set_rf_state() [all …]
|
D | rtl_wx.c | 27 return rtllib_wx_get_freq(priv->rtllib, a, wrqu, b); in _rtl92e_wx_get_freq() 36 return rtllib_wx_get_mode(priv->rtllib, a, wrqu, b); in _rtl92e_wx_get_mode() 45 return rtllib_wx_get_rate(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_get_rate() 60 ret = rtllib_wx_set_rate(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rate() 79 ret = rtllib_wx_set_rts(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rts() 92 return rtllib_wx_get_rts(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_get_rts() 109 ret = rtllib_wx_set_power(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_power() 122 return rtllib_wx_get_power(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_get_power() 137 ret = rtllib_wx_set_rawtx(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rawtx() 163 (&priv->rtllib->PowerSaveControl); in _rtl92e_wx_adapter_power_status() [all …]
|
D | rtl_dm.c | 274 if (priv->rtllib->state != RTLLIB_LINKED) in _rtl92e_dm_check_ac_dc_power() 326 struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo; in _rtl92e_dm_check_rate_adaptive() 340 if (!(priv->rtllib->mode == WIRELESS_MODE_N_24G || in _rtl92e_dm_check_rate_adaptive() 341 priv->rtllib->mode == WIRELESS_MODE_N_5G)) in _rtl92e_dm_check_rate_adaptive() 344 if (priv->rtllib->state == RTLLIB_LINKED) { in _rtl92e_dm_check_rate_adaptive() 414 if (priv->rtllib->GetHalfNmodeSupportByAPsHandler(dev)) in _rtl92e_dm_check_rate_adaptive() 439 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in _rtl92e_dm_init_bandwidth_autoswitch() 440 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in _rtl92e_dm_init_bandwidth_autoswitch() 441 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = false; in _rtl92e_dm_init_bandwidth_autoswitch() 442 priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; in _rtl92e_dm_init_bandwidth_autoswitch() [all …]
|
D | r8192E_cmdpkt.c | 36 priv->rtllib->tx_headroom + 4); in rtl92e_send_cmd_pkt() 54 seg_ptr = skb_put(skb, priv->rtllib->tx_headroom); in rtl92e_send_cmd_pkt() 65 (!priv->rtllib->check_nic_enough_desc(dev, TXCMD_QUEUE) || in rtl92e_send_cmd_pkt() 66 (!skb_queue_empty(&priv->rtllib->skb_waitQ[TXCMD_QUEUE])) || in rtl92e_send_cmd_pkt() 67 (priv->rtllib->queue_stop))) { in rtl92e_send_cmd_pkt() 68 skb_queue_tail(&priv->rtllib->skb_waitQ[TXCMD_QUEUE], in rtl92e_send_cmd_pkt() 71 priv->rtllib->softmac_hard_start_xmit(skb, dev); in rtl92e_send_cmd_pkt()
|
D | r8192E_dev.c | 24 struct rtllib_network *net = &priv->rtllib->current_network; in rtl92e_start_beacon() 54 switch (priv->rtllib->iw_mode) { in _rtl92e_update_msr() 56 if (priv->rtllib->state == RTLLIB_LINKED) in _rtl92e_update_msr() 63 if (priv->rtllib->state == RTLLIB_LINKED) in _rtl92e_update_msr() 69 if (priv->rtllib->state == RTLLIB_LINKED) in _rtl92e_update_msr() 79 if (priv->rtllib->LedControlHandler) in _rtl92e_update_msr() 80 priv->rtllib->LedControlHandler(dev, LedAction); in _rtl92e_update_msr() 172 u8 mode = priv->rtllib->mode; in rtl92e_set_reg() 174 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg() 211 priv->rtllib->SetHwRegHandler(dev, HW_VAR_ACM_CTRL, in rtl92e_set_reg() [all …]
|
D | rtl_pm.c | 34 if (!priv->rtllib->bSupportRemoteWakeUp) { in rtl92e_suspend() 47 netdev_info(dev, "WOL is %s\n", priv->rtllib->bSupportRemoteWakeUp ? in rtl92e_suspend() 49 device_set_wakeup_enable(dev_d, priv->rtllib->bSupportRemoteWakeUp); in rtl92e_suspend() 85 if (!priv->rtllib->bSupportRemoteWakeUp) in rtl92e_resume()
|
D | r8192E_phy.c | 203 if (priv->rtllib->rf_power_state != rf_on && !priv->being_init_adapter) in rtl92e_set_rf_reg() 240 if (priv->rtllib->rf_power_state != rf_on && !priv->being_init_adapter) in rtl92e_get_rf_reg() 780 struct rtllib_device *ieee = priv->rtllib; in _rtl92e_phy_switch_channel_step() 787 if (!rtllib_legal_channel(priv->rtllib, channel)) { in _rtl92e_phy_switch_channel_step() 962 switch (priv->rtllib->mode) { in rtl92e_set_channel() 1023 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi() 1027 } else if (priv->rtllib->current_network.channel != in _rtl92e_cck_tx_power_track_bw_switch_tssi() 1048 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi() 1052 } else if (priv->rtllib->current_network.channel != 14 in _rtl92e_cck_tx_power_track_bw_switch_tssi() 1067 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal() [all …]
|
D | rtl_ethtool.c | 30 return ((priv->rtllib->state == RTLLIB_LINKED) || in _rtl92e_ethtool_get_link() 31 (priv->rtllib->state == RTLLIB_LINKED_SCANNING)); in _rtl92e_ethtool_get_link()
|
D | rtl_core.h | 330 struct rtllib_device *rtllib; member
|
/Linux-v6.1/drivers/staging/rtl8192e/ |
D | Kconfig | 3 tristate "Support for rtllib wireless devices" 8 If you have a wireless card that uses rtllib, say 13 This driver adds support for rtllib wireless cards. 19 tristate "Support for rtllib CCMP crypto" 26 CCMP crypto driver for rtllib. 30 use in wireless cards (including rtllib cards). 33 tristate "Support for rtllib TKIP crypto" 40 TKIP crypto driver for rtllib. 47 tristate "Support for rtllib WEP crypto" 52 WEP crypto driver for rtllib.
|
D | Makefile | 2 rtllib-objs := \ 14 obj-$(CONFIG_RTLLIB) += rtllib.o
|
D | rtllib_softmac.c | 3152 static void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib) in rtllib_MgntDisconnectIBSS() argument 3158 rtllib->state = RTLLIB_NOLINK; in rtllib_MgntDisconnectIBSS() 3161 rtllib->current_network.bssid[i] = 0x55; in rtllib_MgntDisconnectIBSS() 3163 rtllib->OpMode = RT_OP_MODE_NO_LINK; in rtllib_MgntDisconnectIBSS() 3164 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_BSSID, in rtllib_MgntDisconnectIBSS() 3165 rtllib->current_network.bssid); in rtllib_MgntDisconnectIBSS() 3167 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_MEDIA_STATUS, &OpMode); in rtllib_MgntDisconnectIBSS() 3168 rtllib_stop_send_beacons(rtllib); in rtllib_MgntDisconnectIBSS() 3171 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_CECHK_BSSID, in rtllib_MgntDisconnectIBSS() 3173 notify_wx_assoc_event(rtllib); in rtllib_MgntDisconnectIBSS() [all …]
|
D | TODO | 1 * merge into drivers/net/wireless/rtllib/rtl8192e
|
D | rtllib.h | 328 (((priv->rtllib->current_network.mode == IEEE_A) \ 329 || (priv->rtllib->current_network.mode == IEEE_N_24G) \ 330 || (priv->rtllib->current_network.mode == IEEE_N_5G)) ? 16 : 10) 1949 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel); 2137 bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn);
|
D | rtllib_rx.c | 2512 static int IsPassiveChannel(struct rtllib_device *rtllib, u8 channel) in IsPassiveChannel() argument 2515 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in IsPassiveChannel() 2519 if (rtllib->active_channel_map[channel] == 2) in IsPassiveChannel() 2525 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel) in rtllib_legal_channel() argument 2528 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in rtllib_legal_channel() 2531 if (rtllib->active_channel_map[channel] > 0) in rtllib_legal_channel()
|