Home
last modified time | relevance | path

Searched refs:rtllib (Results 1 – 16 of 16) 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()
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()
190 priv->rtllib->group_key_type, in rtl92e_cam_restore()
198 priv->rtllib->group_key_type, in rtl92e_cam_restore()
213 priv->rtllib->group_key_type, in rtl92e_cam_restore()
[all …]
H A Drtl_ps.c104 &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()
131 &priv->rtllib->pwr_save_ctrl; in rtl92e_ips_leave()
148 mutex_lock(&priv->rtllib->ips_mutex); in rtl92e_ips_leave_wq()
150 mutex_unlock(&priv->rtllib->ips_mutex); in rtl92e_ips_leave_wq()
175 mutex_lock(&priv->rtllib->ips_mutex); in rtl92e_rtllib_ips_leave()
177 mutex_unlock(&priv->rtllib->ips_mutex); in rtl92e_rtllib_ips_leave()
188 priv->rtllib->ps = rtPsMode; in _rtl92e_ps_set_mode()
208 &priv->rtllib->pwr_save_ctrl; in rtl92e_leisure_ps_enter()
[all …]
H A Drtl_core.c622 priv->rtllib->ieee_up = 1; in _rtl92e_sta_up()
665 priv->rtllib->ieee_up = 0; in _rtl92e_sta_down()
671 kfree(priv->rtllib->wpa_ie); in _rtl92e_sta_down()
672 priv->rtllib->wpa_ie = NULL; in _rtl92e_sta_down()
756 priv->rtllib->status = 0; in _rtl92e_init_priv_variable()
772 priv->rtllib->ieee_up = 0; in _rtl92e_init_priv_variable()
776 priv->rtllib->rate = 110; in _rtl92e_init_priv_variable()
857 dot11d_init(priv->rtllib); in _rtl92e_get_channel_map()
936 switch (priv->rtllib->ps) { in _rtl92e_tx_check_stuck()
1257 RemovePeerTS(priv->rtllib, in _rtl92e_watchdog_wq_cb()
[all …]
H A Drtl_wx.c163 (&priv->rtllib->pwr_save_ctrl); in _rtl92e_wx_adapter_power_status()
192 (&priv->rtllib->pwr_save_ctrl); in _rtl92e_wx_set_lps_awake_interval()
256 if (priv->rtllib->rf_off_reason > in _rtl92e_wx_set_mode()
414 if (priv->rtllib->rf_off_reason > in _rtl92e_wx_set_scan()
425 rtllib_stop_scan(priv->rtllib); in _rtl92e_wx_set_scan()
437 priv->rtllib->actscanning = true; in _rtl92e_wx_set_scan()
657 priv->rtllib->wx_set_enc = 1; in _rtl92e_wx_set_enc()
723 priv->rtllib->wx_set_enc = 0; in _rtl92e_wx_set_enc()
738 priv->rtllib->active_scan = mode; in _rtl92e_wx_set_scan_type()
817 priv->rtllib->wx_set_enc = 1; in _rtl92e_wx_set_encode_ext()
[all …]
H A Drtl_dm.c764 if (priv->rtllib->FwRWRF) in _rtl92e_dm_init_tx_power_tracking_thermal()
1394 priv->rtllib->bis_any_nonbepkts = false; in rtl92e_dm_init_edca_turbo()
1415 if (!priv->rtllib->bis_any_nonbepkts) { in _rtl92e_dm_check_edca_turbo()
1473 priv->rtllib->bis_any_nonbepkts = false; in _rtl92e_dm_check_edca_turbo()
1482 priv->rtllib->bCTSToSelfEnable = true; in _rtl92e_dm_init_cts_to_self()
1494 if (!priv->rtllib->bCTSToSelfEnable) { in _rtl92e_dm_cts_to_self()
1800 priv->rtllib->bfsync_enable = false; in _rtl92e_dm_init_fsync()
1825 priv->rtllib->bfsync_enable && in _rtl92e_dm_fsync_timer_callback()
1997 switch (priv->rtllib->fsync_state) { in _rtl92e_dm_check_fsync()
2012 switch (priv->rtllib->fsync_state) { in _rtl92e_dm_check_fsync()
[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 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_dev.c53 switch (priv->rtllib->iw_mode) { in _rtl92e_update_msr()
156 u8 mode = priv->rtllib->mode; in rtl92e_set_reg()
438 priv->rtllib->bSupportRemoteWakeUp = true; in _rtl92e_read_eeprom_info()
440 priv->rtllib->bSupportRemoteWakeUp = false; in _rtl92e_read_eeprom_info()
460 switch (priv->rtllib->mode) { in _rtl92e_hwconfig()
656 priv->rtllib->rf_power_state = rf_on; in rtl92e_start_adapter()
657 priv->rtllib->rf_off_reason = 0; in rtl92e_start_adapter()
660 if (priv->rtllib->FwRWRF) in rtl92e_start_adapter()
712 net = &priv->rtllib->current_network; in _rtl92e_net_update()
736 struct rtllib_device *ieee = priv->rtllib; in rtl92e_link_change()
[all …]
H A Dr8192E_phy.c538 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()
781 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal()
883 atomic_dec(&(priv->rtllib->atm_swbw)); in _rtl92e_set_bw_mode_work_item()
895 atomic_inc(&(priv->rtllib->atm_swbw)); in rtl92e_set_bw_mode()
967 priv->rtllib->current_network.channel); in rtl92e_init_gain()
994 (&priv->rtllib->pwr_save_ctrl); in _rtl92e_set_rf_power_state()
1005 if ((priv->rtllib->rf_power_state == rf_off) && in _rtl92e_set_rf_power_state()
1044 if (priv->rtllib->rf_power_state == rf_off) in _rtl92e_set_rf_power_state()
[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 DMakefile2 rtllib-objs := \
14 obj-$(CONFIG_RTLLIB) += rtllib.o
H A Drtllib_softmac.c2832 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_BSSID, in rtllib_MgntDisconnectIBSS()
2835 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_MEDIA_STATUS, &OpMode); in rtllib_MgntDisconnectIBSS()
2839 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_CECHK_BSSID, in rtllib_MgntDisconnectIBSS()
2850 RemovePeerTS(rtllib, asSta); in rtllib_MlmeDisassociateRequest()
2859 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_MEDIA_STATUS, in rtllib_MlmeDisassociateRequest()
2861 rtllib_disassociate(rtllib); in rtllib_MlmeDisassociateRequest()
2863 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_BSSID, in rtllib_MlmeDisassociateRequest()
2870 struct rtllib_device *rtllib, in rtllib_MgntDisconnectAP() argument
2877 rtllib->SetHwRegHandler(rtllib->dev, HW_VAR_CECHK_BSSID, in rtllib_MgntDisconnectAP()
2879 rtllib_MlmeDisassociateRequest(rtllib, rtllib->current_network.bssid, in rtllib_MgntDisconnectAP()
[all …]
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);