Home
last modified time | relevance | path

Searched refs:rtllib (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c49 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->pwr_save_ctrl; in _rtl92e_ps_update_rf_state()
116 &priv->rtllib->pwr_save_ctrl; in rtl92e_ips_enter()
119 rt_state = priv->rtllib->rf_power_state; in rtl92e_ips_enter()
121 (priv->rtllib->link_state != MAC80211_LINKED)) { in rtl92e_ips_enter()
131 &priv->rtllib->pwr_save_ctrl; in rtl92e_ips_leave()
134 rt_state = priv->rtllib->rf_power_state; in rtl92e_ips_leave()
136 priv->rtllib->rf_off_reason <= RF_CHANGE_BY_IPS) { in rtl92e_ips_leave()
[all …]
Drtl_core.c117 struct rtllib_device *ieee = priv->rtllib; in rtl92e_set_rf_state()
147 rt_state = priv->rtllib->rf_power_state; in rtl92e_set_rf_state()
151 priv->rtllib->rf_off_reason &= (~change_source); in rtl92e_set_rf_state()
156 if (!priv->rtllib->rf_off_reason) { in rtl92e_set_rf_state()
157 priv->rtllib->rf_off_reason = 0; in rtl92e_set_rf_state()
168 if (priv->rtllib->iw_mode == IW_MODE_INFRA) { in rtl92e_set_rf_state()
169 if ((priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) || in rtl92e_set_rf_state()
175 rtllib_mgnt_disconnect(priv->rtllib, in rtl92e_set_rf_state()
181 priv->rtllib->rf_off_reason |= change_source; in rtl92e_set_rf_state()
186 priv->rtllib->rf_off_reason |= change_source; in rtl92e_set_rf_state()
[all …]
Drtl_wx.c27 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()
136 rt_state = priv->rtllib->rf_power_state; in _rtl92e_wx_set_mode()
140 if (priv->rtllib->rf_off_reason > in _rtl92e_wx_set_mode()
[all …]
Drtl_dm.c274 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_rate_adaptive()
284 if (priv->rtllib->mode != WIRELESS_MODE_N_24G) in _rtl92e_dm_check_rate_adaptive()
287 if (priv->rtllib->link_state == MAC80211_LINKED) { in _rtl92e_dm_check_rate_adaptive()
356 if (priv->rtllib->get_half_nmode_support_by_aps_handler(dev)) in _rtl92e_dm_check_rate_adaptive()
378 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in _rtl92e_dm_init_bandwidth_autoswitch()
379 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in _rtl92e_dm_init_bandwidth_autoswitch()
380 priv->rtllib->bandwidth_auto_switch.forced_tx_20MHz = false; in _rtl92e_dm_init_bandwidth_autoswitch()
381 priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; in _rtl92e_dm_init_bandwidth_autoswitch()
389 !priv->rtllib->bandwidth_auto_switch.bautoswitch_enable) in _rtl92e_dm_bandwidth_autoswitch()
391 if (!priv->rtllib->bandwidth_auto_switch.forced_tx_20MHz) { in _rtl92e_dm_bandwidth_autoswitch()
[all …]
Dr8192E_cmdpkt.c35 priv->rtllib->tx_headroom + 4); in rtl92e_send_cmd_pkt()
51 seg_ptr = skb_put(skb, priv->rtllib->tx_headroom); in rtl92e_send_cmd_pkt()
62 (!priv->rtllib->check_nic_enough_desc(dev, TXCMD_QUEUE) || in rtl92e_send_cmd_pkt()
63 (!skb_queue_empty(&priv->rtllib->skb_waitq[TXCMD_QUEUE])) || in rtl92e_send_cmd_pkt()
64 (priv->rtllib->queue_stop))) { in rtl92e_send_cmd_pkt()
65 skb_queue_tail(&priv->rtllib->skb_waitq[TXCMD_QUEUE], in rtl92e_send_cmd_pkt()
68 priv->rtllib->softmac_hard_start_xmit(skb, dev); in rtl92e_send_cmd_pkt()
Drtl_cam.c28 struct rtllib_device *ieee = priv->rtllib; in rtl92e_enable_hw_security_config()
33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
50 struct rtllib_device *ieee = priv->rtllib; in rtl92e_set_swcam()
74 rt_state = priv->rtllib->rf_power_state; in rtl92e_set_key()
76 if (priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) { in rtl92e_set_key()
81 mutex_lock(&priv->rtllib->ips_mutex); in rtl92e_set_key()
83 mutex_unlock(&priv->rtllib->ips_mutex); in rtl92e_set_key()
85 priv->rtllib->is_set_key = true; in rtl92e_set_key()
Drtl_pm.c33 if (!priv->rtllib->bSupportRemoteWakeUp) { in rtl92e_suspend()
46 netdev_info(dev, "WOL is %s\n", priv->rtllib->bSupportRemoteWakeUp ? in rtl92e_suspend()
48 device_set_wakeup_enable(dev_d, priv->rtllib->bSupportRemoteWakeUp); in rtl92e_suspend()
83 if (!priv->rtllib->bSupportRemoteWakeUp) in rtl92e_resume()
Dr8192E_phy.c155 if (priv->rtllib->rf_power_state != rf_on && !priv->being_init_adapter) in rtl92e_set_rf_reg()
191 if (priv->rtllib->rf_power_state != rf_on && !priv->being_init_adapter) in rtl92e_get_rf_reg()
539 struct rtllib_device *ieee = priv->rtllib; in _rtl92e_phy_switch_channel_step()
546 if (!rtllib_legal_channel(priv->rtllib, channel)) { in _rtl92e_phy_switch_channel_step()
686 switch (priv->rtllib->mode) { in rtl92e_set_channel()
737 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi()
741 } else if (priv->rtllib->current_network.channel != in _rtl92e_cck_tx_power_track_bw_switch_tssi()
762 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi()
766 } else if (priv->rtllib->current_network.channel != 14 in _rtl92e_cck_tx_power_track_bw_switch_tssi()
781 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal()
[all …]
Dr8192E_dev.c29 switch (priv->rtllib->iw_mode) { in _rtl92e_update_msr()
31 if (priv->rtllib->link_state == MAC80211_LINKED) in _rtl92e_update_msr()
128 u8 mode = priv->rtllib->mode; in rtl92e_set_reg()
130 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
167 priv->rtllib->set_hw_reg_handler(dev, HW_VAR_ACM_CTRL, in rtl92e_set_reg()
175 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
398 priv->rtllib->bSupportRemoteWakeUp = true; in _rtl92e_read_eeprom_info()
400 priv->rtllib->bSupportRemoteWakeUp = false; in _rtl92e_read_eeprom_info()
420 switch (priv->rtllib->mode) { in _rtl92e_hwconfig()
557 rtl92e_set_wireless_mode(dev, priv->rtllib->mode); in rtl92e_start_adapter()
[all …]
Drtl_ethtool.c30 return ((priv->rtllib->link_state == MAC80211_LINKED) || in _rtl92e_ethtool_get_link()
31 (priv->rtllib->link_state == MAC80211_LINKED_SCANNING)); in _rtl92e_ethtool_get_link()
Drtl_core.h194 struct rtllib_device *rtllib; member
/linux-6.12.1/drivers/staging/rtl8192e/
DKconfig3 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.
DMakefile2 rtllib-objs := \
13 obj-$(CONFIG_RTLLIB) += rtllib.o
Drtllib_softmac.c2240 static void rtllib_mlme_disassociate_request(struct rtllib_device *rtllib, in rtllib_mlme_disassociate_request() argument
2246 remove_peer_ts(rtllib, addr); in rtllib_mlme_disassociate_request()
2248 if (memcmp(rtllib->current_network.bssid, addr, 6) == 0) { in rtllib_mlme_disassociate_request()
2249 rtllib->link_state = MAC80211_NOLINK; in rtllib_mlme_disassociate_request()
2252 rtllib->current_network.bssid[i] = 0x22; in rtllib_mlme_disassociate_request()
2254 rtllib->op_mode = RT_OP_MODE_NO_LINK; in rtllib_mlme_disassociate_request()
2255 rtllib->set_hw_reg_handler(rtllib->dev, HW_VAR_MEDIA_STATUS, in rtllib_mlme_disassociate_request()
2257 rtllib_disassociate(rtllib); in rtllib_mlme_disassociate_request()
2259 rtllib->set_hw_reg_handler(rtllib->dev, HW_VAR_BSSID, in rtllib_mlme_disassociate_request()
2260 rtllib->current_network.bssid); in rtllib_mlme_disassociate_request()
[all …]
Drtllib_rx.c2355 static int is_passive_channel(struct rtllib_device *rtllib, u8 channel) in is_passive_channel() argument
2358 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in is_passive_channel()
2362 if (rtllib->active_channel_map[channel] == 2) in is_passive_channel()
2368 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel) in rtllib_legal_channel() argument
2371 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in rtllib_legal_channel()
2374 if (rtllib->active_channel_map[channel] > 0) in rtllib_legal_channel()
Drtllib.h303 ((priv->rtllib->current_network.mode == WIRELESS_MODE_N_24G) ? 16 : 10)
1608 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel);
1781 bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 rsn);