Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_softmac.c159 for (i = 0; i < ieee->current_network.rates_len; i++) { in MgntQuery_TxRateExcludeCCKRates()
160 BasicRate = ieee->current_network.rates[i]&0x7F; in MgntQuery_TxRateExcludeCCKRates()
339 len = ieee->current_network.ssid_len; in rtllib_probe_req()
363 memcpy(tag, ieee->current_network.ssid, len); in rtllib_probe_req()
389 (msecs_to_jiffies(ieee->current_network.beacon_interval - 5))); in rtllib_send_beacon()
578 u8 last_channel = ieee->current_network.channel; in rtllib_softmac_scan_wq()
597 ieee->current_network.channel = in rtllib_softmac_scan_wq()
598 (ieee->current_network.channel + 1) % in rtllib_softmac_scan_wq()
601 if (!ieee->active_channel_map[ieee->current_network.channel]) in rtllib_softmac_scan_wq()
602 ieee->current_network.channel = 6; in rtllib_softmac_scan_wq()
[all …]
Drtllib_softmac_wx.c68 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()
69 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq()
93 if (ieee->current_network.channel == 0) in rtllib_wx_get_freq()
95 fwrq->m = rtllib_wlan_frequencies[ieee->current_network.channel-1] * in rtllib_wx_get_freq()
123 ieee->current_network.bssid, ETH_ALEN); in rtllib_wx_get_wap()
160 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
177 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap()
202 if (ieee->current_network.ssid[0] == '\0' || in rtllib_wx_get_essid()
203 ieee->current_network.ssid_len == 0) { in rtllib_wx_get_essid()
214 len = ieee->current_network.ssid_len; in rtllib_wx_get_essid()
[all …]
Drtl819x_HTProc.c144 struct rtllib_network *net = &ieee->current_network; in IsHTHalfNmodeAPs()
169 struct rtllib_network *net = &ieee->current_network; in HTIOTPeerDetermine()
367 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement()
370 (ieee->current_network.channel <= 6) in HTConstructInfoElement()
582 if (ieee->current_network.bssht.bd_rt2rt_aggregation) { in HTOnAssocRsp()
792 ieee->current_network.qos_data.active = in HTUseDefaultSetting()
793 ieee->current_network.qos_data.supported; in HTUseDefaultSetting()
832 ieee->current_network.channel + 2); in HTSetConnectBwModeCallback()
836 ieee->current_network.channel - 2); in HTSetConnectBwModeCallback()
839 ieee->current_network.channel); in HTSetConnectBwModeCallback()
[all …]
Drtl819x_BAProc.c94 ether_addr_copy(BAReq->addr3, ieee->current_network.bssid); in rtllib_ADDBA()
154 ether_addr_copy(Delba->addr3, ieee->current_network.bssid); in rtllib_DELBA()
247 if (!ieee->current_network.qos_data.active || in rtllib_rx_ADDBAReq()
253 ieee->current_network.qos_data.active, in rtllib_rx_ADDBAReq()
329 if (!ieee->current_network.qos_data.active || in rtllib_rx_ADDBARsp()
334 ieee->current_network.qos_data.active, in rtllib_rx_ADDBARsp()
417 if (!ieee->current_network.qos_data.active || in rtllib_rx_DELBA()
421 ieee->current_network. qos_data.active, in rtllib_rx_DELBA()
Drtllib_tx.c346 else if (ieee->current_network.capability & in rtllib_query_ShortPreambleMode()
414 } else if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode()
436 if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode()
465 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in rtllib_query_protectionmode()
563 int qos_activated = ieee->current_network.qos_data.active; in rtllib_xmit_inter()
636 ieee->current_network.tim.tim_count; in rtllib_xmit_inter()
680 ieee->current_network.bssid); in rtllib_xmit_inter()
684 ieee->current_network.bssid); in rtllib_xmit_inter()
694 ieee->current_network.bssid); in rtllib_xmit_inter()
Drtllib_rx.c928 !ieee->current_network.qos_data.active || in rtllib_rx_check_duplicate()
976 ether_addr_copy(bssid, ieee->current_network.bssid); in rtllib_rx_extract_addr()
996 !ether_addr_equal(ieee->current_network.bssid, bssid) && in rtllib_rx_data_filter()
997 !is_zero_ether_addr(ieee->current_network.bssid)) { in rtllib_rx_data_filter()
1005 !ether_addr_equal(dst, ieee->current_network.bssid) && in rtllib_rx_data_filter()
1006 ether_addr_equal(bssid, ieee->current_network.bssid)) { in rtllib_rx_data_filter()
1035 if (memcmp(bssid, ieee->current_network.bssid, in rtllib_rx_data_filter()
1401 if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in rtllib_rx_InfraAdhoc()
2610 if (is_same_network(&ieee->current_network, network, in rtllib_process_probe_response()
2612 update_network(ieee, &ieee->current_network, network); in rtllib_process_probe_response()
[all …]
Drtllib_wx.c679 ieee->current_network.bssid[i] = 0x55; in rtllib_wx_set_mlme()
682 ieee->current_network.ssid[0] = '\0'; in rtllib_wx_set_mlme()
683 ieee->current_network.ssid_len = 0; in rtllib_wx_set_mlme()
Drtllib.h328 (((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)
1543 struct rtllib_network current_network; member
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c108 if (ieee->current_network.wmm_info & 0x80) in ieee80211_WMM_Info()
317 len = ieee->current_network.ssid_len; in ieee80211_probe_req()
340 memcpy(tag, ieee->current_network.ssid, len); in ieee80211_probe_req()
372 jiffies + msecs_to_jiffies(ieee->current_network.beacon_interval - 5)); in ieee80211_send_beacon()
484 ieee->current_network.channel = in ieee80211_softmac_scan_wq()
485 (ieee->current_network.channel + 1) % MAX_CHANNEL_NUMBER; in ieee80211_softmac_scan_wq()
488 if (!channel_map[ieee->current_network.channel]) { in ieee80211_softmac_scan_wq()
489 ieee->current_network.channel = 6; in ieee80211_softmac_scan_wq()
493 } while (!channel_map[ieee->current_network.channel]); in ieee80211_softmac_scan_wq()
496 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_softmac_scan_wq()
[all …]
Dieee80211_softmac_wx.c69 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()
70 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq()
92 if (ieee->current_network.channel == 0) in ieee80211_wx_get_freq()
95 fwrq->m = ieee80211_wlan_frequencies[ieee->current_network.channel - 1] * 100000; in ieee80211_wx_get_freq()
125 ieee->current_network.bssid, ETH_ALEN); in ieee80211_wx_get_wap()
167 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); in ieee80211_wx_set_wap()
191 if (ieee->current_network.ssid[0] == '\0' || in ieee80211_wx_get_essid()
192 ieee->current_network.ssid_len == 0) { in ieee80211_wx_get_essid()
203 len = ieee->current_network.ssid_len; in ieee80211_wx_get_essid()
205 strncpy(b, ieee->current_network.ssid, len); in ieee80211_wx_get_essid()
[all …]
Dieee80211_tx.c355 } else if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) { in ieee80211_qurey_ShortPreambleMode()
427 } else if (ieee->current_network.buseprotection) { in ieee80211_query_protectionmode()
439 if (ieee->current_network.buseprotection) {// CTS-to-SELF in ieee80211_query_protectionmode()
487 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in ieee80211_query_protectionmode()
546 int qos_actived = ieee->current_network.qos_data.active; in ieee80211_xmit()
620 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
629 memcpy(&header.addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
649 skb->priority = ieee80211_classify(skb, &ieee->current_network); in ieee80211_xmit()
Drtl819x_BAProc.c132 memcpy(BAReq->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_ADDBA()
215 memcpy(Delba->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_DELBA()
347 if ((ieee->current_network.qos_data.active == 0) || in ieee80211_rx_ADDBAReq()
352 …reply on ADDBA_REQ as some capability is not ready(%d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBAReq()
443 if (ieee->current_network.qos_data.active == 0 || in ieee80211_rx_ADDBARsp()
446 …t to ADDBA_RSP as some capability is not ready(%d, %d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBARsp()
553 if (ieee->current_network.qos_data.active == 0 || in ieee80211_rx_DELBA()
555 …, "received DELBA while QOS or HT is not supported(%d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_DELBA()
Drtl819x_HTProc.c272 struct ieee80211_network *net = &ieee->current_network; in IsHTHalfNmodeAPs()
305 struct ieee80211_network *net = &ieee->current_network; in HTIOTPeerDetermine()
597 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement()
599 (ieee->current_network.channel <= 6) ? in HTConstructInfoElement()
936 if (ieee->current_network.bssht.bdRT2RTAggregation) { in HTOnAssocRsp()
1231 ieee->set_chan(ieee->dev, ieee->current_network.channel + 2); in HTSetConnectBwModeCallback()
1233 ieee->set_chan(ieee->dev, ieee->current_network.channel - 2); in HTSetConnectBwModeCallback()
1235 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback()
1239 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback()
1270 if (ieee->current_network.channel < 2 && Offset == HT_EXTCHNL_OFFSET_LOWER) in HTSetConnectBwMode()
Dieee80211_rx.c1004 …if ((!ieee->pHTInfo->bCurRxReorderEnable) || !ieee->current_network.qos_data.active || !IsDataFram… in ieee80211_rx()
1060 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rx()
1119 if (memcmp(bssid, ieee->current_network.bssid, ETH_ALEN)) in ieee80211_rx()
1245 if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in ieee80211_rx()
2346 if (is_same_network(&ieee->current_network, network, ieee)) { in ieee80211_process_probe_response()
2347 update_network(&ieee->current_network, network); in ieee80211_process_probe_response()
2348 if ((ieee->current_network.mode == IEEE_N_24G || ieee->current_network.mode == IEEE_G) in ieee80211_process_probe_response()
2349 && ieee->current_network.berp_info_valid){ in ieee80211_process_probe_response()
2350 if (ieee->current_network.erp_value & ERP_UseProtection) in ieee80211_process_probe_response()
2351 ieee->current_network.buseprotection = true; in ieee80211_process_probe_response()
[all …]
Dieee80211.h172 #define aSifsTime ((priv->ieee80211->current_network.mode == IEEE_A || \
173 priv->ieee80211->current_network.mode == IEEE_N_24G || \
174 priv->ieee80211->current_network.mode == IEEE_N_5G) ? \
1746 struct ieee80211_network current_network; member
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c286 struct rtllib_network *net = &priv->rtllib->current_network; in _rtl92e_update_cap()
340 struct rtllib_network *net = &ieee->current_network; in _rtl92e_update_beacon()
395 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_handle_probe_response()
438 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_assoc_resp()
441 priv->rtllib->current_network.qos_data.active = 1; in _rtl92e_qos_assoc_resp()
444 priv->rtllib->current_network.qos_data.old_param_count = in _rtl92e_qos_assoc_resp()
445 priv->rtllib->current_network.qos_data.param_count; in _rtl92e_qos_assoc_resp()
446 priv->rtllib->current_network.qos_data.param_count = in _rtl92e_qos_assoc_resp()
449 memcpy(&priv->rtllib->current_network.qos_data.parameters, in _rtl92e_qos_assoc_resp()
451 priv->rtllib->current_network.qos_data.active = 0; in _rtl92e_qos_assoc_resp()
[all …]
Dr8192E_phy.c1023 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()
1070 else if (priv->rtllib->current_network.channel != 14 && in _rtl92e_cck_tx_power_track_bw_switch_thermal()
1279 priv->rtllib->current_network.channel); in rtl92e_init_gain()
Drtl_wx.c407 ieee->current_network.ssid_len = len; in _rtl92e_wx_set_scan()
408 memcpy(ieee->current_network.ssid, req->essid, len); in _rtl92e_wx_set_scan()
1190 tmp_level = (&ieee->current_network)->stats.rssi; in _rtl92e_get_wireless_stats()
1191 tmp_qual = (&ieee->current_network)->stats.signal; in _rtl92e_get_wireless_stats()
1192 tmp_noise = (&ieee->current_network)->stats.noise; in _rtl92e_get_wireless_stats()
Drtl_cam.c141 u8 *MacAddr = priv->rtllib->current_network.bssid; in rtl92e_cam_restore()
Drtl_dm.c737 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_dm_tx_power_tracking_callback_tssi()
741 } else if (priv->rtllib->current_network.channel != 14 && priv->bcck_in_ch14) { in _rtl92e_dm_tx_power_tracking_callback_tssi()
833 if (priv->rtllib->current_network.channel == 14 && in _rtl92e_dm_tx_power_tracking_cb_thermal()
837 } else if (priv->rtllib->current_network.channel != 14 && in _rtl92e_dm_tx_power_tracking_cb_thermal()
2325 rtl92e_set_tx_power(dev, priv->rtllib->current_network.channel); in _rtl92e_dm_dynamic_tx_power()
Dr8192E_dev.c24 struct rtllib_network *net = &priv->rtllib->current_network; in rtl92e_start_beacon()
174 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
219 &priv->rtllib->current_network.qos_data.parameters; in rtl92e_set_reg()
823 net = &priv->rtllib->current_network; in _rtl92e_net_update()
1719 ether_addr_equal(priv->rtllib->current_network.bssid, in _rtl92e_translate_rx_signal_stats()
/linux-6.1.9/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c174 if (priv->ieee80211->current_network.mode == IEEE_A || in cmdpkt_beacontimerinterrupt_819xusb()
175 priv->ieee80211->current_network.mode == IEEE_N_5G || in cmdpkt_beacontimerinterrupt_819xusb()
176 (priv->ieee80211->current_network.mode == IEEE_N_24G && in cmdpkt_beacontimerinterrupt_819xusb()
Dr8192U_core.c843 net = &priv->ieee80211->current_network; in rtl8192_config_rate()
936 struct ieee80211_network *net = &priv->ieee80211->current_network; in rtl8192_update_cap()
965 net = &priv->ieee80211->current_network; in rtl8192_net_update()
1562 struct ieee80211_network *net = &ieee->current_network; in rtl8192_update_beacon()
1582 &priv->ieee80211->current_network.qos_data.parameters; in rtl8192_qos_activate()
1583 u8 mode = priv->ieee80211->current_network.mode; in rtl8192_qos_activate()
1650 memcpy(&priv->ieee80211->current_network.qos_data.parameters, in rtl8192_qos_handle_probe_response()
1700 memcpy(&priv->ieee80211->current_network.qos_data.parameters, in rtl8192_qos_association_resp()
1703 priv->ieee80211->current_network.qos_data.active = 1; in rtl8192_qos_association_resp()
1706 priv->ieee80211->current_network.qos_data.old_param_count = in rtl8192_qos_association_resp()
[all …]
Dr8192U_wx.c336 ieee->current_network.ssid_len = len; in r8192_wx_set_scan()
337 memcpy(ieee->current_network.ssid, req->essid, len); in r8192_wx_set_scan()
924 tmp_level = (&ieee->current_network)->stats.rssi; in r8192_get_wireless_stats()
925 tmp_qual = (&ieee->current_network)->stats.signal; in r8192_get_wireless_stats()
926 tmp_noise = (&ieee->current_network)->stats.noise; in r8192_get_wireless_stats()
Dr8192U_dm.c616 if (priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_TSSI()
619 } else if (priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_TSSI()
730 if (priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_ThermalMeter()
733 } else if (priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) { in dm_TXPowerTrackingCallback_ThermalMeter()
2168 …struct ieee80211_qos_parameters *qos_parameters = &priv->ieee80211->current_network.qos_data.param… in dm_check_edca_turbo()
2943 if ((priv->ieee80211->current_network.atheros_cap_exist) && (priv->ieee80211->mode == IEEE_G)) { in dm_dynamic_txpower()
2977 …RT_TRACE(COMP_TXAGC, "SetTxPowerLevel8190() channel = %d\n", priv->ieee80211->current_network.cha… in dm_dynamic_txpower()
2983 rtl8192_phy_setTxPower(dev, priv->ieee80211->current_network.channel); in dm_dynamic_txpower()

12