Lines Matching refs:iftype
1685 switch (wdev->iftype) { in nl80211_key_allowed()
3244 capab->iftype) || in nl80211_send_wiphy()
3563 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
3564 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
3565 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
3566 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
3719 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
3728 iftype = wdev->iftype; in __nl80211_set_channel()
3737 iftype == NL80211_IFTYPE_MONITOR, in __nl80211_set_channel()
3742 switch (iftype) { in __nl80211_set_channel()
3746 iftype)) in __nl80211_set_channel()
3930 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_wiphy()
3931 netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_wiphy()
4269 nla_put_u32(msg, NL80211_ATTR_IFTYPE, wdev->iftype) || in nl80211_send_iface()
4299 switch (wdev->iftype) { in nl80211_send_iface()
4588 enum nl80211_iftype iftype) in nl80211_valid_4addr() argument
4596 switch (iftype) { in nl80211_valid_4addr()
4648 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
4970 if ((wdev->iftype == NL80211_IFTYPE_STATION || in nl80211_get_key()
4971 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) && in nl80211_get_key()
5356 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_mac_acl()
5357 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_mac_acl()
5560 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in he_set_mcs_mask()
5607 switch (wdev->iftype) { in eht_build_mcs_mask()
5688 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in eht_set_mcs_mask()
5692 eht_cap = ieee80211_get_eht_iftype_cap(sband, wdev->iftype); in eht_set_mcs_mask()
5708 wdev->iftype == in eht_set_mcs_mask()
5713 switch (wdev->iftype) { in eht_set_mcs_mask()
5780 he_cap = ieee80211_get_he_iftype_cap(sband, wdev->iftype); in nl80211_parse_tx_bitrate_mask()
5790 eht_cap = ieee80211_get_eht_iftype_cap(sband, wdev->iftype); in nl80211_parse_tx_bitrate_mask()
5796 wdev->iftype == in nl80211_parse_tx_bitrate_mask()
5894 ieee80211_get_he_iftype_cap(sband, wdev->iftype) || in nl80211_parse_tx_bitrate_mask()
5895 ieee80211_get_eht_iftype_cap(sband, wdev->iftype))) in nl80211_parse_tx_bitrate_mask()
6064 tx_netdev->ieee80211_ptr->iftype != in nl80211_parse_mbssid_config()
6508 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_get_ap_channel()
6509 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_get_ap_channel()
6681 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_start_ap()
6682 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
6718 err = cfg80211_validate_beacon_int(rdev, dev->ieee80211_ptr->iftype, in nl80211_start_ap()
6784 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
6800 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in nl80211_start_ap()
6828 beacon_check.iftype = wdev->iftype; in nl80211_start_ap()
6987 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_beacon()
6988 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_beacon()
7007 beacon_check.iftype = wdev->iftype; in nl80211_set_beacon()
7071 enum nl80211_iftype iftype, in parse_station_flags() argument
7111 switch (iftype) { in parse_station_flags()
8268 if (v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && in get_vlan()
8269 v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in get_vlan()
8270 v->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in get_vlan()
8516 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_set_station()
8576 switch (dev->ieee80211_ptr->iftype) { in nl80211_set_station()
8661 dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_new_station()
8767 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_new_station()
8795 switch (dev->ieee80211_ptr->iftype) { in nl80211_new_station()
8923 switch (wdev->iftype) { in nl80211_del_station()
9060 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { in nl80211_dump_mpath()
9110 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpath()
9149 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_mpath()
9174 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_new_mpath()
9192 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_del_mpath()
9218 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpp()
9260 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { in nl80211_dump_mpp()
9360 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
9373 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
9387 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_bss()
9388 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
9459 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mesh_config()
9835 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_update_mesh_config()
10502 if (wdev->iftype == NL80211_IFTYPE_NAN) in nl80211_trigger_scan()
11273 switch (wdev->iftype) { in nl80211_start_radar_detection()
11294 err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); in nl80211_start_radar_detection()
11339 switch (wdev->iftype) { in nl80211_start_radar_detection()
11384 err = cfg80211_chandef_dfs_required(wiphy, &chandef, wdev->iftype); in nl80211_notify_radar_detection()
11467 switch (dev->ieee80211_ptr->iftype) { in nl80211_channel_switch()
11568 wdev->iftype)) { in nl80211_channel_switch()
11575 wdev->iftype); in nl80211_channel_switch()
11591 if ((wdev->iftype == NL80211_IFTYPE_AP || in nl80211_channel_switch()
11592 wdev->iftype == NL80211_IFTYPE_P2P_GO) && in nl80211_channel_switch()
11726 switch (wdev->iftype) { in nl80211_send_bss()
12041 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_authenticate()
12042 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_authenticate()
12391 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_associate()
12392 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_associate()
12640 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_deauthenticate()
12641 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_deauthenticate()
12685 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disassociate()
12686 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disassociate()
12765 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_join_ibss()
12900 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_leave_ibss()
12913 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC && in nl80211_set_mcast_rate()
12914 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT && in nl80211_set_mcast_rate()
12915 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in nl80211_set_mcast_rate()
13228 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_connect()
13229 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_connect()
13531 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disconnect()
13532 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disconnect()
13611 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_set_pmksa()
13612 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && in nl80211_set_pmksa()
13613 !((dev->ieee80211_ptr->iftype == NL80211_IFTYPE_AP || in nl80211_set_pmksa()
13614 dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO) && in nl80211_set_pmksa()
13663 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_del_pmksa()
13664 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && in nl80211_del_pmksa()
13665 !((dev->ieee80211_ptr->iftype == NL80211_IFTYPE_AP || in nl80211_del_pmksa()
13666 dev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO) && in nl80211_del_pmksa()
13681 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_flush_pmksa()
13682 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_flush_pmksa()
13888 switch (wdev->iftype) { in nl80211_register_mgmt()
13948 switch (wdev->iftype) { in nl80211_tx_mgmt()
14078 switch (wdev->iftype) { in nl80211_tx_mgmt_cancel_wait()
14199 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_txe()
14200 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_txe()
14286 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_rssi()
14287 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_rssi()
15465 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_register_unexpected_frame()
15466 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_register_unexpected_frame()
15488 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_probe_client()
15489 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_probe_client()
15573 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_start_p2p_device()
15597 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_stop_p2p_device()
15826 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_start_nan()
15858 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_stop_nan()
15940 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_add_func()
16173 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_del_func()
16198 if (wdev->iftype != NL80211_IFTYPE_NAN) in nl80211_nan_change_config()
16894 switch (wdev->iftype) { in nl80211_add_tx_ts()
16938 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_channel_switch()
16966 wdev->iftype)) in nl80211_tdls_channel_switch()
16970 if (cfg80211_chandef_dfs_required(wdev->wiphy, &chandef, wdev->iftype)) in nl80211_tdls_channel_switch()
16991 switch (dev->ieee80211_ptr->iftype) { in nl80211_tdls_cancel_channel_switch()
17021 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_set_multicast_to_unicast()
17022 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_multicast_to_unicast()
17038 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_pmk()
17039 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_pmk()
17076 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_del_pmk()
17077 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_del_pmk()
17101 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_external_auth()
17102 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_external_auth()
17162 switch (wdev->iftype) { in nl80211_tx_control_port()
17210 if (wdev->iftype != NL80211_IFTYPE_AP || in nl80211_get_ftm_responder_stats()
17315 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_probe_mesh_link()
17512 if (wdev->iftype != NL80211_IFTYPE_AP) in nl80211_color_change()
17642 switch (wdev->iftype) { in nl80211_add_link()
17676 switch (wdev->iftype) { in nl80211_remove_link()
17852 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_ttlm()
17853 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_ttlm()
17890 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_assoc_ml_reconf()
17891 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_assoc_ml_reconf()
17946 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_epcs_cfg()
17947 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_epcs_cfg()
20002 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_links_removed()
20003 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_links_removed()
20118 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_MESH_POINT)) in cfg80211_notify_new_peer_candidate()
20502 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_spurious_frame()
20503 wdev->iftype != NL80211_IFTYPE_P2P_GO)) { in cfg80211_rx_spurious_frame()
20522 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_unexpected_4addr_frame()
20523 wdev->iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_rx_unexpected_4addr_frame()
20524 wdev->iftype != NL80211_IFTYPE_AP_VLAN)) { in cfg80211_rx_unexpected_4addr_frame()
21092 switch (wdev->iftype) { in cfg80211_ch_switch_notify()
21902 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_schedule_channels_check()