Home
last modified time | relevance | path

Searched refs:current_network (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_softmac.c162 for (i = 0; i < ieee->current_network.rates_len; i++) { in MgntQuery_TxRateExcludeCCKRates()
163 BasicRate = ieee->current_network.rates[i]&0x7F; in MgntQuery_TxRateExcludeCCKRates()
342 len = ieee->current_network.ssid_len; in rtllib_probe_req()
366 memcpy(tag, ieee->current_network.ssid, len); in rtllib_probe_req()
392 (msecs_to_jiffies(ieee->current_network.beacon_interval - 5))); in rtllib_send_beacon()
581 u8 last_channel = ieee->current_network.channel; in rtllib_softmac_scan_wq()
600 ieee->current_network.channel = in rtllib_softmac_scan_wq()
601 (ieee->current_network.channel + 1) % in rtllib_softmac_scan_wq()
604 if (!ieee->active_channel_map[ieee->current_network.channel]) in rtllib_softmac_scan_wq()
605 ieee->current_network.channel = 6; in rtllib_softmac_scan_wq()
[all …]
Drtllib_softmac_wx.c71 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()
72 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq()
96 if (ieee->current_network.channel == 0) in rtllib_wx_get_freq()
98 fwrq->m = rtllib_wlan_frequencies[ieee->current_network.channel-1] * in rtllib_wx_get_freq()
126 ieee->current_network.bssid, ETH_ALEN); in rtllib_wx_get_wap()
163 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
180 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
205 if (ieee->current_network.ssid[0] == '\0' || in rtllib_wx_get_essid()
206 ieee->current_network.ssid_len == 0) { in rtllib_wx_get_essid()
217 len = ieee->current_network.ssid_len; in rtllib_wx_get_essid()
[all …]
Drtl819x_HTProc.c155 struct rtllib_network *net = &ieee->current_network; in IsHTHalfNmodeAPs()
180 struct rtllib_network *net = &ieee->current_network; in HTIOTPeerDetermine()
381 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement()
384 (ieee->current_network.channel <= 6) in HTConstructInfoElement()
601 if (ieee->current_network.bssht.bdRT2RTAggregation) { in HTOnAssocRsp()
816 ieee->current_network.qos_data.active = in HTUseDefaultSetting()
817 ieee->current_network.qos_data.supported; in HTUseDefaultSetting()
858 ieee->current_network.channel + 2); in HTSetConnectBwModeCallback()
862 ieee->current_network.channel - 2); in HTSetConnectBwModeCallback()
865 ieee->current_network.channel); in HTSetConnectBwModeCallback()
[all …]
Drtl819x_BAProc.c103 ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); in rtllib_ADDBA()
165 ether_addr_copy(Delba->addr3, ieee->current_network.bssid); in rtllib_DELBA()
260 if (!ieee->current_network.qos_data.active || in rtllib_rx_ADDBAReq()
266 ieee->current_network.qos_data.active, in rtllib_rx_ADDBAReq()
343 if (!ieee->current_network.qos_data.active || in rtllib_rx_ADDBARsp()
348 ieee->current_network.qos_data.active, in rtllib_rx_ADDBARsp()
434 if (!ieee->current_network.qos_data.active || in rtllib_rx_DELBA()
438 ieee->current_network. qos_data.active, in rtllib_rx_DELBA()
Drtllib_tx.c364 else if (ieee->current_network.capability & in rtllib_qurey_ShortPreambleMode()
432 } else if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode()
454 if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode()
483 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in rtllib_query_protectionmode()
581 int qos_activated = ieee->current_network.qos_data.active; in rtllib_xmit_inter()
654 ieee->current_network.tim.tim_count; in rtllib_xmit_inter()
698 ieee->current_network.bssid); in rtllib_xmit_inter()
702 ieee->current_network.bssid); in rtllib_xmit_inter()
712 ieee->current_network.bssid); in rtllib_xmit_inter()
Drtllib_rx.c936 !ieee->current_network.qos_data.active || in rtllib_rx_check_duplicate()
984 ether_addr_copy(bssid, ieee->current_network.bssid); in rtllib_rx_extract_addr()
1004 !ether_addr_equal(ieee->current_network.bssid, bssid) && in rtllib_rx_data_filter()
1005 !is_zero_ether_addr(ieee->current_network.bssid)) { in rtllib_rx_data_filter()
1013 !ether_addr_equal(dst, ieee->current_network.bssid) && in rtllib_rx_data_filter()
1014 ether_addr_equal(bssid, ieee->current_network.bssid)) { in rtllib_rx_data_filter()
1043 if (memcmp(bssid, ieee->current_network.bssid, in rtllib_rx_data_filter()
1410 if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in rtllib_rx_InfraAdhoc()
2643 if (is_same_network(&ieee->current_network, network, in rtllib_process_probe_response()
2645 update_network(ieee, &ieee->current_network, network); in rtllib_process_probe_response()
[all …]
Drtllib_wx.c710 ieee->current_network.bssid[i] = 0x55; in rtllib_wx_set_mlme()
713 ieee->current_network.ssid[0] = '\0'; in rtllib_wx_set_mlme()
714 ieee->current_network.ssid_len = 0; in rtllib_wx_set_mlme()
Drtllib.h332 (((priv->rtllib->current_network.mode == IEEE_A) \
333 || (priv->rtllib->current_network.mode == IEEE_N_24G) \
334 || (priv->rtllib->current_network.mode == IEEE_N_5G)) ? 16 : 10)
1548 struct rtllib_network current_network; member
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c109 if (ieee->current_network.wmm_info & 0x80) in ieee80211_WMM_Info()
318 len = ieee->current_network.ssid_len; in ieee80211_probe_req()
341 memcpy(tag, ieee->current_network.ssid, len); in ieee80211_probe_req()
373 jiffies + msecs_to_jiffies(ieee->current_network.beacon_interval - 5)); in ieee80211_send_beacon()
485 ieee->current_network.channel = in ieee80211_softmac_scan_wq()
486 (ieee->current_network.channel + 1) % MAX_CHANNEL_NUMBER; in ieee80211_softmac_scan_wq()
489 if (!channel_map[ieee->current_network.channel]) { in ieee80211_softmac_scan_wq()
490 ieee->current_network.channel = 6; in ieee80211_softmac_scan_wq()
494 } while (!channel_map[ieee->current_network.channel]); in ieee80211_softmac_scan_wq()
497 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_softmac_scan_wq()
[all …]
Dieee80211_softmac_wx.c70 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()
71 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq()
93 if (ieee->current_network.channel == 0) in ieee80211_wx_get_freq()
96 fwrq->m = ieee80211_wlan_frequencies[ieee->current_network.channel-1] * 100000; in ieee80211_wx_get_freq()
126 ieee->current_network.bssid, ETH_ALEN); in ieee80211_wx_get_wap()
168 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); in ieee80211_wx_set_wap()
192 if (ieee->current_network.ssid[0] == '\0' || in ieee80211_wx_get_essid()
193 ieee->current_network.ssid_len == 0) { in ieee80211_wx_get_essid()
204 len = ieee->current_network.ssid_len; in ieee80211_wx_get_essid()
206 strncpy(b, ieee->current_network.ssid, len); in ieee80211_wx_get_essid()
[all …]
Drtl819x_BAProc.c134 memcpy(BAReq->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_ADDBA()
219 memcpy(Delba->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_DELBA()
351 if ((ieee->current_network.qos_data.active == 0) || in ieee80211_rx_ADDBAReq()
356 …reply on ADDBA_REQ as some capability is not ready(%d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBAReq()
447 if (ieee->current_network.qos_data.active == 0 || in ieee80211_rx_ADDBARsp()
450 …t to ADDBA_RSP as some capability is not ready(%d, %d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBARsp()
557 if (ieee->current_network.qos_data.active == 0 || in ieee80211_rx_DELBA()
559 …, "received DELBA while QOS or HT is not supported(%d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_DELBA()
Dieee80211_tx.c388 else if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in ieee80211_qurey_ShortPreambleMode()
465 else if (ieee->current_network.buseprotection) in ieee80211_query_protectionmode()
481 if (ieee->current_network.buseprotection) in ieee80211_query_protectionmode()
535 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in ieee80211_query_protectionmode()
613 int qos_actived = ieee->current_network.qos_data.active; in ieee80211_xmit()
688 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
697 memcpy(&header.addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
719 skb->priority = ieee80211_classify(skb, &ieee->current_network); in ieee80211_xmit()
Drtl819x_HTProc.c333 struct ieee80211_network *net = &ieee->current_network; in IsHTHalfNmodeAPs()
366 struct ieee80211_network *net = &ieee->current_network; in HTIOTPeerDetermine()
658 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement()
660 (ieee->current_network.channel <= 6) ? in HTConstructInfoElement()
998 if (ieee->current_network.bssht.bdRT2RTAggregation) { in HTOnAssocRsp()
1314 if (ieee->current_network.channel < 2 && Offset == HT_EXTCHNL_OFFSET_LOWER) in HTSetConnectBwMode()
1349 ieee->set_chan(ieee->dev, ieee->current_network.channel + 2); in HTSetConnectBwModeCallback()
1351 ieee->set_chan(ieee->dev, ieee->current_network.channel - 2); in HTSetConnectBwModeCallback()
1353 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback()
1357 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback()
Dieee80211_rx.c1013 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active|| !IsDataFrame… in ieee80211_rx()
1076 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rx()
1135 if (memcmp(bssid, ieee->current_network.bssid, ETH_ALEN)) in ieee80211_rx()
1264 if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in ieee80211_rx()
2502 if (is_same_network(&ieee->current_network, network, ieee)) { in ieee80211_process_probe_response()
2503 update_network(&ieee->current_network, network); in ieee80211_process_probe_response()
2504 if ((ieee->current_network.mode == IEEE_N_24G || ieee->current_network.mode == IEEE_G) in ieee80211_process_probe_response()
2505 && ieee->current_network.berp_info_valid){ in ieee80211_process_probe_response()
2506 if(ieee->current_network.erp_value& ERP_UseProtection) in ieee80211_process_probe_response()
2507 ieee->current_network.buseprotection = true; in ieee80211_process_probe_response()
[all …]
Dieee80211.h176 #define aSifsTime ((priv->ieee80211->current_network.mode == IEEE_A || \
177 priv->ieee80211->current_network.mode == IEEE_N_24G || \
178 priv->ieee80211->current_network.mode == IEEE_N_5G) ? \
1751 struct ieee80211_network current_network; member
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c324 struct rtllib_network *net = &priv->rtllib->current_network; in _rtl92e_update_cap()
384 struct rtllib_network *net = &ieee->current_network; in _rtl92e_update_beacon()
445 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_handle_probe_response()
491 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_assoc_resp()
494 priv->rtllib->current_network.qos_data.active = 1; in _rtl92e_qos_assoc_resp()
497 priv->rtllib->current_network.qos_data.old_param_count = in _rtl92e_qos_assoc_resp()
498 priv->rtllib->current_network.qos_data.param_count; in _rtl92e_qos_assoc_resp()
499 priv->rtllib->current_network.qos_data.param_count = in _rtl92e_qos_assoc_resp()
502 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_assoc_resp()
504 priv->rtllib->current_network.qos_data.active = 0; in _rtl92e_qos_assoc_resp()
[all …]
Dr8192E_phy.c1079 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi()
1083 } else if (priv->rtllib->current_network.channel != in _rtl92e_cck_tx_power_track_bw_switch_tssi()
1107 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_tssi()
1111 } else if (priv->rtllib->current_network.channel != 14 in _rtl92e_cck_tx_power_track_bw_switch_tssi()
1126 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal()
1129 else if (priv->rtllib->current_network.channel != 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal()
1392 priv->rtllib->current_network.channel); in rtl92e_init_gain()
Drtl_wx.c418 ieee->current_network.ssid_len = req->essid_len; in _rtl92e_wx_set_scan()
419 memcpy(ieee->current_network.ssid, req->essid, in _rtl92e_wx_set_scan()
1206 tmp_level = (&ieee->current_network)->stats.rssi; in _rtl92e_get_wireless_stats()
1207 tmp_qual = (&ieee->current_network)->stats.signal; in _rtl92e_get_wireless_stats()
1208 tmp_noise = (&ieee->current_network)->stats.noise; in _rtl92e_get_wireless_stats()
Drtl_dm.c787 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_dm_tx_power_tracking_callback_tssi()
791 } else if (priv->rtllib->current_network.channel != 14 && priv->bcck_in_ch14) { in _rtl92e_dm_tx_power_tracking_callback_tssi()
910 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_dm_tx_power_tracking_cb_thermal()
914 } else if (priv->rtllib->current_network.channel != 14 && in _rtl92e_dm_tx_power_tracking_cb_thermal()
2502 priv->rtllib->current_network.channel); in _rtl92e_dm_dynamic_tx_power()
2504 rtl92e_set_tx_power(dev, priv->rtllib->current_network.channel); in _rtl92e_dm_dynamic_tx_power()
Drtl_cam.c165 u8 *MacAddr = priv->rtllib->current_network.bssid; in rtl92e_cam_restore()
Dr8192E_dev.c35 struct rtllib_network *net = &priv->rtllib->current_network; in rtl92e_start_beacon()
185 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
232 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
961 net = &priv->rtllib->current_network; in _rtl92e_net_update()
1885 ether_addr_equal(priv->rtllib->current_network.bssid, in _rtl92e_translate_rx_signal_stats()
/Linux-v4.19/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c173 if (priv->ieee80211->current_network.mode == IEEE_A || in cmdpkt_beacontimerinterrupt_819xusb()
174 priv->ieee80211->current_network.mode == IEEE_N_5G || in cmdpkt_beacontimerinterrupt_819xusb()
175 (priv->ieee80211->current_network.mode == IEEE_N_24G && in cmdpkt_beacontimerinterrupt_819xusb()
Dr8192U_wx.c336 ieee->current_network.ssid_len = req->essid_len; in r8192_wx_set_scan()
337 memcpy(ieee->current_network.ssid, req->essid, req->essid_len); in r8192_wx_set_scan()
956 tmp_level = (&ieee->current_network)->stats.rssi; in r8192_get_wireless_stats()
957 tmp_qual = (&ieee->current_network)->stats.signal; in r8192_get_wireless_stats()
958 tmp_noise = (&ieee->current_network)->stats.noise; in r8192_get_wireless_stats()
Dr8192U_core.c1085 net = &priv->ieee80211->current_network; in rtl8192_config_rate()
1179 struct ieee80211_network *net = &priv->ieee80211->current_network; in rtl8192_update_cap()
1208 net = &priv->ieee80211->current_network; in rtl8192_net_update()
1797 struct ieee80211_network *net = &ieee->current_network; in rtl8192_update_beacon()
1817 &priv->ieee80211->current_network.qos_data.parameters; in rtl8192_qos_activate()
1818 u8 mode = priv->ieee80211->current_network.mode; in rtl8192_qos_activate()
1885 memcpy(&priv->ieee80211->current_network.qos_data.parameters, in rtl8192_qos_handle_probe_response()
1935 memcpy(&priv->ieee80211->current_network.qos_data.parameters, in rtl8192_qos_association_resp()
1938 priv->ieee80211->current_network.qos_data.active = 1; in rtl8192_qos_association_resp()
1941 priv->ieee80211->current_network.qos_data.old_param_count = in rtl8192_qos_association_resp()
[all …]
Dr8192U_dm.c632 if (priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_TSSI()
635 } else if (priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_TSSI()
747 if (priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_ThermalMeter()
750 } else if (priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_ThermalMeter()
2211 …struct ieee80211_qos_parameters *qos_parameters = &priv->ieee80211->current_network.qos_data.param… in dm_check_edca_turbo()
2995 if ((priv->ieee80211->current_network.atheros_cap_exist) && (priv->ieee80211->mode == IEEE_G)) { in dm_dynamic_txpower()
3029 …RT_TRACE(COMP_TXAGC, "SetTxPowerLevel8190() channel = %d\n", priv->ieee80211->current_network.cha… in dm_dynamic_txpower()
3035 rtl8192_phy_setTxPower(dev, priv->ieee80211->current_network.channel); in dm_dynamic_txpower()

12