Searched refs:nlmode (Results 1 – 4 of 4) sorted by relevance
233 int is_ap_interface(enum nl80211_iftype nlmode) in is_ap_interface() argument235 return nlmode == NL80211_IFTYPE_AP || in is_ap_interface()236 nlmode == NL80211_IFTYPE_P2P_GO; in is_ap_interface()240 int is_sta_interface(enum nl80211_iftype nlmode) in is_sta_interface() argument242 return nlmode == NL80211_IFTYPE_STATION || in is_sta_interface()243 nlmode == NL80211_IFTYPE_P2P_CLIENT; in is_sta_interface()247 static int is_p2p_net_interface(enum nl80211_iftype nlmode) in is_p2p_net_interface() argument249 return nlmode == NL80211_IFTYPE_P2P_CLIENT || in is_p2p_net_interface()250 nlmode == NL80211_IFTYPE_P2P_GO; in is_p2p_net_interface()268 static int is_mesh_interface(enum nl80211_iftype nlmode) in is_mesh_interface() argument[all …]
125 enum nl80211_iftype nlmode; member240 int is_ap_interface(enum nl80211_iftype nlmode);241 int is_sta_interface(enum nl80211_iftype nlmode);249 enum nl80211_iftype nlmode);
355 if (drv->hostapd && is_ap_interface(drv->nlmode)) { in wpa_driver_nl80211_scan()356 enum nl80211_iftype old_mode = drv->nlmode; in wpa_driver_nl80211_scan()843 if (is_sta_interface(drv->nlmode) && !drv->associated) { in nl80211_check_bss_status()847 } else if (is_sta_interface(drv->nlmode) && in nl80211_check_bss_status()
650 if (!is_ap_interface(drv->nlmode)) { in mlme_event_mgmt_tx_status()1256 if (drv->nlmode != NL80211_IFTYPE_MESH_POINT || in nl80211_new_peer_candidate()1284 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_new_station_event()1296 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_new_station_event()1318 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) { in nl80211_del_station_event()1323 if (drv->nlmode != NL80211_IFTYPE_ADHOC) in nl80211_del_station_event()