Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/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.h133 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.c686 if (!is_ap_interface(drv->nlmode)) { in mlme_event_mgmt_tx_status()
1115 if (!is_ap_interface(drv->nlmode)) in mlme_event_dh_event()
1316 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()
1344 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()
1356 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()
1378 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()
1383 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.c226 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument
228 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()
229 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()
233 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument
235 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()
236 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()
240 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument
242 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()
243 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()
261 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument
[all …]
Ddriver_nl80211.h136 enum nl80211_iftype nlmode; member
268 int is_ap_interface(enum nl80211_iftype nlmode);
269 int is_sta_interface(enum nl80211_iftype nlmode);
277 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.c866 if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
878 } else if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
1316 if (!is_ap_interface(drv->nlmode)) in mlme_event_dh_event()
1524 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()
1552 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()
1564 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()
1592 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()
1597 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()