Searched refs:nlmode (Results 1 – 4 of 4) sorted by relevance
228 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument230 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()231 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()235 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument237 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()238 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()242 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument244 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()245 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()263 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument[all …]
150 enum nl80211_iftype nlmode; member321 int is_ap_interface(enum nl80211_iftype nlmode);322 int is_sta_interface(enum nl80211_iftype nlmode);331 enum nl80211_iftype nlmode);
251 if (!drv->hostapd && is_ap_interface(drv->nlmode)) { in nl80211_scan_common()404 if (drv->hostapd && is_ap_interface(drv->nlmode)) { in wpa_driver_nl80211_scan()409 drv->ap_scan_as_station = drv->nlmode; in wpa_driver_nl80211_scan()920 if (is_sta_interface(drv->nlmode) && !drv->associated) { in nl80211_check_bss_status()924 } else if (is_sta_interface(drv->nlmode) && in nl80211_check_bss_status()1273 if (is_ap_interface(drv->nlmode) && in wpa_driver_nl80211_vendor_scan()
1286 if (link && is_sta_interface(drv->nlmode)) { in mlme_event_ch_switch()1416 if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()1428 } else if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()1923 if (!is_ap_interface(drv->nlmode)) in mlme_event_dh_event()2160 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()2189 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()2237 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()2259 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()2264 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()3564 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_port_authorized()[all …]