Lines Matching refs:iftype
1536 switch (wdev->iftype) { in nl80211_key_allowed()
2871 capab->iftype) || in nl80211_send_wiphy()
3170 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
3171 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
3172 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
3173 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
3308 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
3317 iftype = wdev->iftype; in __nl80211_set_channel()
3329 switch (iftype) { in __nl80211_set_channel()
3333 iftype)) in __nl80211_set_channel()
3458 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_wiphy()
3459 netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_set_wiphy()
3791 nla_put_u32(msg, NL80211_ATTR_IFTYPE, wdev->iftype) || in nl80211_send_iface()
3821 switch (wdev->iftype) { in nl80211_send_iface()
4090 enum nl80211_iftype iftype) in nl80211_valid_4addr() argument
4098 switch (iftype) { in nl80211_valid_4addr()
4125 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4450 if ((wdev->iftype == NL80211_IFTYPE_STATION || in nl80211_get_key()
4451 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) && in nl80211_get_key()
4859 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_mac_acl()
4860 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_mac_acl()
5063 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in he_set_mcs_mask()
5123 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in nl80211_parse_tx_bitrate_mask()
5209 ieee80211_get_he_iftype_cap(sband, wdev->iftype))) in nl80211_parse_tx_bitrate_mask()
5351 tx_netdev->ieee80211_ptr->iftype != in nl80211_parse_mbssid_config()
5707 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_get_ap_channel()
5708 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_get_ap_channel()
5782 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_start_ap()
5783 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
5811 err = cfg80211_validate_beacon_int(rdev, dev->ieee80211_ptr->iftype, in nl80211_start_ap()
5877 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
5893 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
5922 wdev->iftype)) { in nl80211_start_ap()
6077 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_beacon()
6078 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_beacon()
6119 enum nl80211_iftype iftype, in parse_station_flags() argument
6159 switch (iftype) { in parse_station_flags()
6809 if (v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && in get_vlan()
6810 v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in get_vlan()
6811 v->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in get_vlan()
7043 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_set_station()
7097 switch (dev->ieee80211_ptr->iftype) { in nl80211_set_station()
7184 dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_new_station()
7270 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_new_station()
7297 switch (dev->ieee80211_ptr->iftype) { in nl80211_new_station()
7417 switch (dev->ieee80211_ptr->iftype) { in nl80211_del_station()
7547 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { in nl80211_dump_mpath()
7597 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpath()
7636 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_mpath()
7661 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_new_mpath()
7679 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_del_mpath()
7705 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpp()
7747 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { in nl80211_dump_mpp()
7817 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7829 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7841 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_bss()
7842 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
7914 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mesh_config()
8292 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_update_mesh_config()
8940 if (wdev->iftype == NL80211_IFTYPE_NAN) in nl80211_trigger_scan()
9757 err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); in nl80211_start_radar_detection()
9839 err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); in nl80211_notify_radar_detection()
9887 switch (dev->ieee80211_ptr->iftype) { in nl80211_channel_switch()
10036 wdev->iftype)) { in nl80211_channel_switch()
10043 wdev->iftype); in nl80211_channel_switch()
10180 switch (wdev->iftype) { in nl80211_send_bss()
10482 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_authenticate()
10483 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_authenticate()
10754 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_associate()
10755 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_associate()
11007 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_deauthenticate()
11008 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_deauthenticate()
11055 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disassociate()
11056 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disassociate()
11138 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_join_ibss()
11275 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_leave_ibss()
11288 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC && in nl80211_set_mcast_rate()
11289 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT && in nl80211_set_mcast_rate()
11290 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in nl80211_set_mcast_rate()
11604 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_connect()
11605 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_connect()
11916 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disconnect()
11917 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disconnect()
11999 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_setdel_pmksa()
12000 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && in nl80211_setdel_pmksa()
12001 !(dev->ieee80211_ptr->iftype == NL80211_IFTYPE_AP && in nl80211_setdel_pmksa()
12029 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_flush_pmksa()
12030 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_flush_pmksa()
12244 switch (wdev->iftype) { in nl80211_register_mgmt()
12298 switch (wdev->iftype) { in nl80211_tx_mgmt()
12439 switch (wdev->iftype) { in nl80211_tx_mgmt_cancel_wait()
12556 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_txe()
12557 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_txe()
12645 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_rssi()
12646 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_rssi()
13845 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_register_unexpected_frame()
13846 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_register_unexpected_frame()
13868 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_probe_client()
13869 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_probe_client()
13953 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_start_p2p_device()
13977 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_stop_p2p_device()
13995 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_start_nan()
14037 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_stop_nan()
14119 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_add_func()
14353 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_del_func()
14377 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_change_config()
15089 switch (wdev->iftype) { in nl80211_add_tx_ts()
15145 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_channel_switch()
15173 wdev->iftype)) in nl80211_tdls_channel_switch()
15177 if (cfg80211_chandef_dfs_required(wdev->wiphy, &chandef, wdev->iftype)) in nl80211_tdls_channel_switch()
15203 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_cancel_channel_switch()
15235 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_set_multicast_to_unicast()
15236 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_multicast_to_unicast()
15253 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_pmk()
15254 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_pmk()
15302 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_del_pmk()
15303 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_del_pmk()
15331 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_external_auth()
15332 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_external_auth()
15394 switch (wdev->iftype) { in nl80211_tx_control_port()
15450 if (wdev->iftype != NL80211_IFTYPE_AP || in nl80211_get_ftm_responder_stats()
15555 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_probe_mesh_link()
15756 if (wdev->iftype != NL80211_IFTYPE_AP) in nl80211_color_change()
15875 switch (wdev->iftype) { in nl80211_add_link()
15911 switch (wdev->iftype) { in nl80211_remove_link()
18052 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_MESH_POINT)) in cfg80211_notify_new_peer_candidate()
18436 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_spurious_frame()
18437 wdev->iftype != NL80211_IFTYPE_P2P_GO)) { in cfg80211_rx_spurious_frame()
18456 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_unexpected_4addr_frame()
18457 wdev->iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_rx_unexpected_4addr_frame()
18458 wdev->iftype != NL80211_IFTYPE_AP_VLAN)) { in cfg80211_rx_unexpected_4addr_frame()
19001 switch (wdev->iftype) { in cfg80211_ch_switch_notify()