/net/wireless/ |
D | util.c | 501 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr_bool() argument 532 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr_bool() 540 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr_bool() 541 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr_bool() 542 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr_bool() 546 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr_bool() 547 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr_bool() 548 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr_bool() 549 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr_bool() 551 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr_bool() [all …]
|
D | chan.c | 438 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument 446 switch (iftype) { in cfg80211_chandef_dfs_required() 611 switch (wdev->iftype) { in cfg80211_beaconing_iface_active() 1016 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument 1029 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1030 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1031 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan() 1053 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1064 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1065 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() [all …]
|
D | wext-compat.c | 62 if (type == wdev->iftype) in cfg80211_wext_siwmode() 79 switch (wdev->iftype) { in cfg80211_wext_giwmode() 422 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 423 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 446 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 522 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 574 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode() 575 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode() 637 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext() 638 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext() [all …]
|
D | wext-sme.c | 75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq() 124 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq() 154 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid() 208 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid() 249 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap() 297 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap() 321 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie() 376 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
|
D | core.c | 227 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 250 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 275 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1107 switch (wdev->iftype) { in __cfg80211_unregister_wdev() 1143 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1148 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1163 switch (wdev->iftype) { in __cfg80211_leave() 1266 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev() 1267 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_init_wdev() 1268 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_init_wdev() [all …]
|
D | ibss.c | 27 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 319 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 404 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 441 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 471 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 525 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
D | ap.c | 21 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in __cfg80211_stop_ap() 22 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in __cfg80211_stop_ap()
|
D | ocb.c | 26 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_join_ocb() 64 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
|
D | nl80211.c | 1319 switch (wdev->iftype) { in nl80211_key_allowed() 2510 capab->iftype) || in nl80211_send_wiphy() 2785 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 2786 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 2787 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 2788 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 2903 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 2911 iftype = wdev->iftype; in __nl80211_set_channel() 2917 switch (iftype) { in __nl80211_set_channel() 2921 iftype)) { in __nl80211_set_channel() [all …]
|
D | mesh.c | 109 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh() 263 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
|
D | sme.c | 703 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result() 704 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) { in __cfg80211_connect_result() 919 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed() 920 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed() 1047 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in __cfg80211_port_authorized() 1099 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_disconnected() 1100 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_disconnected() 1334 switch (wdev->iftype) { in cfg80211_autodisconnect_wk()
|
D | mlme.c | 491 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) in cfg80211_mlme_register_mgmt() 605 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx() 614 switch (wdev->iftype) { in cfg80211_mlme_mgmt_tx() 633 if (wdev->iftype == NL80211_IFTYPE_ADHOC) in cfg80211_mlme_mgmt_tx() 706 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt()
|
D | core.h | 523 enum nl80211_iftype iftype, u32 beacon_int); 526 enum nl80211_iftype iftype, int num);
|
D | reg.c | 2120 enum nl80211_iftype iftype; in reg_wdev_chan_valid() local 2123 iftype = wdev->iftype; in reg_wdev_chan_valid() 2129 switch (iftype) { in reg_wdev_chan_valid() 2166 switch (iftype) { in reg_wdev_chan_valid() 2170 return cfg80211_reg_can_beacon_relax(wiphy, &chandef, iftype); in reg_wdev_chan_valid()
|
D | trace.h | 2908 enum nl80211_iftype iftype, bool check_no_ir), 2909 TP_ARGS(wiphy, chandef, iftype, check_no_ir), 2913 __field(enum nl80211_iftype, iftype) 2919 __entry->iftype = iftype; 2923 WIPHY_PR_ARG, CHAN_DEF_PR_ARG, __entry->iftype,
|
/net/ieee802154/ |
D | nl802154.c | 804 nla_put_u32(msg, NL802154_ATTR_IFTYPE, wpan_dev->iftype) || in nl802154_send_iface() 839 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_send_iface() 1082 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_pan_id() 1118 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR || in nl802154_set_short_addr() 1409 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_set_llsec_params() 1518 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_key() 1577 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_key() 1629 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_del_llsec_key() 1697 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) { in nl802154_dump_llsec_dev() 1788 if (wpan_dev->iftype == NL802154_IFTYPE_MONITOR) in nl802154_add_llsec_dev() [all …]
|
D | core.c | 248 int iftype, int num) in cfg802154_update_iface_num() argument 280 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call() 286 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
|
/net/mac80211/ |
D | iface.c | 244 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument 274 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface() 295 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface() 302 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 315 enum nl80211_iftype iftype) in ieee80211_check_queues() argument 320 if (iftype == NL80211_IFTYPE_NAN) in ieee80211_check_queues() 323 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues() 334 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues() 335 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues() 336 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues() [all …]
|
D | util.c | 1839 enum nl80211_iftype iftype = in ieee80211_build_preq_ies_band() local 1841 __le16 cap = ieee80211_get_he_6ghz_capa(sband, iftype); in ieee80211_build_preq_ies_band() 2749 u8 ieee80211_ie_len_he_cap(struct ieee80211_sub_if_data *sdata, u8 iftype) in ieee80211_ie_len_he_cap() argument 2759 he_cap = ieee80211_get_he_iftype_cap(sband, iftype); in ieee80211_ie_len_he_cap() 2841 enum nl80211_iftype iftype = ieee80211_vif_type_p2p(&sdata->vif); in ieee80211_ie_build_he_6ghz_cap() local 2849 iftd = ieee80211_get_sband_iftype_data(sband, iftype); in ieee80211_ie_build_he_6ghz_cap() 3644 WARN_ON((NUM_NL80211_IFTYPES / 8 + 1) > sizeof(cs[0].iftype)); in ieee80211_cs_list_valid() 3655 enum nl80211_iftype iftype) in ieee80211_cs_get() argument 3669 if (!cs || !(cs->iftype & BIT(iftype))) in ieee80211_cs_get() 3677 enum nl80211_iftype iftype) in ieee80211_cs_headroom() argument [all …]
|
D | ieee80211_i.h | 2161 u8 ieee80211_ie_len_he_cap(struct ieee80211_sub_if_data *sdata, u8 iftype); 2229 enum nl80211_iftype iftype); 2232 enum nl80211_iftype iftype);
|
D | tdls.c | 91 sdata->wdev.iftype)) { in ieee80211_tdls_add_subband() 346 sdata->wdev.iftype))) in ieee80211_tdls_chandef_vht_upgrade() 1863 sdata->wdev.iftype)) { in ieee80211_process_tdls_channel_switch_req()
|
D | chan.c | 1572 sdata->wdev.iftype); in ieee80211_vif_use_channel()
|
D | ibss.c | 1774 sdata->wdev.iftype); in ieee80211_ibss_join()
|
/net/mac802154/ |
D | iface.c | 266 enum nl802154_iftype iftype) in ieee802154_check_concurrent_iface() argument 282 if (wpan_dev->iftype == NL802154_IFTYPE_NODE && in ieee802154_check_concurrent_iface() 283 nsdata->wpan_dev.iftype == NL802154_IFTYPE_NODE) in ieee802154_check_concurrent_iface() 305 rc = ieee802154_check_concurrent_iface(sdata, wpan_dev->iftype); in mac802154_wpan_open() 564 sdata->wpan_dev.iftype = type; in ieee802154_setup_sdata()
|
D | rx.c | 206 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_NODE) in __ieee802154_rx_handle_packet() 232 if (sdata->wpan_dev.iftype != NL802154_IFTYPE_MONITOR) in ieee802154_monitors_rx()
|