Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.c232 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument
234 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()
235 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()
239 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument
241 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()
242 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()
246 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument
248 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()
249 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()
274 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument
[all …]
H A Ddriver_nl80211.h175 enum nl80211_iftype nlmode; member
370 int is_ap_interface(enum nl80211_iftype nlmode);
371 int is_sta_interface(enum nl80211_iftype nlmode);
379 enum nl80211_iftype nlmode);
H A Ddriver_nl80211_scan.c271 if (!drv->hostapd && is_ap_interface(drv->nlmode)) { in nl80211_scan_common()
274 } else if (drv->support_ap_scan && is_ap_interface(drv->nlmode) && in nl80211_scan_common()
431 drv->hostapd && is_ap_interface(drv->nlmode)) { in wpa_driver_nl80211_scan()
444 drv->ap_scan_as_station = drv->nlmode; in wpa_driver_nl80211_scan()
479 if (is_ap_interface(drv->nlmode) && in wpa_driver_nl80211_scan()
964 if (is_sta_interface(drv->nlmode) && !drv->associated) { in nl80211_check_bss_status()
968 } else if (is_sta_interface(drv->nlmode) && in nl80211_check_bss_status()
1318 if (is_ap_interface(drv->nlmode) && in wpa_driver_nl80211_vendor_scan()
H A Ddriver_nl80211_event.c1371 if (link && is_sta_interface(drv->nlmode)) { in mlme_event_ch_switch()
1388 if (link && is_ap_interface(drv->nlmode) && in mlme_event_ch_switch()
1526 if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
1539 if ((drv->nlmode == NL80211_IFTYPE_NAN || in mlme_event_mgmt_tx_status()
1540 drv->nlmode == NL80211_IFTYPE_NAN_DATA) && in mlme_event_mgmt_tx_status()
1565 } else if (!is_ap_interface(drv->nlmode) && in mlme_event_mgmt_tx_status()
2139 if (!is_ap_interface(drv->nlmode)) in mlme_event_dh_event()
2261 if (is_ap_interface(drv->nlmode)) { in send_scan_event()
2396 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()
2425 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()
[all …]