/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 37 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_wx_set_freq() 71 if (ieee->iw_mode == IW_MODE_ADHOC || in rtllib_wx_set_freq() 72 ieee->iw_mode == IW_MODE_MASTER) in rtllib_wx_set_freq() 110 if (ieee->iw_mode == IW_MODE_MONITOR) in rtllib_wx_get_wap() 148 if (ieee->iw_mode == IW_MODE_MASTER) { in rtllib_wx_set_wap() 196 if (ieee->iw_mode == IW_MODE_MONITOR) in rtllib_wx_get_essid() 301 if (wrqu->mode == ieee->iw_mode) in rtllib_wx_set_mode() 309 if (ieee->iw_mode == IW_MODE_MONITOR) in rtllib_wx_set_mode() 314 ieee->iw_mode = wrqu->mode; in rtllib_wx_set_mode() 317 ieee->iw_mode = wrqu->mode; in rtllib_wx_set_mode() [all …]
|
D | rtllib_tx.c | 315 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_tx_query_agg_cap() 467 if (ieee->iw_mode == IW_MODE_MASTER) in rtllib_query_protectionmode() 489 if (ieee->iw_mode == IW_MODE_INFRA || in rtllib_txrate_selectmode() 490 ieee->iw_mode == IW_MODE_ADHOC) in rtllib_txrate_selectmode() 599 if (ieee->iw_mode == IW_MODE_MONITOR) { in rtllib_xmit_inter() 674 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_xmit_inter() 687 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in rtllib_xmit_inter()
|
D | rtllib_softmac.c | 952 if (ieee->iw_mode == IW_MODE_ADHOC) in rtllib_probe_resp() 986 assoc->capability = cpu_to_le16(ieee->iw_mode == IW_MODE_MASTER ? in rtllib_assoc_resp() 1615 if ((ieee->iw_mode == IW_MODE_INFRA) && !(net->capability & in rtllib_softmac_new_net() 1619 if ((ieee->iw_mode == IW_MODE_ADHOC) && !(net->capability & in rtllib_softmac_new_net() 1623 if ((ieee->iw_mode == IW_MODE_ADHOC) && in rtllib_softmac_new_net() 1626 if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) { in rtllib_softmac_new_net() 1699 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_softmac_new_net() 2058 ieee->iw_mode != IW_MODE_INFRA || in rtllib_sta_ps() 2217 (ieee->iw_mode == IW_MODE_INFRA)) { in rtllib_rx_assoc_resp() 2339 (ieee->iw_mode == IW_MODE_INFRA)) { in rtllib_rx_auth() [all …]
|
D | rtl819x_TSProc.c | 217 if (ieee->iw_mode == IW_MODE_MASTER) { in SearchAdmitTRStream() 225 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in SearchAdmitTRStream() 346 Dir = (ieee->iw_mode == IW_MODE_MASTER) ? in GetTs()
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac_wx.c | 38 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_wx_set_freq() 72 if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER) in ieee80211_wx_set_freq() 112 if (ieee->iw_mode == IW_MODE_MONITOR) in ieee80211_wx_get_wap() 149 if (ieee->iw_mode == IW_MODE_MASTER) { in ieee80211_wx_set_wap() 185 if (ieee->iw_mode == IW_MODE_MONITOR) in ieee80211_wx_get_essid() 278 if (wrqu->mode == ieee->iw_mode) in ieee80211_wx_set_mode() 287 ieee->iw_mode = wrqu->mode; in ieee80211_wx_set_mode() 290 ieee->iw_mode = wrqu->mode; in ieee80211_wx_set_mode() 351 if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER) in ieee80211_wx_sync_scan_wq() 366 if (ieee->iw_mode == IW_MODE_MONITOR || !(ieee->proto_started)) { in ieee80211_wx_set_scan() [all …]
|
D | ieee80211_softmac.c | 790 if (ieee->iw_mode == IW_MODE_ADHOC) { in ieee80211_probe_resp() 828 assoc->capability = cpu_to_le16(ieee->iw_mode == IW_MODE_MASTER ? in ieee80211_assoc_resp() 1355 if ((ieee->iw_mode == IW_MODE_INFRA) && !(net->capability & WLAN_CAPABILITY_BSS)) in ieee80211_softmac_new_net() 1358 if ((ieee->iw_mode == IW_MODE_ADHOC) && !(net->capability & WLAN_CAPABILITY_IBSS)) in ieee80211_softmac_new_net() 1361 if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) { in ieee80211_softmac_new_net() 1405 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_softmac_new_net() 1707 ieee->iw_mode != IW_MODE_INFRA || in ieee80211_sta_ps() 1904 ieee->iw_mode == IW_MODE_INFRA && in ieee80211_rx_frame_softmac() 1919 ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_rx_frame_softmac() 1967 ieee->iw_mode == IW_MODE_MASTER) in ieee80211_rx_frame_softmac() [all …]
|
D | ieee80211_tx.c | 322 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_tx_query_agg_cap() 510 if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) in ieee80211_txrate_selectmode() 615 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_xmit() 623 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in ieee80211_xmit()
|
D | ieee80211_wx.c | 434 ieee->iw_mode != IW_MODE_INFRA && in ieee80211_wx_set_encode() 453 if (ieee->iw_mode == IW_MODE_MONITOR) in ieee80211_wx_get_encode() 522 if (ieee->iw_mode == IW_MODE_INFRA) in ieee80211_wx_set_encode_ext() 645 ieee->iw_mode != IW_MODE_INFRA && in ieee80211_wx_set_encode_ext() 677 if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA) in ieee80211_wx_get_encode_ext()
|
D | rtl819x_TSProc.c | 212 if (ieee->iw_mode == IW_MODE_MASTER) { //ap mode in SearchAdmitTRStream() 220 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in SearchAdmitTRStream() 367 enum direction_value Dir = (ieee->iw_mode == IW_MODE_MASTER) ? in GetTs()
|
D | ieee80211_rx.c | 234 if (ieee->iw_mode == IW_MODE_MASTER) { in ieee80211_rx_frame_mgmt() 244 ieee->iw_mode == IW_MODE_MASTER) { in ieee80211_rx_frame_mgmt() 261 if (ieee->iw_mode == IW_MODE_MASTER) { in ieee80211_rx_frame_mgmt() 440 switch (ieee->iw_mode) { in is_duplicate_packet() 953 if (ieee->iw_mode == IW_MODE_MONITOR) { in ieee80211_rx() 1077 if (ieee->iw_mode == IW_MODE_MASTER && !wds && in ieee80211_rx() 1087 if ((ieee->iw_mode == IW_MODE_MASTER || in ieee80211_rx() 1088 ieee->iw_mode == IW_MODE_REPEAT) && in ieee80211_rx() 2114 (((src->ssid_len == dst->ssid_len) || (ieee->iw_mode == IW_MODE_INFRA)) && in is_same_network() 2118 (!memcmp(src->ssid, dst->ssid, src->ssid_len) || (ieee->iw_mode == IW_MODE_INFRA)) && in is_same_network()
|
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_ps.c | 123 (priv->rtllib->iw_mode != IW_MODE_MASTER)) { in rtl92e_ips_enter() 196 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) in _rtl92e_ps_set_mode() 222 if (!((priv->rtllib->iw_mode == IW_MODE_INFRA) && in rtl92e_leisure_ps_enter() 224 || (priv->rtllib->iw_mode == IW_MODE_ADHOC) || in rtl92e_leisure_ps_enter() 225 (priv->rtllib->iw_mode == IW_MODE_MASTER)) in rtl92e_leisure_ps_enter()
|
D | rtl_cam.c | 36 } else if ((ieee->iw_mode == IW_MODE_ADHOC) && in rtl92e_enable_hw_security_config() 168 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) { in rtl92e_cam_restore() 181 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) { in rtl92e_cam_restore() 203 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) { in rtl92e_cam_restore() 227 if (priv->rtllib->iw_mode == IW_MODE_ADHOC) { in rtl92e_cam_restore()
|
D | rtl_core.c | 190 if ((priv->rtllib->iw_mode == IW_MODE_INFRA) || in rtl92e_set_rf_state() 191 (priv->rtllib->iw_mode == IW_MODE_ADHOC)) { in rtl92e_set_rf_state() 377 if (priv->rtllib->iw_mode != IW_MODE_INFRA) in _rtl92e_qos_handle_probe_response() 433 if (priv->rtllib->iw_mode != IW_MODE_INFRA) in _rtl92e_qos_assoc_resp() 853 priv->rtllib->iw_mode = IW_MODE_INFRA; in _rtl92e_init_priv_variable() 898 priv->rtllib->iw_mode = IW_MODE_INFRA; in _rtl92e_init_priv_variable() 1123 (priv->rtllib->iw_mode == IW_MODE_INFRA) && in _rtl92e_if_check_reset() 1225 if (ieee->state == RTLLIB_LINKED && ieee->iw_mode == in _rtl92e_if_silent_reset() 1232 } else if (ieee->state == RTLLIB_LINKED && ieee->iw_mode == in _rtl92e_if_silent_reset() 1308 if ((ieee->iw_mode == IW_MODE_INFRA) && (ieee->state == in _rtl92e_watchdog_wq_cb() [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 45 if (local->iw_mode != IW_MODE_MASTER && in hostap_get_wireless_stats() 46 local->iw_mode != IW_MODE_REPEAT) { in hostap_get_wireless_stats() 207 if (local->iw_mode != IW_MODE_INFRA && local->func->reset_port(dev)) { in prism2_ioctl_siwencode() 403 if (local->iw_mode == IW_MODE_MASTER && local->ap != NULL && in prism2_ioctl_giwrate() 498 if (local->iw_mode != IW_MODE_MASTER) { in prism2_ioctl_giwaplist() 685 if (local->host_roaming == 1 && local->iw_mode == IW_MODE_INFRA) { in prism2_ioctl_siwap() 697 local->iw_mode == IW_MODE_INFRA) { in prism2_ioctl_siwap() 891 if (local->iw_mode == IW_MODE_MASTER && ssid[0] == '\0') { in prism2_ioctl_siwessid() 926 if (local->iw_mode == IW_MODE_MASTER) { in prism2_ioctl_giwessid() 969 if (local->iw_mode == IW_MODE_INFRA || local->iw_mode == IW_MODE_ADHOC) in prism2_ioctl_giwrange() [all …]
|
D | hostap_info.c | 145 non_sta_mode = local->iw_mode == IW_MODE_MASTER || in prism2_info_linkstatus() 146 local->iw_mode == IW_MODE_REPEAT || in prism2_info_linkstatus() 147 local->iw_mode == IW_MODE_MONITOR; in prism2_info_linkstatus() 465 if (local->host_roaming == 1 && local->iw_mode == IW_MODE_INFRA) in handle_info_queue_scanresults() 468 if (local->host_roaming == 2 && local->iw_mode == IW_MODE_INFRA && in handle_info_queue_scanresults()
|
D | hostap_80211_tx.c | 88 use_wds = (local->iw_mode == IW_MODE_MASTER && in hostap_data_start_xmit() 101 if (local->iw_mode == IW_MODE_REPEAT) { in hostap_data_start_xmit() 106 } else if (local->iw_mode == IW_MODE_INFRA && in hostap_data_start_xmit() 187 } else if (local->iw_mode == IW_MODE_MASTER && !to_assoc_ap) { in hostap_data_start_xmit() 194 } else if (local->iw_mode == IW_MODE_INFRA || to_assoc_ap) { in hostap_data_start_xmit() 202 } else if (local->iw_mode == IW_MODE_ADHOC) { in hostap_data_start_xmit()
|
D | hostap_80211_rx.c | 475 if (local->iw_mode == IW_MODE_MASTER) in hostap_rx_frame_mgmt() 480 local->iw_mode == IW_MODE_MASTER) { in hostap_rx_frame_mgmt() 499 if (local->iw_mode == IW_MODE_MASTER) { in hostap_rx_frame_mgmt() 560 (local->iw_mode != IW_MODE_MASTER || !(fc & IEEE80211_FCTL_TODS))) in hostap_rx_frame_wds() 581 (local->iw_mode != IW_MODE_INFRA || in hostap_rx_frame_wds() 775 if (local->iw_mode == IW_MODE_MONITOR) { in hostap_80211_rx() 868 if (local->iw_mode == IW_MODE_MASTER && !wds && in hostap_80211_rx() 878 if ((local->iw_mode == IW_MODE_MASTER || in hostap_80211_rx() 879 local->iw_mode == IW_MODE_REPEAT) && in hostap_80211_rx() 1012 if (local->ieee_802_1x && local->iw_mode == IW_MODE_MASTER) { in hostap_80211_rx() [all …]
|
D | hostap_main.c | 312 if (local->iw_mode == IW_MODE_ADHOC && local->pseudo_adhoc) in hostap_get_porttype() 314 if (local->iw_mode == IW_MODE_ADHOC) in hostap_get_porttype() 316 if (local->iw_mode == IW_MODE_INFRA) in hostap_get_porttype() 318 if (local->iw_mode == IW_MODE_REPEAT) in hostap_get_porttype() 320 if (local->iw_mode == IW_MODE_MONITOR) in hostap_get_porttype() 614 local->hw_ready && local->ap && local->iw_mode == IW_MODE_MASTER) in prism2_close() 1069 if (local->iw_mode != IW_MODE_INFRA || in prism2_sta_deauth()
|
D | hostap_hw.c | 68 static int iw_mode[MAX_PARM_DEVICES] = { IW_MODE_MASTER, DEF_INTS }; variable 69 module_param_array(iw_mode, int, NULL, 0444); 70 MODULE_PARM_DESC(iw_mode, "Initial operation mode"); 1081 if (local->iw_mode != IW_MODE_MASTER || local->essid[0] != '\0') { in prism2_setup_rids() 1965 if (macport == 7 && local->iw_mode == IW_MODE_MONITOR) { in prism2_rx() 2029 if (local->iw_mode == IW_MODE_MONITOR && in hostap_rx_skb() 2046 local->iw_mode != IW_MODE_MONITOR)) in hostap_rx_skb() 2339 if (local->iw_mode == IW_MODE_MASTER || in prism2_txexc() 2340 local->iw_mode == IW_MODE_REPEAT || in prism2_txexc() 2750 if (local->iw_mode == IW_MODE_MASTER && !local->host_encrypt && in prism2_check_sta_fw_version() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 170 if (ieee->iw_mode == IW_MODE_MASTER) { in libipw_rx_frame_mgmt() 181 ieee->iw_mode == IW_MODE_MASTER) { in libipw_rx_frame_mgmt() 198 if (ieee->iw_mode == IW_MODE_MASTER) { in libipw_rx_frame_mgmt() 408 if (ieee->iw_mode == IW_MODE_MONITOR) { in libipw_rx() 520 if (ieee->iw_mode == IW_MODE_MASTER && !wds && in libipw_rx() 532 if ((ieee->iw_mode == IW_MODE_MASTER || in libipw_rx() 533 ieee->iw_mode == IW_MODE_REPEAT) && !from_assoc_ap) { in libipw_rx() 712 if (ieee->ieee802_1x && ieee->iw_mode == IW_MODE_MASTER) { in libipw_rx() 770 if (ieee->iw_mode == IW_MODE_MASTER && !wds && ieee->ap->bridge_packets) { in libipw_rx() 839 if (ieee->iw_mode == IW_MODE_MONITOR) { in libipw_rx_any() [all …]
|
D | ipw2200.c | 3483 switch (priv->ieee->iw_mode) { in ipw_load() 4488 switch (priv->ieee->iw_mode) { in ipw_rx_notification() 4765 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_rx_notification() 5485 if ((priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_find_adhoc_network() 5620 (priv->ieee->iw_mode == IW_MODE_ADHOC)) { in ipw_merge_adhoc_network() 5640 if (priv->ieee->iw_mode == IW_MODE_ADHOC) { in ipw_merge_adhoc_network() 5661 if ((priv->ieee->iw_mode == IW_MODE_INFRA && in ipw_best_network() 5663 (priv->ieee->iw_mode == IW_MODE_ADHOC && in ipw_best_network() 6333 if (priv->ieee->iw_mode == IW_MODE_MONITOR) { in ipw_request_scan_helper() 6874 (priv->ieee->iw_mode == IW_MODE_ADHOC) && (active_network == 0)) { in ipw_qos_handle_probe_response() [all …]
|
D | libipw_tx.c | 307 if (ieee->iw_mode == IW_MODE_INFRA) { in libipw_xmit() 313 } else if (ieee->iw_mode == IW_MODE_ADHOC) { in libipw_xmit()
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | cfg.c | 132 priv->iw_mode = type; in orinoco_change_vif() 191 if (priv->iw_mode == NL80211_IFTYPE_MONITOR) { in orinoco_set_monitor_channel()
|
D | hw.c | 484 if (priv->channel != 0 && priv->iw_mode != NL80211_IFTYPE_STATION) { in orinoco_hw_program_rids() 665 if (priv->iw_mode == NL80211_IFTYPE_MONITOR) { in orinoco_hw_program_rids() 684 wdev->iftype = priv->iw_mode; in orinoco_hw_program_rids() 970 if (priv->iw_mode == NL80211_IFTYPE_MONITOR) in __orinoco_hw_setup_enc() 1261 if (priv->iw_mode == NL80211_IFTYPE_MONITOR) { in orinoco_hw_trigger_scan()
|
/linux-6.1.9/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 487 if (priv->ieee80211->iw_mode == IW_MODE_INFRA) in rtl8192_update_msr() 489 else if (priv->ieee80211->iw_mode == IW_MODE_ADHOC) in rtl8192_update_msr() 491 else if (priv->ieee80211->iw_mode == IW_MODE_MASTER) in rtl8192_update_msr() 592 if (priv->ieee80211->iw_mode == IW_MODE_MONITOR || in rtl8192_set_rxconf() 600 if (priv->ieee80211->iw_mode == IW_MODE_MONITOR) { in rtl8192_set_rxconf() 605 if (priv->crcmon == 1 && priv->ieee80211->iw_mode == IW_MODE_MONITOR) in rtl8192_set_rxconf() 974 if (priv->ieee80211->iw_mode == IW_MODE_ADHOC) { in rtl8192_net_update() 1536 if (ieee->iw_mode == IW_MODE_INFRA || ieee->iw_mode == IW_MODE_ADHOC) { in rtl8192_link_change() 1631 if (priv->ieee80211->iw_mode != IW_MODE_INFRA) in rtl8192_qos_handle_probe_response() 1695 if (priv->ieee80211->iw_mode != IW_MODE_INFRA) in rtl8192_qos_association_resp() [all …]
|