| /linux/net/wireless/ |
| H A D | util.c | 352 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA && in cfg80211_validate_key_settings() 598 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() 631 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr() 632 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 633 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr() 637 if (unlikely(iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 638 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 639 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr() 643 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023_exthdr() 644 iftype ! in ieee80211_data_to_8023_exthdr() 573 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 819 is_amsdu_aggregation_attack(struct ethhdr * eth,struct sk_buff * skb,enum nl80211_iftype iftype) is_amsdu_aggregation_attack() argument 843 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 2419 cfg80211_validate_beacon_int(struct cfg80211_registered_device * rdev,enum nl80211_iftype iftype,u32 beacon_int) cfg80211_validate_beacon_int() argument 2445 int i, j, n, iftype; cfg80211_iter_combinations() local 2899 cfg80211_iftype_allowed(struct wiphy * wiphy,enum nl80211_iftype iftype,bool is_4addr,u8 check_swif) cfg80211_iftype_allowed() argument [all...] |
| H A D | wext-compat.c | 60 if (type == wdev->iftype) in cfg80211_wext_siwmode() 79 switch (wdev->iftype) { in cfg80211_wext_giwmode() 426 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 427 wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_set_encryption() 445 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 452 wdev->iftype == NL80211_IFTYPE_ADHOC) { in cfg80211_set_encryption() 499 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 526 (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 533 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in cfg80211_set_encryption() 552 (wdev->iftype in cfg80211_set_encryption() [all...] |
| H A D | core.c | 234 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 261 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 292 if (wdev->iftype != NL80211_IFTYPE_NAN || !wdev_running(wdev)) in cfg80211_nan_set_local_schedule() 330 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_PD)) in cfg80211_shutdown_all_interfaces() 369 switch (wdev->iftype) { in cfg80211_rfkill_set_block() 446 if (wdev->iftype != NL80211_IFTYPE_NAN) in cfg80211_sched_scan_stop_wk() 451 if (wdev->iftype == NL80211_IFTYPE_NAN_DATA) in cfg80211_sched_scan_stop_wk() 1430 switch (wdev->iftype) { in cfg80211_unregister_wdev() 1460 if (wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_leave_locked() 1461 wdev->iftype in cfg80211_leave_locked() 1439 cfg80211_update_iface_num(struct cfg80211_registered_device * rdev,enum nl80211_iftype iftype,int num) cfg80211_update_iface_num() argument [all...] |
| H A D | ocb.c | 27 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 D | ap.c | 26 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 D | ibss.c | 28 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 297 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 346 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 405 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 433 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 481 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
| H A D | nl80211.c | 1860 switch (wdev->iftype) { in nl80211_key_allowed() 3592 capab->iftype) || in nl80211_dump_wiphy_parse() 3917 wdev->iftype == NL80211_IFTYPE_AP || in _nl80211_parse_chandef() 3918 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in _nl80211_parse_chandef() 3919 wdev->iftype == NL80211_IFTYPE_MONITOR || in _nl80211_parse_chandef() 3920 wdev->iftype == NL80211_IFTYPE_P2P_GO; in _nl80211_parse_chandef() 4109 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in nl80211_set_wiphy() 4119 iftype = wdev->iftype; in nl80211_set_wiphy() 4128 permit_npca = iftype in nl80211_set_wiphy() 3939 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; __nl80211_set_channel() local 4808 nl80211_valid_4addr(struct cfg80211_registered_device * rdev,struct net_device * netdev,u8 use_4addr,enum nl80211_iftype iftype) nl80211_valid_4addr() argument 7307 parse_station_flags(struct genl_info * info,enum nl80211_iftype iftype,struct station_parameters * params) parse_station_flags() argument [all...] |
| H A D | sme.c | 753 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...] |
| H A D | mesh.c | 114 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh() 268 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in cfg80211_leave_mesh()
|
| H A D | mlme.c | 687 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) { in cfg80211_mlme_register_mgmt() 701 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_mlme_register_mgmt() 877 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx() 884 switch (wdev->iftype) { in cfg80211_mlme_mgmt_tx() 974 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt_ext() 1392 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_mlo_reconf_add_done() 1393 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_mlo_reconf_add_done()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | tx.c | 117 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()
|
| H A D | cmdresp.c | 42 if (priv->wdev->iftype == NL80211_IFTYPE_STATION) in lbs_mac_event_disconnected() 144 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR && in lbs_process_command_response()
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_plat_data.c | 24 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 D | ipmi_plat_data.h | 12 enum ipmi_plat_interface_type iftype; member
|
| H A D | ipmi_dmi.c | 49 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 D | ipmi_si_hardcode.c | 69 p.iftype = IPMI_PLAT_IF_SI; in ipmi_hardcode_init_one()
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | commands.h | 16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype, 19 enum nl80211_iftype iftype,
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | netdev.c | 106 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/net/mac802154/ |
| H A D | rx.c | 107 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd_worker() 115 if (mac_pkt->sdata->wpan_dev.iftype != NL802154_IFTYPE_COORD) in mac802154_rx_mac_cmd_worker() 350 if (sdata->wpan_dev.iftype == NL802154_IFTYPE_MONITOR) in __ieee802154_rx_handle_packet() 383 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_monitors_rx()
|
| H A D | iface.c | 254 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/ieee802154/ |
| H A D | nl802154.c | 807 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/ath/wil6210/ |
| H A D | netdev.c | 300 unsigned char name_assign_type, enum nl80211_iftype iftype) in wil_vif_alloc() argument 334 wdev->iftype = iftype; in wil_vif_alloc() 424 wdev->iftype); in wil_vif_add()
|
| H A D | ethtool.c | 65 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_ethtoolops_set_coalesce()
|
| H A D | txrx.c | 380 if (vif->wdev.iftype == NL80211_IFTYPE_MONITOR) in wil_rx_get_cid_by_skb() 409 if (vif->wdev.iftype != NL80211_IFTYPE_P2P_GO && in wil_rx_get_cid_by_skb() 410 vif->wdev.iftype != NL80211_IFTYPE_AP) in wil_rx_get_cid_by_skb() 426 ta, vif->wdev.iftype, ftype, skb->len); in wil_rx_get_cid_by_skb() 840 if (wdev->iftype != NL80211_IFTYPE_STATION || in wil_tx_complete_handle_eapol() 877 if (wdev->iftype != NL80211_IFTYPE_STATION || in wil_rx_handle_eapol() 907 if (wdev->iftype == NL80211_IFTYPE_STATION) { in wil_netif_rx() 917 } else if (wdev->iftype == NL80211_IFTYPE_AP && !vif->ap_isolate) { in wil_netif_rx() 1021 if (wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_rx_handle() 2331 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_MONITOR)) { in wil_start_xmit() [all …]
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | key.c | 70 struct ieee80211_key_seq *seq, enum nl80211_iftype iftype) in fill_tkip_group() argument 81 if (iftype == NL80211_IFTYPE_AP) in fill_tkip_group()
|