Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A 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()
55 struct rtllib_device *ieee = priv->rtllib; in rtl92e_set_swcam()
79 rt_state = priv->rtllib->rf_power_state; in rtl92e_set_key()
81 if (priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) { in rtl92e_set_key()
86 mutex_lock(&priv->rtllib->ips_mutex); in rtl92e_set_key()
88 mutex_unlock(&priv->rtllib->ips_mutex); in rtl92e_set_key()
90 priv->rtllib->is_set_key = true; in rtl92e_set_key()
134 u8 *MacAddr = priv->rtllib->current_network.bssid; in rtl92e_cam_restore()
146 if ((priv->rtllib->pairwise_key_type == KEY_TYPE_WEP40) || in rtl92e_cam_restore()
[all …]
H A 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 …]
H A 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 (priv->rtllib->iw_mode == IW_MODE_ADHOC)) { in rtl92e_set_rf_state()
170 if ((priv->rtllib->rf_off_reason > RF_CHANGE_BY_IPS) || in rtl92e_set_rf_state()
176 rtllib_MgntDisconnect(priv->rtllib, in rtl92e_set_rf_state()
182 priv->rtllib->rf_off_reason |= change_source; in rtl92e_set_rf_state()
[all …]
H A 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()
137 ret = rtllib_wx_set_rawtx(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rawtx()
163 (&priv->rtllib->pwr_save_ctrl); in _rtl92e_wx_adapter_power_status()
[all …]
H A Drtl_dm.c278 struct rt_hi_throughput *ht_info = priv->rtllib->ht_info; in _rtl92e_dm_check_rate_adaptive()
291 if (priv->rtllib->mode != WIRELESS_MODE_N_24G) in _rtl92e_dm_check_rate_adaptive()
294 if (priv->rtllib->link_state == MAC80211_LINKED) { in _rtl92e_dm_check_rate_adaptive()
363 if (priv->rtllib->GetHalfNmodeSupportByAPsHandler(dev)) in _rtl92e_dm_check_rate_adaptive()
387 priv->rtllib->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in _rtl92e_dm_init_bandwidth_autoswitch()
388 priv->rtllib->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in _rtl92e_dm_init_bandwidth_autoswitch()
389 priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz = false; in _rtl92e_dm_init_bandwidth_autoswitch()
390 priv->rtllib->bandwidth_auto_switch.bautoswitch_enable = false; in _rtl92e_dm_init_bandwidth_autoswitch()
398 !priv->rtllib->bandwidth_auto_switch.bautoswitch_enable) in _rtl92e_dm_bandwidth_autoswitch()
400 if (!priv->rtllib->bandwidth_auto_switch.bforced_tx20Mhz) { in _rtl92e_dm_bandwidth_autoswitch()
[all …]
H A Dr8192E_cmdpkt.c36 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()
H A Dr8192E_dev.c24 struct rtllib_network *net = &priv->rtllib->current_network; in rtl92e_start_beacon()
53 switch (priv->rtllib->iw_mode) { in _rtl92e_update_msr()
55 if (priv->rtllib->link_state == MAC80211_LINKED) in _rtl92e_update_msr()
59 if (priv->rtllib->link_state == MAC80211_LINKED) in _rtl92e_update_msr()
156 u8 mode = priv->rtllib->mode; in rtl92e_set_reg()
158 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
195 priv->rtllib->SetHwRegHandler(dev, HW_VAR_ACM_CTRL, in rtl92e_set_reg()
203 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
438 priv->rtllib->bSupportRemoteWakeUp = true; in _rtl92e_read_eeprom_info()
440 priv->rtllib->bSupportRemoteWakeUp = false; in _rtl92e_read_eeprom_info()
[all …]
H A 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()
H A 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()
538 struct rtllib_device *ieee = priv->rtllib; in _rtl92e_phy_switch_channel_step()
545 if (!rtllib_legal_channel(priv->rtllib, channel)) { in _rtl92e_phy_switch_channel_step()
685 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 …]
H A 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()
H A Drtl_core.h199 struct rtllib_device *rtllib; member
/openbmc/linux/drivers/staging/rtl8192e/
H A 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.
H A Drtllib_softmac.c2820 static void rtllib_MgntDisconnectIBSS(struct rtllib_device *rtllib) in rtllib_MgntDisconnectIBSS() argument
2826 rtllib->link_state = MAC80211_NOLINK; in rtllib_MgntDisconnectIBSS()
2829 rtllib->current_network.bssid[i] = 0x55; in rtllib_MgntDisconnectIBSS()
2831 rtllib->OpMode = RT_OP_MODE_NO_LINK; in rtllib_MgntDisconnectIBSS()
2832 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_BSSID, in rtllib_MgntDisconnectIBSS()
2833 rtllib->current_network.bssid); in rtllib_MgntDisconnectIBSS()
2835 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_MEDIA_STATUS, &OpMode); in rtllib_MgntDisconnectIBSS()
2836 rtllib_stop_send_beacons(rtllib); in rtllib_MgntDisconnectIBSS()
2839 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_CECHK_BSSID, in rtllib_MgntDisconnectIBSS()
2841 notify_wx_assoc_event(rtllib); in rtllib_MgntDisconnectIBSS()
[all …]
H A DMakefile2 rtllib-objs := \
14 obj-$(CONFIG_RTLLIB) += rtllib.o
H A Drtllib_rx.c2456 static int IsPassiveChannel(struct rtllib_device *rtllib, u8 channel) in IsPassiveChannel() argument
2459 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in IsPassiveChannel()
2463 if (rtllib->active_channel_map[channel] == 2) in IsPassiveChannel()
2469 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel) in rtllib_legal_channel() argument
2472 netdev_info(rtllib->dev, "%s(): Invalid Channel\n", __func__); in rtllib_legal_channel()
2475 if (rtllib->active_channel_map[channel] > 0) in rtllib_legal_channel()
H A Drtllib.h308 ((priv->rtllib->current_network.mode == WIRELESS_MODE_N_24G) ? 16 : 10)
1846 int rtllib_legal_channel(struct rtllib_device *rtllib, u8 channel);
2032 bool rtllib_MgntDisconnect(struct rtllib_device *rtllib, u8 asRsn);
/openbmc/linux/
H A Dopengrok0.0.log[all...]
H A Dopengrok2.0.log[all...]