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.c224 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument
226 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()
227 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()
231 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument
233 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()
234 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()
238 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument
240 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()
241 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()
259 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument
[all …]
Ddriver_nl80211.h132 enum nl80211_iftype nlmode; member
265 int is_ap_interface(enum nl80211_iftype nlmode);
266 int is_sta_interface(enum nl80211_iftype nlmode);
274 enum nl80211_iftype nlmode);
Ddriver_nl80211_scan.c237 if (!drv->hostapd && is_ap_interface(drv->nlmode)) { in nl80211_scan_common()
374 if (drv->hostapd && is_ap_interface(drv->nlmode)) { in wpa_driver_nl80211_scan()
375 enum nl80211_iftype old_mode = drv->nlmode; in wpa_driver_nl80211_scan()
886 if (is_sta_interface(drv->nlmode) && !drv->associated) { in nl80211_check_bss_status()
890 } else if (is_sta_interface(drv->nlmode) && in nl80211_check_bss_status()
Ddriver_nl80211_event.c830 if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
842 } else if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
1279 if (!is_ap_interface(drv->nlmode)) in mlme_event_dh_event()
1487 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()
1515 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()
1527 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()
1549 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()
1554 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()