/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_softmac.c | 121 if(ieee->current_network.wmm_info & 0x80) { in ieee80211_WMM_Info() 309 struct ieee80211_network *beacon = &ieee->current_network; in SendDisassociation() 326 len = ieee->current_network.ssid_len; in ieee80211_probe_req() 347 memcpy(tag, ieee->current_network.ssid, len); in ieee80211_probe_req() 374 (MSECS( ieee->current_network.beacon_interval -5)); in ext_ieee80211_send_beacon_wq() 398 (MSECS( ieee->current_network.beacon_interval -5)); in ieee80211_send_beacon() 511 ch = ieee->current_network.channel; in ieee80211_softmac_ips_scan_syncro() 543 if(channel_map[ieee->current_network.channel] > 0) in ieee80211_softmac_ips_scan_syncro() 545 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_softmac_ips_scan_syncro() 548 if(channel_map[ieee->current_network.channel] == 1) in ieee80211_softmac_ips_scan_syncro() [all …]
|
D | ieee80211_softmac_wx.c | 67 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq() 68 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq() 90 if (ieee->current_network.channel == 0) in ieee80211_wx_get_freq() 93 fwrq->m = ieee->current_network.channel; in ieee80211_wx_get_freq() 120 ieee->current_network.bssid, ETH_ALEN); in ieee80211_wx_get_wap() 163 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); in ieee80211_wx_set_wap() 189 if (ieee->current_network.ssid[0] == '\0' || in ieee80211_wx_get_essid() 190 ieee->current_network.ssid_len == 0){ in ieee80211_wx_get_essid() 201 len = ieee->current_network.ssid_len; in ieee80211_wx_get_essid() 203 strncpy(b, ieee->current_network.ssid, len); in ieee80211_wx_get_essid() [all …]
|
D | ieee80211_tx.c | 340 ieee80211_classify(skb,&ieee->current_network); in ieee80211_rtl_xmit() 381 if(ieee->current_network.QoS_Enable) { in ieee80211_rtl_xmit() 400 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rtl_xmit() 408 memcpy(&header.addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rtl_xmit() 426 if (ieee->current_network.QoS_Enable) { in ieee80211_rtl_xmit() 491 if(ieee->current_network.QoS_Enable) { in ieee80211_rtl_xmit() 525 if (ieee->current_network.QoS_Enable) { in ieee80211_rtl_xmit()
|
D | ieee80211_rx.c | 230 …if ((ieee->state == IEEE80211_LINKED) && (memcmp(hdr->addr3, ieee->current_network.bssid, ETH_ALEN… in ieee80211_rx_frame_mgmt() 581 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rtl_rx() 610 if (memcmp(bssid, ieee->current_network.bssid, ETH_ALEN)) in ieee80211_rtl_rx() 1387 if (is_same_network(&ieee->current_network, &network, ieee)) { in ieee80211_process_probe_response() 1388 wmm_info = ieee->current_network.wmm_info; in ieee80211_process_probe_response() 1391 …flags = (~NETWORK_EMPTY_ESSID & network.flags)|(NETWORK_EMPTY_ESSID & ieee->current_network.flags); in ieee80211_process_probe_response() 1396 update_network(&ieee->current_network, &network); in ieee80211_process_probe_response() 1460 …|| ((ieee->current_network.ssid_len == network.ssid_len) && (strncmp(ieee->current_network.ssid, n… in ieee80211_process_probe_response()
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac.c | 176 for (i = 0; i < ieee->current_network.rates_len; i++) { in MgntQuery_TxRateExcludeCCKRates() 177 BasicRate = ieee->current_network.rates[i]&0x7F; in MgntQuery_TxRateExcludeCCKRates() 351 len = ieee->current_network.ssid_len; in rtllib_probe_req() 376 memcpy(tag, ieee->current_network.ssid, len); in rtllib_probe_req() 401 (MSECS(ieee->current_network.beacon_interval - 5))); in rtllib_send_beacon() 601 u8 last_channel = ieee->current_network.channel; in rtllib_softmac_scan_wq() 619 ieee->current_network.channel = in rtllib_softmac_scan_wq() 620 (ieee->current_network.channel + 1) % in rtllib_softmac_scan_wq() 623 if (!ieee->active_channel_map[ieee->current_network.channel]) in rtllib_softmac_scan_wq() 624 ieee->current_network.channel = 6; in rtllib_softmac_scan_wq() [all …]
|
D | rtllib_softmac_wx.c | 71 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 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); in rtllib_wx_set_wap() 180 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); 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 …]
|
D | rtl819x_HTProc.c | 317 struct rtllib_network *net = &ieee->current_network; in IsHTHalfNmodeAPs() 342 struct rtllib_network *net = &ieee->current_network; in HTIOTPeerDetermine() 541 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement() 544 (ieee->current_network.channel <= 6) in HTConstructInfoElement() 760 if (ieee->current_network.bssht.bdRT2RTAggregation) { in HTOnAssocRsp() 974 ieee->current_network.qos_data.active = in HTUseDefaultSetting() 975 ieee->current_network.qos_data.supported; in HTUseDefaultSetting() 1017 ieee->current_network.channel + 2); in HTSetConnectBwModeCallback() 1021 ieee->current_network.channel - 2); in HTSetConnectBwModeCallback() 1024 ieee->current_network.channel); in HTSetConnectBwModeCallback() [all …]
|
D | rtl819x_BAProc.c | 108 memcpy(BAReq->addr3, ieee->current_network.bssid, ETH_ALEN); in rtllib_ADDBA() 173 memcpy(Delba->addr3, ieee->current_network.bssid, ETH_ALEN); in rtllib_DELBA() 268 if (ieee->current_network.qos_data.active == 0 || in rtllib_rx_ADDBAReq() 274 ieee->current_network.qos_data.active, in rtllib_rx_ADDBAReq() 350 if (ieee->current_network.qos_data.active == 0 || in rtllib_rx_ADDBARsp() 355 ieee->current_network.qos_data.active, in rtllib_rx_ADDBARsp() 439 if (ieee->current_network.qos_data.active == 0 || in rtllib_rx_DELBA() 443 ieee->current_network. qos_data.active, in rtllib_rx_DELBA()
|
D | rtllib_tx.c | 365 else if (ieee->current_network.capability & in rtllib_qurey_ShortPreambleMode() 433 } else if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode() 453 if (ieee->current_network.buseprotection) { in rtllib_query_protectionmode() 482 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in rtllib_query_protectionmode() 569 int qos_actived = ieee->current_network.qos_data.active; in rtllib_xmit_inter() 642 ieee->current_network.tim.tim_count; in rtllib_xmit_inter() 683 memcpy(&header.addr1, ieee->current_network.bssid, in rtllib_xmit_inter() 688 ieee->current_network.bssid, ETH_ALEN); in rtllib_xmit_inter() 696 memcpy(&header.addr3, ieee->current_network.bssid, in rtllib_xmit_inter()
|
D | rtllib_rx.c | 895 !ieee->current_network.qos_data.active || in rtllib_rx_check_duplicate() 943 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in rtllib_rx_extract_addr() 964 && (compare_ether_addr(ieee->current_network.bssid, bssid) != 0) in rtllib_rx_data_filter() 965 && memcmp(ieee->current_network.bssid, zero_addr, ETH_ALEN)) { in rtllib_rx_data_filter() 973 (compare_ether_addr(dst, ieee->current_network.bssid) != 0) && in rtllib_rx_data_filter() 974 (compare_ether_addr(bssid, ieee->current_network.bssid) == 0)) { in rtllib_rx_data_filter() 1004 if (memcmp(bssid, ieee->current_network.bssid, ETH_ALEN)) in rtllib_rx_data_filter() 1352 if (ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in rtllib_rx_InfraAdhoc() 2581 if (is_same_network(&ieee->current_network, network, in rtllib_process_probe_response() 2583 update_network(&ieee->current_network, network); in rtllib_process_probe_response() [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac.c | 121 if(ieee->current_network.wmm_info & 0x80) { in ieee80211_WMM_Info() 336 len = ieee->current_network.ssid_len; in ieee80211_probe_req() 359 memcpy(tag, ieee->current_network.ssid, len); in ieee80211_probe_req() 388 mod_timer(&ieee->beacon_timer,jiffies+(MSECS(ieee->current_network.beacon_interval-5))); in ieee80211_send_beacon() 508 ieee->current_network.channel = in ieee80211_softmac_scan_wq() 509 (ieee->current_network.channel + 1) % MAX_CHANNEL_NUMBER; in ieee80211_softmac_scan_wq() 513 if (!channel_map[ieee->current_network.channel]) { in ieee80211_softmac_scan_wq() 514 ieee->current_network.channel = 6; in ieee80211_softmac_scan_wq() 518 }while(!channel_map[ieee->current_network.channel]); in ieee80211_softmac_scan_wq() 521 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_softmac_scan_wq() [all …]
|
D | ieee80211_softmac_wx.c | 70 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() 94 if (ieee->current_network.channel == 0) in ieee80211_wx_get_freq() 97 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() 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 …]
|
D | rtl819x_BAProc.c | 137 memcpy(BAReq->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_ADDBA() 224 memcpy(Delba->addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_DELBA() 360 if( (ieee->current_network.qos_data.active == 0) || in ieee80211_rx_ADDBAReq() 365 …reply on ADDBA_REQ as some capability is not ready(%d, %d)\n", ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBAReq() 456 if( ieee->current_network.qos_data.active == 0 || in ieee80211_rx_ADDBARsp() 460 …ct to ADDBA_RSP as some capability is not ready(%d, %d, %d)\n",ieee->current_network.qos_data.acti… in ieee80211_rx_ADDBARsp() 576 if(ieee->current_network.qos_data.active == 0 || in ieee80211_rx_DELBA() 579 …R, "received DELBA while QOS or HT is not supported(%d, %d)\n",ieee->current_network.qos_data.acti… in ieee80211_rx_DELBA()
|
D | ieee80211_tx.c | 387 else if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in ieee80211_qurey_ShortPreambleMode() 461 else if (ieee->current_network.buseprotection) in ieee80211_query_protectionmode() 477 if (ieee->current_network.buseprotection) in ieee80211_query_protectionmode() 532 if (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE) in ieee80211_query_protectionmode() 608 int qos_actived = ieee->current_network.qos_data.active; in ieee80211_xmit() 681 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit() 689 memcpy(&header.addr3, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit() 710 skb->priority = ieee80211_classify(skb, &ieee->current_network); in ieee80211_xmit()
|
D | rtl819x_HTProc.c | 350 struct ieee80211_network* net = &ieee->current_network; in IsHTHalfNmodeAPs() 382 struct ieee80211_network* net = &ieee->current_network; in HTIOTPeerDetermine() 682 pHTInfoEle->ControlChl = ieee->current_network.channel; in HTConstructInfoElement() 684 (ieee->current_network.channel<=6)? in HTConstructInfoElement() 1042 if (ieee->current_network.bssht.bdRT2RTAggregation) in HTOnAssocRsp() 1413 if(ieee->current_network.channel<2 && Offset==HT_EXTCHNL_OFFSET_LOWER) in HTSetConnectBwMode() 1447 ieee->set_chan(ieee->dev, ieee->current_network.channel+2); in HTSetConnectBwModeCallback() 1449 ieee->set_chan(ieee->dev, ieee->current_network.channel-2); in HTSetConnectBwModeCallback() 1451 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback() 1455 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback()
|
D | ieee80211_rx.c | 1027 …if( (ieee->pHTInfo->bCurRxReorderEnable == false) || !ieee->current_network.qos_data.active|| !IsD… in ieee80211_rx() 1091 memcpy(bssid, ieee->current_network.bssid, ETH_ALEN); in ieee80211_rx() 1157 if (memcmp(bssid, ieee->current_network.bssid, ETH_ALEN)) in ieee80211_rx() 1287 if(ieee->current_network.qos_data.active && IsQoSDataFrame(skb->data) in ieee80211_rx() 2528 if(is_same_network(&ieee->current_network, &network, ieee)) { in ieee80211_process_probe_response() 2529 update_network(&ieee->current_network, &network); in ieee80211_process_probe_response() 2530 if((ieee->current_network.mode == IEEE_N_24G || ieee->current_network.mode == IEEE_G) in ieee80211_process_probe_response() 2531 && ieee->current_network.berp_info_valid){ in ieee80211_process_probe_response() 2532 if(ieee->current_network.erp_value& ERP_UseProtection) in ieee80211_process_probe_response() 2533 ieee->current_network.buseprotection = true; in ieee80211_process_probe_response() [all …]
|
/drivers/staging/rtl8187se/ |
D | r8180_dm.c | 52 OfdmTxPwrIdx = priv->chtxpwr_ofdm[priv->ieee80211->current_network.channel]; in DoTxHighPower() 53 CckTxPwrIdx = priv->chtxpwr[priv->ieee80211->current_network.channel]; in DoTxHighPower() 235 rate_len = priv->ieee80211->current_network.rates_len; in IncludedInSupportedRates() 236 rate_ex_len = priv->ieee80211->current_network.rates_ex_len; in IncludedInSupportedRates() 238 if ((priv->ieee80211->current_network.rates[idx] & RateMask) == NaiveTxRate) { in IncludedInSupportedRates() 244 if ((priv->ieee80211->current_network.rates_ex[idx] & RateMask) == NaiveTxRate) { in IncludedInSupportedRates() 434 rtl8225z2_SetTXPowerLevel(dev, priv->ieee80211->current_network.channel); in TxPwrTracking87SE() 552 if (priv->CurrentOperaRate != priv->ieee80211->current_network.HighestOperaRate) { in StaRateAdaptive87SE() 677 …&& priv->CurrentOperaRate != priv->ieee80211->current_network.HighestOperaRate && priv->FailTxRate… in StaRateAdaptive87SE() 794 OfdmTxPwrIdx = priv->chtxpwr_ofdm[priv->ieee80211->current_network.channel]; in StaRateAdaptive87SE() [all …]
|
D | r8180_wx.c | 90 priv->ieee80211->current_network.beacon_interval = bi; in r8180_wx_set_beaconinterval() 322 ieee->current_network.ssid_len = req->essid_len; in r8180_wx_set_scan() 323 memcpy(ieee->current_network.ssid, req->essid, req->essid_len); in r8180_wx_set_scan() 1388 tmp_level = (&ieee->current_network)->stats.signal; in r8180_get_wireless_stats() 1389 tmp_qual = (&ieee->current_network)->stats.signalstrength; in r8180_get_wireless_stats() 1390 tmp_noise = (&ieee->current_network)->stats.noise; in r8180_get_wireless_stats()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.c | 521 struct rtllib_network *net = &priv->rtllib->current_network; in rtl8192_update_cap() 579 struct rtllib_network *net = &ieee->current_network; in rtl8192_update_beacon() 642 memcpy(&priv->rtllib->current_network.qos_data.parameters, in rtl8192_qos_handle_probe_response() 689 memcpy(&priv->rtllib->current_network.qos_data.parameters, in rtl8192_qos_association_resp() 692 priv->rtllib->current_network.qos_data.active = 1; in rtl8192_qos_association_resp() 695 priv->rtllib->current_network.qos_data.old_param_count = in rtl8192_qos_association_resp() 696 priv->rtllib->current_network.qos_data.param_count; in rtl8192_qos_association_resp() 697 priv->rtllib->current_network.qos_data.param_count = in rtl8192_qos_association_resp() 700 memcpy(&priv->rtllib->current_network.qos_data.parameters, in rtl8192_qos_association_resp() 702 priv->rtllib->current_network.qos_data.active = 0; in rtl8192_qos_association_resp() [all …]
|
D | r8192E_cmdpkt.c | 175 if ((priv->rtllib->current_network.mode == IEEE_A) || in cmdpkt_beacontimerinterrupt_819xusb() 176 (priv->rtllib->current_network.mode == IEEE_N_5G) || in cmdpkt_beacontimerinterrupt_819xusb() 177 ((priv->rtllib->current_network.mode == IEEE_N_24G) && in cmdpkt_beacontimerinterrupt_819xusb()
|
D | r8192E_phy.c | 1090 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_TSSI() 1094 } else if (priv->rtllib->current_network.channel != in CCK_Tx_Power_Track_BW_Switch_TSSI() 1118 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_TSSI() 1122 } else if (priv->rtllib->current_network.channel != 14 in CCK_Tx_Power_Track_BW_Switch_TSSI() 1137 if (priv->rtllib->current_network.channel == 14 && in CCK_Tx_Power_Track_BW_Switch_ThermalMeter() 1140 else if (priv->rtllib->current_network.channel != 14 && in CCK_Tx_Power_Track_BW_Switch_ThermalMeter() 1391 priv->rtllib->current_network.channel); in InitialGain819xPci()
|
D | rtl_wx.c | 483 ieee->current_network.ssid_len = req->essid_len; in r8192_wx_set_scan() 484 memcpy(ieee->current_network.ssid, req->essid, in r8192_wx_set_scan() 1312 tmp_level = (&ieee->current_network)->stats.rssi; in r8192_get_wireless_stats() 1313 tmp_qual = (&ieee->current_network)->stats.signal; in r8192_get_wireless_stats() 1314 tmp_noise = (&ieee->current_network)->stats.noise; in r8192_get_wireless_stats()
|
/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 344 if(priv->ieee80211->current_network.mode == IEEE_A || in cmdpkt_beacontimerinterrupt_819xusb() 345 priv->ieee80211->current_network.mode == IEEE_N_5G || in cmdpkt_beacontimerinterrupt_819xusb() 346 …(priv->ieee80211->current_network.mode == IEEE_N_24G && (!priv->ieee80211->pHTInfo->bCurSuppCCK))) in cmdpkt_beacontimerinterrupt_819xusb()
|
D | r8192U_core.c | 1541 net = & priv->ieee80211->current_network; in rtl8192_config_rate() 1591 struct ieee80211_network *net = &priv->ieee80211->current_network; in rtl8192_update_cap() 1619 net = & priv->ieee80211->current_network; in rtl8192_net_update() 2299 struct ieee80211_network* net = &ieee->current_network; in rtl8192_update_beacon() 2314 …struct ieee80211_qos_parameters *qos_parameters = &priv->ieee80211->current_network.qos_data.param… in rtl8192_qos_activate() 2315 u8 mode = priv->ieee80211->current_network.mode; in rtl8192_qos_activate() 2376 memcpy(&priv->ieee80211->current_network.qos_data.parameters,\ in rtl8192_qos_handle_probe_response() 2427 memcpy(&priv->ieee80211->current_network.qos_data.parameters,\ in rtl8192_qos_association_resp() 2430 priv->ieee80211->current_network.qos_data.active = 1; in rtl8192_qos_association_resp() 2434 priv->ieee80211->current_network.qos_data.old_param_count = \ in rtl8192_qos_association_resp() [all …]
|
D | r8192U_wx.c | 499 ieee->current_network.ssid_len = req->essid_len; in r8192_wx_set_scan() 500 memcpy(ieee->current_network.ssid, req->essid, req->essid_len); in r8192_wx_set_scan() 1197 tmp_level = (&ieee->current_network)->stats.rssi; in r8192_get_wireless_stats() 1198 tmp_qual = (&ieee->current_network)->stats.signal; in r8192_get_wireless_stats() 1199 tmp_noise = (&ieee->current_network)->stats.noise; in r8192_get_wireless_stats()
|