Searched refs:nlmode (Results 1 – 8 of 8) sorted by relevance
263 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument265 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() argument272 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() argument279 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 …]
133 enum nl80211_iftype nlmode; member245 int is_ap_interface(enum nl80211_iftype nlmode);246 int is_sta_interface(enum nl80211_iftype nlmode);254 enum nl80211_iftype nlmode);
371 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()
686 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()
226 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument228 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() argument235 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() argument242 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 …]
136 enum nl80211_iftype nlmode; member268 int is_ap_interface(enum nl80211_iftype nlmode);269 int is_sta_interface(enum nl80211_iftype nlmode);277 enum nl80211_iftype nlmode);
237 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()
866 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()