Lines Matching refs:iftype
875 switch (wdev->iftype) { in nl80211_key_allowed()
1886 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel()
1887 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel()
1888 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel()
1889 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel()
1963 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local
1971 iftype = wdev->iftype; in __nl80211_set_channel()
1977 switch (iftype) { in __nl80211_set_channel()
1980 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &chandef, iftype)) { in __nl80211_set_channel()
2041 if (wdev->iftype != NL80211_IFTYPE_WDS) in nl80211_set_wds_peer()
2116 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_wiphy()
2117 netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_wiphy()
2354 nla_put_u32(msg, NL80211_ATTR_IFTYPE, wdev->iftype) || in nl80211_send_iface()
2479 enum nl80211_iftype iftype) in nl80211_valid_4addr() argument
2487 switch (iftype) { in nl80211_valid_4addr()
2515 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface()
3095 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_mac_acl()
3096 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_mac_acl()
3177 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_get_ap_channel()
3178 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_get_ap_channel()
3224 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_start_ap()
3225 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
3304 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
3318 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_start_ap()
3339 wdev->iftype)) in nl80211_start_ap()
3395 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_beacon()
3396 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_beacon()
3434 enum nl80211_iftype iftype, in parse_station_flags() argument
3475 switch (iftype) { in parse_station_flags()
4006 if (v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && in get_vlan()
4007 v->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in get_vlan()
4008 v->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) { in get_vlan()
4166 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_set_station()
4204 switch (dev->ieee80211_ptr->iftype) { in nl80211_set_station()
4311 if (parse_station_flags(info, dev->ieee80211_ptr->iftype, ¶ms)) in nl80211_new_station()
4327 switch (dev->ieee80211_ptr->iftype) { in nl80211_new_station()
4415 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_del_station()
4416 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && in nl80211_del_station()
4417 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT && in nl80211_del_station()
4418 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_del_station()
4500 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) { in nl80211_dump_mpath()
4551 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mpath()
4590 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_mpath()
4615 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_new_mpath()
4676 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
4690 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
4704 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in nl80211_set_bss()
4705 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_set_bss()
4812 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_get_mesh_config()
5155 if (wdev->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_update_mesh_config()
5904 wdev->iftype); in nl80211_start_radar_detection()
5952 switch (dev->ieee80211_ptr->iftype) { in nl80211_channel_switch()
6069 wdev->iftype)) in nl80211_channel_switch()
6074 wdev->iftype); in nl80211_channel_switch()
6180 switch (wdev->iftype) { in nl80211_send_bss()
6436 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_authenticate()
6437 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_authenticate()
6590 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_associate()
6591 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_associate()
6693 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_deauthenticate()
6694 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_deauthenticate()
6740 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disassociate()
6741 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disassociate()
6824 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_join_ibss()
6935 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC) in nl80211_leave_ibss()
6949 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_ADHOC && in nl80211_set_mcast_rate()
6950 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_mcast_rate()
7231 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_connect()
7232 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_connect()
7352 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_disconnect()
7353 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_disconnect()
7407 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_setdel_pmksa()
7408 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_setdel_pmksa()
7434 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION && in nl80211_flush_pmksa()
7435 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_flush_pmksa()
7831 switch (wdev->iftype) { in nl80211_register_mgmt()
7874 switch (wdev->iftype) { in nl80211_tx_mgmt()
7993 switch (wdev->iftype) { in nl80211_tx_mgmt_cancel_wait()
8111 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_txe()
8112 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_txe()
8135 if (wdev->iftype != NL80211_IFTYPE_STATION && in nl80211_set_cqm_rssi()
8136 wdev->iftype != NL80211_IFTYPE_P2P_CLIENT) in nl80211_set_cqm_rssi()
9049 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_register_unexpected_frame()
9050 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_register_unexpected_frame()
9072 if (wdev->iftype != NL80211_IFTYPE_AP && in nl80211_probe_client()
9073 wdev->iftype != NL80211_IFTYPE_P2P_GO) in nl80211_probe_client()
9156 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_start_p2p_device()
9180 if (wdev->iftype != NL80211_IFTYPE_P2P_DEVICE) in nl80211_stop_p2p_device()
9502 switch (wdev->iftype) { in nl80211_add_tx_ts()
10892 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_MESH_POINT)) in cfg80211_notify_new_peer_candidate()
11230 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_spurious_frame()
11231 wdev->iftype != NL80211_IFTYPE_P2P_GO)) { in cfg80211_rx_spurious_frame()
11250 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_rx_unexpected_4addr_frame()
11251 wdev->iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_rx_unexpected_4addr_frame()
11252 wdev->iftype != NL80211_IFTYPE_AP_VLAN)) { in cfg80211_rx_unexpected_4addr_frame()
11556 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_AP && in cfg80211_ch_switch_notify()
11557 wdev->iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ch_switch_notify()
11558 wdev->iftype != NL80211_IFTYPE_ADHOC && in cfg80211_ch_switch_notify()
11559 wdev->iftype != NL80211_IFTYPE_MESH_POINT)) in cfg80211_ch_switch_notify()