Home | History | Annotate | Download | only in drivers

Lines Matching defs:nlmode

229 	enum nl80211_iftype nlmode;
289 enum nl80211_iftype nlmode);
354 static int is_ap_interface(enum nl80211_iftype nlmode)
356 return (nlmode == NL80211_IFTYPE_AP ||
357 nlmode == NL80211_IFTYPE_P2P_GO);
361 static int is_sta_interface(enum nl80211_iftype nlmode)
363 return (nlmode == NL80211_IFTYPE_STATION ||
364 nlmode == NL80211_IFTYPE_P2P_CLIENT);
368 static int is_p2p_interface(enum nl80211_iftype nlmode)
370 return (nlmode == NL80211_IFTYPE_P2P_CLIENT ||
371 nlmode == NL80211_IFTYPE_P2P_GO);
1255 if (!is_ap_interface(drv->nlmode)) {
1876 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) {
1888 if (drv->nlmode != NL80211_IFTYPE_ADHOC)
1909 if (is_ap_interface(drv->nlmode) && drv->device_ap_sme) {
1914 if (drv->nlmode != NL80211_IFTYPE_ADHOC)
3335 if (is_ap_interface(drv->nlmode))
3489 if (is_ap_interface(drv->nlmode)) {
3499 wpa_driver_nl80211_set_mode(bss, drv->nlmode);
3504 drv->ap_scan_as_station = drv->nlmode;
3937 if (is_sta_interface(drv->nlmode) &&
3955 if (is_sta_interface(drv->nlmode) &&
3961 } else if (is_sta_interface(drv->nlmode) &&
4157 if (is_ap_interface(drv->nlmode) && addr &&
4382 if (drv->nlmode == NL80211_IFTYPE_ADHOC)
4457 enum nl80211_iftype nlmode;
4467 nlmode = params->p2p ?
4469 if (drv->nlmode != nlmode &&
4470 wpa_driver_nl80211_set_mode(priv, nlmode) < 0)
5176 if (is_sta_interface(drv->nlmode) &&
5191 if (drv->device_ap_sme && is_ap_interface(drv->nlmode)) {
6361 enum nl80211_iftype nlmode;
6366 nlmode = NL80211_IFTYPE_P2P_GO;
6368 nlmode = NL80211_IFTYPE_AP;
6370 if (wpa_driver_nl80211_set_mode(&drv->first_bss, nlmode) ||
6738 enum nl80211_iftype nlmode = params->p2p ?
6741 if (wpa_driver_nl80211_set_mode(priv, nlmode) < 0)
6903 enum nl80211_iftype nlmode)
6908 int was_ap = is_ap_interface(drv->nlmode);
6911 res = nl80211_set_mode(drv, drv->ifindex, nlmode);
6913 drv->nlmode = nlmode;
6921 if (nlmode == drv->nlmode) {
6942 ret = nl80211_set_mode(drv, drv->ifindex, nlmode);
6960 drv->nlmode = nlmode;
6967 "from %d failed", nlmode, drv->nlmode);
6971 if (is_ap_interface(nlmode)) {
6983 if (!is_ap_interface(nlmode) &&
7626 drv->nlmode = NL80211_IFTYPE_AP;
7665 if (wpa_driver_nl80211_set_mode(bss, drv->nlmode)) {
8037 if (is_ap_interface(drv->nlmode))
8164 is_ap_interface(drv->nlmode)) {
8265 if (!is_ap_interface(drv->nlmode))
8400 (!driver->associated && !is_ap_interface(driver->nlmode)))
8411 if(is_ap_interface(driver->nlmode))