/linux/drivers/staging/rtl8192e/ |
A D | rtllib_softmac.c | 549 ieee->set_chan(ieee->dev, ch); in rtllib_softmac_scan_syncro() 610 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_softmac_scan_wq() 1547 ieee->link_change(ieee->dev); in rtllib_associate_complete_wq() 2059 __func__, ieee->ps, ieee->iw_mode, ieee->state); in rtllib_sta_ps() 2118 ieee->sta_wake_up(ieee->dev); in rtllib_sta_wakeup() 2146 ieee->enter_sleep_state(ieee->dev, ieee->ps_time); in rtllib_ps_tx_ack() 2487 ieee->dev, ieee->rate); in rtllib_softmac_xmit() 2545 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_start_master_bss() 2547 ieee->link_change(ieee->dev); in rtllib_start_master_bss() 2680 ieee->link_change(ieee->dev); in rtllib_start_ibss_wq() [all …]
|
A D | rtllib_softmac_wx.c | 69 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq() 344 ieee->LeisurePSLeave(ieee->dev); in rtllib_wx_sync_scan_wq() 352 ieee->data_hard_stop(ieee->dev); in rtllib_wx_sync_scan_wq() 355 ieee->link_change(ieee->dev); in rtllib_wx_sync_scan_wq() 378 ieee->set_chan(ieee->dev, chan + 2); in rtllib_wx_sync_scan_wq() 380 ieee->set_chan(ieee->dev, chan - 2); in rtllib_wx_sync_scan_wq() 382 ieee->set_chan(ieee->dev, chan); in rtllib_wx_sync_scan_wq() 385 ieee->set_chan(ieee->dev, chan); in rtllib_wx_sync_scan_wq() 392 ieee->link_change(ieee->dev); in rtllib_wx_sync_scan_wq() 404 ieee->data_hard_resume(ieee->dev); in rtllib_wx_sync_scan_wq() [all …]
|
A D | rtllib_module.c | 42 if (ieee->networks) in rtllib_networks_allocate() 47 if (!ieee->networks) in rtllib_networks_allocate() 55 if (!ieee->networks) in rtllib_networks_free() 57 kfree(ieee->networks); in rtllib_networks_free() 58 ieee->networks = NULL; in rtllib_networks_free() 86 ieee->dev = dev; in alloc_rtllib() 98 ieee->open_wep = 1; in alloc_rtllib() 113 lib80211_crypt_info_init(&ieee->crypt_info, "RTLLIB", &ieee->lock); in alloc_rtllib() 120 ieee->raw_tx = 0; in alloc_rtllib() 127 if (!ieee->pHTInfo) in alloc_rtllib() [all …]
|
A D | rtl819x_HTProc.c | 298 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) in HTConstructCapabilityElement() 499 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) in HTFilterMCSRate() 622 ieee->HTHighestOperaRate = HTGetHighestMCSRate(ieee, in HTOnAssocRsp() 624 ieee->HTCurrentOperaRate = ieee->HTHighestOperaRate; in HTOnAssocRsp() 808 ieee->HTHighestOperaRate = HTGetHighestMCSRate(ieee, in HTUseDefaultSetting() 811 ieee->HTCurrentOperaRate = ieee->HTHighestOperaRate; in HTUseDefaultSetting() 835 ieee->set_chan(ieee->dev, in HTSetConnectBwModeCallback() 839 ieee->set_chan(ieee->dev, in HTSetConnectBwModeCallback() 842 ieee->set_chan(ieee->dev, in HTSetConnectBwModeCallback() 848 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback() [all …]
|
A D | rtllib_tx.c | 163 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment() 292 if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) in rtllib_tx_query_agg_cap() 301 if (ieee->wpa_ie_len && (ieee->pairwise_key_type == in rtllib_tx_query_agg_cap() 540 return ieee->rate; in rtllib_current_rate() 579 if ((!ieee->hard_start_xmit && !(ieee->softmac_features & in rtllib_xmit_inter() 637 ieee->LPSDelayCnt = in rtllib_xmit_inter() 643 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_xmit_inter() 655 netdev_dbg(ieee->dev, in rtllib_xmit_inter() 739 if (ieee->config & in rtllib_xmit_inter() 848 if (ieee->config & in rtllib_xmit_inter() [all …]
|
A D | rtl819x_BAProc.c | 50 DeActivateBAEntry(ieee, pBa); in RxTsDeleteBA() 255 netdev_warn(ieee->dev, in rtllib_rx_ADDBAReq() 284 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || in rtllib_rx_ADDBAReq() 337 netdev_warn(ieee->dev, in rtllib_rx_ADDBARsp() 365 netdev_warn(ieee->dev, in rtllib_rx_ADDBARsp() 371 netdev_dbg(ieee->dev, in rtllib_rx_ADDBARsp() 427 netdev_warn(ieee->dev, in rtllib_rx_DELBA() 447 netdev_warn(ieee->dev, in rtllib_rx_DELBA() 454 RxTsDeleteBA(ieee, pRxTs); in rtllib_rx_DELBA() 537 TxTsDeleteBA(ieee, pTxTs); in TxBaInactTimeout() [all …]
|
A D | rtl819x_TSProc.c | 52 netdev_dbg(ieee->dev, in RxPktPendingTimeout() 72 netdev_warn(ieee->dev, in RxPktPendingTimeout() 79 rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout() 160 &ieee->Tx_TS_Unused_List); in TSInitialize() 340 (&ieee->Rx_TS_Unused_List); in GetTs() 343 (&ieee->Tx_TS_Admit_List) : in GetTs() 344 (&ieee->Rx_TS_Admit_List); in GetTs() 368 netdev_dbg(ieee->dev, in GetTs() 382 AdmitTS(ieee, *ppTS, 0); in GetTs() 388 netdev_warn(ieee->dev, in GetTs() [all …]
|
A D | rtllib_rx.c | 47 skb->dev = ieee->dev; in rtllib_monitor_rx() 68 netdev_dbg(ieee->dev, in rtllib_frag_cache_find() 128 entry = &ieee->frag_cache[tid][ieee->frag_next_idx[tid]]; in rtllib_frag_cache_get() 189 netdev_dbg(ieee->dev, in rtllib_frag_cache_invalidate() 561 rtllib_indicate_packets(ieee, ieee->RfdArray, RfdCnt); in rtllib_FlushRxTsPendingPkts() 750 rtllib_indicate_packets(ieee, ieee->prxbIndicateArray, index); in RxReorderIndicatePacket() 1218 ieee->LeisurePSLeave(ieee->dev); in rtllib_rx_check_leave_lps() 1546 if (ieee) in rtllib_rx() 2612 update_network(ieee, &ieee->current_network, network); in rtllib_process_probe_response() 2693 ieee->handle_beacon(ieee->dev, beacon, in rtllib_process_probe_response() [all …]
|
A D | rtllib_wx.c | 424 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in rtllib_wx_set_encode() 448 ieee->reset_port && ieee->reset_port(dev)) { in rtllib_wx_set_encode() 490 if (ieee->open_wep) in rtllib_wx_get_encode() 645 ieee->set_security(ieee->dev, &sec); in rtllib_wx_set_encode_ext() 649 ieee->reset_port && ieee->reset_port(dev)) { in rtllib_wx_set_encode_ext() 685 ieee->wap_set = 0; in rtllib_wx_set_mlme() 689 ieee->ssid_set = 0; in rtllib_wx_set_mlme() 727 ieee->open_wep = 0; in rtllib_wx_set_auth() 776 kfree(ieee->wps_ie); in rtllib_wx_set_gen_ie() 777 ieee->wps_ie = NULL; in rtllib_wx_set_gen_ie() [all …]
|
A D | dot11d.c | 38 void dot11d_init(struct rtllib_device *ieee) in dot11d_init() argument 48 RESET_CIE_WATCHDOG(ieee); in dot11d_init() 56 ieee->global_domain = false; in dot11d_channel_map() 72 ieee->global_domain = true; in dot11d_channel_map() 75 ieee->bss_start_channel = 10; in dot11d_channel_map() 76 ieee->ibss_maxjoin_chal = 11; in dot11d_channel_map() 82 ieee->bss_start_channel = 10; in dot11d_channel_map() 83 ieee->ibss_maxjoin_chal = 11; in dot11d_channel_map() 87 ieee->bss_start_channel = 1; in dot11d_channel_map() 88 ieee->ibss_maxjoin_chal = 14; in dot11d_channel_map() [all …]
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_softmac.c | 447 ieee->set_chan(ieee->dev, ch); in ieee80211_softmac_scan_syncro() 496 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_softmac_scan_wq() 548 ieee->start_send_beacons(ieee->dev, ieee->basic_rate); in ieee80211_start_send_beacons() 578 ieee->stop_scan(ieee->dev); in ieee80211_stop_scan() 595 ieee->start_scan(ieee->dev); in ieee80211_start_scan() 610 ieee->scan_syncro(ieee->dev); in ieee80211_start_scan_syncro() 1297 ieee->link_change(ieee->dev); in ieee80211_associate_complete_wq() 1779 ieee->enter_sleep_state(ieee->dev, ieee->ps_th, ieee->ps_tl); in ieee80211_ps_tx_ack() 2191 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_start_master_bss() 2193 ieee->link_change(ieee->dev); in ieee80211_start_master_bss() [all …]
|
A D | ieee80211_softmac_wx.c | 70 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq() 312 ieee->data_hard_stop(ieee->dev); in ieee80211_wx_sync_scan_wq() 317 ieee->link_change(ieee->dev); in ieee80211_wx_sync_scan_wq() 330 ieee->set_chan(ieee->dev, chan + 2); in ieee80211_wx_sync_scan_wq() 332 ieee->set_chan(ieee->dev, chan - 2); in ieee80211_wx_sync_scan_wq() 334 ieee->set_chan(ieee->dev, chan); in ieee80211_wx_sync_scan_wq() 337 ieee->set_chan(ieee->dev, chan); in ieee80211_wx_sync_scan_wq() 342 ieee->link_change(ieee->dev); in ieee80211_wx_sync_scan_wq() 349 ieee->data_hard_resume(ieee->dev); in ieee80211_wx_sync_scan_wq() 372 queue_work(ieee->wq, &ieee->wx_sync_scan_wq); in ieee80211_wx_set_scan() [all …]
|
A D | ieee80211_module.c | 48 if (ieee->networks) in ieee80211_networks_allocate() 54 if (!ieee->networks) { in ieee80211_networks_allocate() 64 if (!ieee->networks) in ieee80211_networks_free() 66 kfree(ieee->networks); in ieee80211_networks_free() 67 ieee->networks = NULL; in ieee80211_networks_free() 77 list_add_tail(&ieee->networks[i].list, &ieee->network_free_list); in ieee80211_networks_initialize() 95 ieee->dev = dev; in alloc_ieee80211() 108 ieee->open_wep = 1; in alloc_ieee80211() 133 ieee->raw_tx = 0; in alloc_ieee80211() 151 TSInitialize(ieee); in alloc_ieee80211() [all …]
|
A D | ieee80211_tx.c | 169 struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_encrypt_fragment() 304 if (!ieee->GetNmodeSupportBySecCfg(ieee->dev)) in ieee80211_tx_query_agg_cap() 510 if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) in ieee80211_txrate_selectmode() 557 if ((!ieee->hard_start_xmit && !(ieee->softmac_features & IEEE_SOFTMAC_TX_QUEUE)) || in ieee80211_xmit() 574 crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_xmit() 661 if (ieee->config & in ieee80211_xmit() 713 if (ieee->hwsec_active) in ieee80211_xmit() 761 if (ieee->config & in ieee80211_xmit() 773 ieee->seq_ctrl[0] = 0; in ieee80211_xmit() 775 ieee->seq_ctrl[0]++; in ieee80211_xmit() [all …]
|
A D | rtl819x_TSProc.c | 76 ieee80211_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout() 288 struct ieee80211_device *ieee, in GetTs() argument 339 ieee, in GetTs() 360 (&ieee->Rx_TS_Unused_List); in GetTs() 364 (&ieee->Tx_TS_Admit_List) : in GetTs() 365 (&ieee->Rx_TS_Admit_List); in GetTs() 395 AdmitTS(ieee, *ppTS, 0); in GetTs() 495 RemoveTsEntry(ieee, pTS, TX_DIR); in RemoveAllTS() 501 RemoveTsEntry(ieee, pTS, TX_DIR); in RemoveAllTS() 507 RemoveTsEntry(ieee, pTS, RX_DIR); in RemoveAllTS() [all …]
|
A D | rtl819x_BAProc.c | 358 ieee, in ieee80211_rx_ADDBAReq() 386 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) in ieee80211_rx_ADDBAReq() 457 ieee, in ieee80211_rx_ADDBARsp() 568 ieee, in ieee80211_rx_DELBA() 583 ieee, in ieee80211_rx_DELBA() 644 ieee, in TsInitDelBA() 653 ieee, in TsInitDelBA() 679 TxTsDeleteBA(ieee, pTxTs); in TxBaInactTimeout() 681 ieee, in TxBaInactTimeout() 693 RxTsDeleteBA(ieee, pRxTs); in RxBaInactTimeout() [all …]
|
A D | rtl819x_HTProc.c | 493 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) in HTConstructCapabilityElement() 542 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) { in HTConstructCapabilityElement() 710 switch (ieee->mode) { in HT_PickMCSRate() 823 if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev)) in HTFilterMCSRate() 989 HTFilterMCSRate(ieee, pPeerHTCap->MCS, ieee->dot11HTOperationalRateSet); in HTOnAssocRsp() 1001 ieee->HTHighestOperaRate = HTGetHighestMCSRate(ieee, ieee->dot11HTOperationalRateSet, pMcsFilter); in HTOnAssocRsp() 1002 ieee->HTCurrentOperaRate = ieee->HTHighestOperaRate; in HTOnAssocRsp() 1234 ieee->set_chan(ieee->dev, ieee->current_network.channel + 2); in HTSetConnectBwModeCallback() 1236 ieee->set_chan(ieee->dev, ieee->current_network.channel - 2); in HTSetConnectBwModeCallback() 1238 ieee->set_chan(ieee->dev, ieee->current_network.channel); in HTSetConnectBwModeCallback() [all …]
|
A D | ieee80211_wx.c | 315 ieee, &ieee->crypt[i]); in ieee80211_wx_set_encode() 414 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode() 435 ieee->reset_port && ieee->reset_port(dev)) { in ieee80211_wx_set_encode() 477 if (ieee->open_wep) in ieee80211_wx_get_encode() 536 if (ieee->crypt[i]) in ieee80211_wx_set_encode_ext() 640 ieee->set_security(ieee->dev, &sec); in ieee80211_wx_set_encode_ext() 644 ieee->reset_port && ieee->reset_port(dev)) { in ieee80211_wx_set_encode_ext() 751 ieee->open_wep = 0; in ieee80211_wx_set_auth() 754 ieee->open_wep = 1; in ieee80211_wx_set_auth() 757 ieee->open_wep = 1; in ieee80211_wx_set_auth() [all …]
|
A D | ieee80211_rx.c | 49 skb->dev = ieee->dev; in ieee80211_monitor_rx() 131 entry = &ieee->frag_cache[tid][ieee->frag_next_idx[tid]]; in ieee80211_frag_cache_get() 341 if (ieee->hwsec_active) { in ieee80211_rx_frame_decrypt() 387 if (ieee->hwsec_active) { in ieee80211_rx_frame_decrypt_msdu() 440 switch (ieee->iw_mode) { in is_duplicate_packet() 913 stats = &ieee->stats; in ieee80211_rx() 1010 ieee, in ieee80211_rx() 1077 ieee->stadev && in ieee80211_rx() 1926 netdev_err(ieee->dev, in ieee80211_parse_info_param() 2344 if (is_same_network(&ieee->current_network, network, ieee)) { in ieee80211_process_probe_response() [all …]
|
A D | ieee80211_crypt.c | 57 struct ieee80211_device *ieee = from_timer(ieee, t, crypt_deinit_timer); in ieee80211_crypt_deinit_handler() local 60 spin_lock_irqsave(&ieee->lock, flags); in ieee80211_crypt_deinit_handler() 61 ieee80211_crypt_deinit_entries(ieee, 0); in ieee80211_crypt_deinit_handler() 62 if (!list_empty(&ieee->crypt_deinit_list)) { in ieee80211_crypt_deinit_handler() 64 ieee->dev->name); in ieee80211_crypt_deinit_handler() 66 add_timer(&ieee->crypt_deinit_timer); in ieee80211_crypt_deinit_handler() 68 spin_unlock_irqrestore(&ieee->lock, flags); in ieee80211_crypt_deinit_handler() 89 spin_lock_irqsave(&ieee->lock, flags); in ieee80211_crypt_delayed_deinit() 90 list_add(&tmp->list, &ieee->crypt_deinit_list); in ieee80211_crypt_delayed_deinit() 93 add_timer(&ieee->crypt_deinit_timer); in ieee80211_crypt_delayed_deinit() [all …]
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A D | libipw_geo.c | 37 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_is_valid_channel() 47 (!(ieee->mode & IEEE_G) || in libipw_is_valid_channel() 66 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_channel_to_index() 88 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_channel_to_freq() 103 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_freq_to_channel() 125 ieee->geo.name[3] = '\0'; in libipw_set_geo() 130 memcpy(ieee->geo.a, geo->a, ieee->geo.a_channels * in libipw_set_geo() 136 return &ieee->geo; in libipw_get_geo() 159 *ieee, u8 channel) in libipw_get_channel() 167 return &ieee->geo.bg[index]; in libipw_get_channel() [all …]
|
A D | libipw_module.c | 62 if (!ieee->networks[i]) { in libipw_networks_allocate() 119 ieee = netdev_priv(dev); in alloc_libipw() 121 ieee->dev = dev; in alloc_libipw() 130 ieee->dev->ieee80211_ptr = &ieee->wdev; in alloc_libipw() 152 ieee->fts = DEFAULT_FTS; in alloc_libipw() 153 ieee->rts = DEFAULT_FTS; in alloc_libipw() 155 ieee->open_wep = 1; in alloc_libipw() 158 ieee->host_encrypt = 1; in alloc_libipw() 159 ieee->host_decrypt = 1; in alloc_libipw() 172 lib80211_crypt_info_init(&ieee->crypt_info, dev->name, &ieee->lock); in alloc_libipw() [all …]
|
A D | libipw_rx.c | 107 entry = &ieee->frag_cache[ieee->frag_next_idx]; in libipw_frag_cache_get() 417 ieee->host_mc_decrypt : ieee->host_decrypt; in libipw_rx() 712 if (ieee->ieee802_1x && ieee->iw_mode == IW_MODE_MASTER) { in libipw_rx() 716 if (ieee->hostapd && ieee->apdev) { in libipw_rx() 1639 ieee->handle_probe_request(ieee->dev, in libipw_rx_mgt() 1673 ieee->handle_auth(ieee->dev, in libipw_rx_mgt() 1679 ieee->handle_disassoc(ieee->dev, in libipw_rx_mgt() 1687 ieee->handle_action(ieee->dev, in libipw_rx_mgt() 1700 ieee->handle_reassoc_request(ieee->dev, in libipw_rx_mgt() 1713 ieee->handle_assoc_request(ieee->dev); in libipw_rx_mgt() [all …]
|
A D | libipw_tx.c | 142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment() 263 if (ieee->is_queue_full && (*ieee->is_queue_full) (dev, priority)) in libipw_xmit() 270 if (!ieee->hard_start_xmit) { in libipw_xmit() 283 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit() 286 ieee->sec.encrypt; in libipw_xmit() 321 if (ieee->is_qos_active && ieee->is_qos_active(dev, skb)) { in libipw_xmit() 373 frag_size = ieee->fts; in libipw_xmit() 380 if (ieee->config & in libipw_xmit() 416 ieee->dev->name); in libipw_xmit() 442 if (ieee->config & in libipw_xmit() [all …]
|
A D | libipw_wx.c | 151 if (ieee->perfect_rssi == ieee->worst_rssi) in libipw_translate_scan() 156 (ieee->perfect_rssi - ieee->worst_rssi) * in libipw_translate_scan() 157 (ieee->perfect_rssi - ieee->worst_rssi) - in libipw_translate_scan() 159 (15 * (ieee->perfect_rssi - ieee->worst_rssi) + in libipw_translate_scan() 163 ieee->worst_rssi) * (ieee->perfect_rssi - in libipw_translate_scan() 164 ieee->worst_rssi)); in libipw_translate_scan() 307 int host_crypto = ieee->host_encrypt || ieee->host_decrypt; in libipw_wx_set_encode() 456 if (ieee->set_security) in libipw_wx_set_encode() 494 if (ieee->open_wep) in libipw_wx_get_encode() 563 !(ieee->host_encrypt || ieee->host_decrypt || in libipw_wx_set_encodeext() [all …]
|