Home
last modified time | relevance | path

Searched refs:nlmode (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c263 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument
265 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()
266 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()
270 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument
272 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()
273 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()
277 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument
279 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()
280 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()
298 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument
[all …]
Ddriver_nl80211.h127 enum nl80211_iftype nlmode; member
245 int is_ap_interface(enum nl80211_iftype nlmode);
246 int is_sta_interface(enum nl80211_iftype nlmode);
254 enum nl80211_iftype nlmode);
Ddriver_nl80211_scan.c371 if (drv->hostapd && is_ap_interface(drv->nlmode)) { in wpa_driver_nl80211_scan()
372 enum nl80211_iftype old_mode = drv->nlmode; in wpa_driver_nl80211_scan()
883 if (is_sta_interface(drv->nlmode) && !drv->associated) { in nl80211_check_bss_status()
887 } else if (is_sta_interface(drv->nlmode) && in nl80211_check_bss_status()
Ddriver_nl80211_event.c681 if (!is_ap_interface(drv->nlmode)) { in mlme_event_mgmt_tx_status()
1288 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()
1316 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()
1328 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()
1350 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()
1355 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()