Home
last modified time | relevance | path

Searched refs:iftype (Results 1 – 25 of 80) sorted by relevance

1234

/linux/net/wireless/
H A Dutil.c265 cfg80211_get_iftype_ext_capa(wdev->wiphy, wdev->iftype); in cfg80211_valid_key_idx()
298 /* Check the wdev/iftype supports CIGTK */ in cfg80211_valid_key_idx()
319 switch (wdev->iftype) { in cfg80211_valid_key_idx()
444 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA && in cfg80211_validate_key_settings()
690 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr()
723 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr()
724 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr()
725 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr()
729 if (unlikely(iftype != NL80211_IFTYPE_MESH_POINT &&
730 iftype !
649 ieee80211_data_to_8023_exthdr(struct sk_buff * skb,struct ethhdr * ehdr,const u8 * addr,enum nl80211_iftype iftype,u8 data_offset,bool is_amsdu) ieee80211_data_to_8023_exthdr() argument
896 is_amsdu_aggregation_attack(struct ethhdr * eth,struct sk_buff * skb,enum nl80211_iftype iftype) is_amsdu_aggregation_attack() argument
920 ieee80211_amsdu_to_8023s(struct sk_buff * skb,struct sk_buff_head * list,const u8 * addr,enum nl80211_iftype iftype,const unsigned int extra_headroom,const u8 * check_da,const u8 * check_sa,u8 mesh_control) ieee80211_amsdu_to_8023s() argument
2526 cfg80211_validate_beacon_int(struct cfg80211_registered_device * rdev,enum nl80211_iftype iftype,u32 beacon_int) cfg80211_validate_beacon_int() argument
2552 int i, j, n, iftype; cfg80211_iter_combinations() local
3006 cfg80211_iftype_allowed(struct wiphy * wiphy,enum nl80211_iftype iftype,bool is_4addr,u8 check_swif) cfg80211_iftype_allowed() argument
[all...]
H A Dwext-compat.c60 if (type == wdev->iftype) in cfg80211_wext_siwmode()
79 switch (wdev->iftype) { in cfg80211_wext_giwmode()
428 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
429 wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_set_encryption()
447 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
454 wdev->iftype == NL80211_IFTYPE_ADHOC) { in cfg80211_set_encryption()
500 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
527 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
534 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption()
553 (wdev->iftype in cfg80211_set_encryption()
[all...]
H A Dwext-sme.c75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq()
117 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq()
148 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid()
195 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid()
238 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap()
283 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap()
311 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie()
366 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
H A Dcore.c258 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device()
285 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan()
320 if (wdev->iftype != NL80211_IFTYPE_NAN || !wdev_running(wdev)) in cfg80211_nan_set_local_schedule()
371 if (wdev->iftype != NL80211_IFTYPE_NAN || !wdev_running(wdev)) in cfg80211_stop_pd()
405 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_PD)) in cfg80211_shutdown_all_interfaces()
444 switch (wdev->iftype) { in cfg80211_event_work()
521 if (wdev->iftype != NL80211_IFTYPE_NAN) in cfg80211_propagate_radar_detect_wk()
526 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA) in cfg80211_propagate_cac_done_wk()
1522 switch (wdev->iftype) { in cfg80211_update_iface_num()
1552 if (wdev->iftype in cfg80211_leave_locked()
1520 cfg80211_update_iface_num(struct cfg80211_registered_device * rdev,enum nl80211_iftype iftype,int num) cfg80211_update_iface_num() argument
[all...]
H A Dibss.c26 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined()
302 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq()
351 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq()
379 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid()
410 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid()
438 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap()
486 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
H A Docb.c27 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in cfg80211_join_ocb()
51 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in cfg80211_leave_ocb()
H A Dap.c26 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in ___cfg80211_stop_ap()
27 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in ___cfg80211_stop_ap()
H A Dnl80211.c1972 switch (wdev->iftype) { in nl80211_put_ifcomb_data()
3708 capab->iftype) || in nl80211_send_wiphy()
4041 wdev->iftype == NL80211_IFTYPE_AP || in _nl80211_parse_chandef()
4042 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in _nl80211_parse_chandef()
4043 wdev->iftype == NL80211_IFTYPE_MONITOR || in _nl80211_parse_chandef()
4044 wdev->iftype == NL80211_IFTYPE_P2P_GO; in _nl80211_parse_chandef()
4233 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in nl80211_set_wiphy_radio()
4243 iftype = wdev->iftype; in nl80211_set_wiphy_radio()
4252 permit_npca = iftype in nl80211_set_wiphy()
4112 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; __nl80211_set_channel() local
5003 nl80211_valid_4addr(struct cfg80211_registered_device * rdev,struct net_device * netdev,u8 use_4addr,enum nl80211_iftype iftype) nl80211_valid_4addr() argument
7178 nl80211_check_npca(struct cfg80211_registered_device * rdev,const struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype,struct netlink_ext_ack * extack) nl80211_check_npca() argument
7601 parse_station_flags(struct genl_info * info,enum nl80211_iftype iftype,struct station_parameters * params) parse_station_flags() argument
[all...]
H A Dsme.c753 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result()
754 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_connect_result()
1090 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed()
1091 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed()
1294 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_port_authorized()
1295 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT && in __cfg80211_port_authorized()
1296 wdev->iftype != NL80211_IFTYPE_AP && in __cfg80211_port_authorized()
1297 wdev->iftype != NL80211_IFTYPE_P2P_GO)) in __cfg80211_port_authorized()
1300 if (wdev->iftype == NL80211_IFTYPE_STATION || in __cfg80211_port_authorized()
1301 wdev->iftype in __cfg80211_port_authorized()
[all...]
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
406 if (vif->iftype != WILC_CLIENT_MODE) in connect()
428 if (vif->iftype != WILC_CLIENT_MODE) in connect()
467 if (vif->iftype != WILC_CLIENT_MODE) in disconnect()
557 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
558 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key()
626 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key()
627 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) in add_key()
752 if (vif->iftype in get_station()
1538 int iftype; add_virtual_intf() local
[all...]
H A Dnetdev.c106 if (vif->iftype == WILC_STATION_MODE) in get_if_handler()
111 if (vif->iftype == WILC_AP_MODE) in get_if_handler()
131 vif->iftype = mode; in wilc_wlan_set_bssid()
282 w = vif->iftype; in wilc_init_fw_config()
621 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open()
876 vif->iftype == WILC_STATION_MODE && is_auth) { in wilc_wfi_mgmt_rx()
974 vif->priv.wdev.iftype = type; in wilc_netdev_ifc_init()
978 vif->iftype = vif_type; in wilc_netdev_ifc_init()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcfg80211.c92 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations()
93 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations()
98 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations()
113 if (vif && vif->wdev.iftype == NL80211_IFTYPE_AP && in qtnf_validate_iface_combinations()
155 vif->wdev.iftype = type; in qtnf_change_virtual_intf()
191 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_del_virtual_intf()
234 vif->wdev.iftype = type; in qtnf_add_virtual_intf()
282 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_add_virtual_intf()
501 switch (wdev->iftype) { in qtnf_dump_station()
521 if (wdev->iftype in qtnf_dump_station()
[all...]
H A Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
19 enum nl80211_iftype iftype,
/linux/drivers/net/wireless/marvell/libertas/
H A Dtx.c117 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
153 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit()
185 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
/linux/drivers/char/ipmi/
H A Dipmi_plat_data.c24 if (p->iftype == IPMI_PLAT_IF_SI) { in ipmi_platform_add()
36 } else if (p->iftype == IPMI_PLAT_IF_SSIF) { in ipmi_platform_add()
H A Dipmi_dmi.c49 p.iftype = IPMI_PLAT_IF_SI; in dmi_add_platform_ipmi()
53 p.iftype = IPMI_PLAT_IF_SSIF; in dmi_add_platform_ipmi()
H A Dipmi_plat_data.h12 enum ipmi_plat_interface_type iftype; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-event.c787 enum nl80211_iftype iftype; in __iwl_mvm_remove_time_event()
796 iftype = te_data->vif->type; in __iwl_mvm_remove_time_event()
814 if ((p2p_aux && iftype == NL80211_IFTYPE_P2P_DEVICE) || in __iwl_mvm_remove_time_event()
833 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in __iwl_mvm_remove_time_event()
1264 int iftype = vif->type; in iwl_mvm_stop_roc()
1268 if (p2p_aux || (roc_ver >= 3 && iftype != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_stop_roc()
1278 if (iftype == NL80211_IFTYPE_P2P_DEVICE) { in iwl_mvm_stop_roc()
1302 iftype = te_data->vif->type; in iwl_mvm_stop_roc()
1303 if (iftype == NL80211_IFTYPE_P2P_DEVICE) in iwl_mvm_stop_roc()
1314 if (p2p_aux || iftype ! in iwl_mvm_stop_roc()
788 enum nl80211_iftype iftype; __iwl_mvm_remove_time_event() local
1265 int iftype = vif->type; iwl_mvm_stop_roc() local
[all...]
/linux/include/net/
H A Dcfg80211.h454 * to be an array with special access semantics (per iftype), but a lot
580 * @n_iftype_data: number of iftype data entries
601 * _ieee80211_set_sband_iftype_data - set sband iftype data array
603 * @iftd: the iftype data array pointer
604 * @n_iftd: the length of the iftype data array
606 * Set the sband iftype data array; use this where the length cannot
620 * ieee80211_set_sband_iftype_data - set sband iftype data array
622 * @iftd: the iftype data array
628 * for_each_sband_iftype_data - iterate sband iftype data entries
631 * @iftd: iftype dat
647 ieee80211_get_sband_iftype_data(const struct ieee80211_supported_band * sband,u8 iftype) ieee80211_get_sband_iftype_data() argument
675 ieee80211_get_he_iftype_cap(const struct ieee80211_supported_band * sband,u8 iftype) ieee80211_get_he_iftype_cap() argument
695 ieee80211_get_he_6ghz_capa(const struct ieee80211_supported_band * sband,enum nl80211_iftype iftype) ieee80211_get_he_6ghz_capa() argument
715 ieee80211_get_eht_iftype_cap(const struct ieee80211_supported_band * sband,enum nl80211_iftype iftype) ieee80211_get_eht_iftype_cap() argument
735 ieee80211_get_uhr_iftype_cap(const struct ieee80211_supported_band * sband,enum nl80211_iftype iftype) ieee80211_get_uhr_iftype_cap() argument
6048 enum nl80211_iftype iftype; global() member
7232 enum nl80211_iftype iftype; global() member
7719 ieee80211_data_to_8023(struct sk_buff * skb,const u8 * addr,enum nl80211_iftype iftype) ieee80211_data_to_8023() argument
9932 enum nl80211_iftype iftype; global() member
9962 cfg80211_reg_can_beacon(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon() argument
9987 cfg80211_reg_can_beacon_relax(struct wiphy * wiphy,struct cfg80211_chan_def * chandef,enum nl80211_iftype iftype) cfg80211_reg_can_beacon_relax() argument
[all...]
/linux/net/ieee802154/
H A Dcore.c277 int iftype, int num) in cfg802154_update_iface_num() argument
312 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call()
318 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
H A Dnl802154.c807 nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || in nl802154_send_iface()
842 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_send_iface()
1084 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id()
1119 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_short_addr()
1406 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_trigger_scan()
1574 if (wpan_dev->iftype != NL802154_IFTYPE_COORD) { in nl802154_send_beacons()
1923 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params()
2032 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_key()
2091 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_key()
2143 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_key()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c835 vif->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in brcmf_p2p_run_escan()
2124 enum brcmf_fil_p2p_if_types iftype) in brcmf_p2p_request_p2p_if()
2135 if_request.type = cpu_to_le16((u16)iftype); in brcmf_p2p_request_p2p_if()
2291 enum brcmf_fil_p2p_if_types iftype; in brcmf_p2p_add_vif()
2303 iftype = BRCMF_FIL_P2P_IF_CLIENT; in brcmf_p2p_add_vif()
2306 iftype = BRCMF_FIL_P2P_IF_GO; in brcmf_p2p_add_vif()
2331 p2p_intf_addr, iftype); in brcmf_p2p_add_vif()
2369 if (iftype == BRCMF_FIL_P2P_IF_GO) { in brcmf_p2p_add_vif()
2392 enum nl80211_iftype iftype; in brcmf_p2p_del_vif()
2399 iftype in brcmf_p2p_del_vif()
2126 brcmf_p2p_request_p2p_if(struct brcmf_p2p_info * p2p,struct brcmf_if * ifp,u8 ea[ETH_ALEN],enum brcmf_fil_p2p_if_types iftype) brcmf_p2p_request_p2p_if() argument
2293 enum brcmf_fil_p2p_if_types iftype; brcmf_p2p_add_vif() local
2394 enum nl80211_iftype iftype; brcmf_p2p_del_vif() local
[all...]
/linux/net/mac802154/
H A Drx.c107 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd()
115 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd()
426 if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR) in __ieee802154_rx_handle_packet()
459 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_monitors_rx()
H A Diface.c254 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument
269 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR && in ieee802154_check_concurrent_iface()
270 nsdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_check_concurrent_iface()
291 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open()
558 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
/linux/net/mac80211/
H A Diface.c342 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument
368 if (iftype == NL80211_IFTYPE_NAN_DATA && in ieee80211_check_concurrent_iface()
385 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface()
408 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface()
415 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface()
425 enum nl80211_iftype iftype) in ieee80211_check_queues() argument
430 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues()
433 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues()
444 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues()
445 iftype ! in ieee80211_check_queues()
1094 ieee80211_iftype_supports_hdr_offload(enum nl80211_iftype iftype) ieee80211_iftype_supports_hdr_offload() argument
[all...]

1234