Searched refs:iftype (Results 1 – 13 of 13) sorted by relevance
/net/wireless/ |
D | util.c | 331 enum nl80211_iftype iftype) in ieee80211_data_to_8023() argument 359 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023() 360 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023() 361 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023() 365 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023() 366 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023() 367 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023() 368 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023() 370 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023() 390 if ((iftype != NL80211_IFTYPE_STATION && in ieee80211_data_to_8023() [all …]
|
D | wext-compat.c | 96 if (type == wdev->iftype) in cfg80211_wext_siwmode() 117 switch (wdev->iftype) { in cfg80211_wext_giwmode() 459 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 460 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 483 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 548 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 603 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode() 604 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode() 666 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext() 667 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext() [all …]
|
D | core.c | 221 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 266 switch (wdev->iftype) { in cfg80211_rfkill_set_block() 882 switch (wdev->iftype) { in cfg80211_unregister_wdev() 900 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 905 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 914 switch (wdev->iftype) { in cfg80211_leave() 962 WARN_ON(wdev->iftype == NL80211_IFTYPE_UNSPECIFIED); in cfg80211_netdev_notifier_call() 1010 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_netdev_notifier_call() 1011 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_netdev_notifier_call() 1012 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_netdev_notifier_call() [all …]
|
D | wext-sme.c | 75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq() 153 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq() 183 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid() 242 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid() 280 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap() 334 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap() 358 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie() 413 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
|
D | core.h | 442 enum nl80211_iftype iftype, 466 enum nl80211_iftype iftype) in cfg80211_can_change_interface() argument 468 return cfg80211_can_use_iftype_chan(rdev, wdev, iftype, NULL, in cfg80211_can_change_interface() 474 enum nl80211_iftype iftype) in cfg80211_can_add_interface() argument 476 return cfg80211_can_change_interface(rdev, NULL, iftype); in cfg80211_can_add_interface() 485 return cfg80211_can_use_iftype_chan(rdev, wdev, wdev->iftype, in cfg80211_can_use_chan() 515 enum nl80211_iftype iftype, int num);
|
D | ap.c | 20 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in __cfg80211_stop_ap() 21 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in __cfg80211_stop_ap()
|
D | ibss.c | 25 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 322 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 379 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 409 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 448 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 478 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 531 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
D | nl80211.c | 842 switch (wdev->iftype) { in nl80211_key_allowed() 1760 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 1761 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 1762 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 1763 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 1832 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 1835 iftype = wdev->iftype; in __nl80211_set_channel() 1845 switch (iftype) { in __nl80211_set_channel() 1897 if (wdev->iftype != NL80211_IFTYPE_WDS) in nl80211_set_wds_peer() 1982 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_wiphy() [all …]
|
D | mesh.c | 105 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_join_mesh() 245 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in __cfg80211_leave_mesh()
|
D | sme.c | 436 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_connect_result() 437 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_connect_result() 584 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_roamed() 585 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_roamed() 706 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in __cfg80211_disconnected() 707 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in __cfg80211_disconnected()
|
D | mlme.c | 585 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].rx & BIT(mgmt_type))) in cfg80211_mlme_register_mgmt() 698 if (!(wdev->wiphy->mgmt_stypes[wdev->iftype].tx & BIT(stype >> 4))) in cfg80211_mlme_mgmt_tx() 707 switch (wdev->iftype) { in cfg80211_mlme_mgmt_tx() 726 if (wdev->iftype == NL80211_IFTYPE_ADHOC) in cfg80211_mlme_mgmt_tx() 783 &wiphy->mgmt_stypes[wdev->iftype]; in cfg80211_rx_mgmt()
|
D | chan.c | 461 switch (wdev->iftype) { in cfg80211_get_chan_state()
|
/net/mac80211/ |
D | iface.c | 245 enum nl80211_iftype iftype) in ieee80211_check_concurrent_iface() argument 265 if (iftype == NL80211_IFTYPE_ADHOC && in ieee80211_check_concurrent_iface() 280 if (!identical_mac_addr_allowed(iftype, in ieee80211_check_concurrent_iface() 287 if (iftype == NL80211_IFTYPE_AP_VLAN && in ieee80211_check_concurrent_iface() 297 enum nl80211_iftype iftype) in ieee80211_check_queues() argument 302 if (iftype != NL80211_IFTYPE_P2P_DEVICE) { in ieee80211_check_queues() 313 if ((iftype != NL80211_IFTYPE_AP && in ieee80211_check_queues() 314 iftype != NL80211_IFTYPE_P2P_GO && in ieee80211_check_queues() 315 iftype != NL80211_IFTYPE_MESH_POINT) || in ieee80211_check_queues() 1240 sdata->wdev.iftype = type; in ieee80211_setup_sdata()
|