Home | History | Annotate | Download | only in drivers

Lines Matching refs:ifidx

221 static void add_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx);
222 static void del_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx);
223 static int have_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx);
228 static int have_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx)
3957 int ifidx)
3961 wpa_printf(MSG_DEBUG, "nl80211: Remove interface ifindex=%d", ifidx);
3965 del_ifidx(drv, ifidx);
3974 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifidx);
3979 wpa_printf(MSG_ERROR, "Failed to remove interface (ifidx=%d)", ifidx);
3989 int ifidx;
4029 ifidx = if_nametoindex(ifname);
4031 ifname, ifidx);
4033 if (ifidx <= 0)
4038 add_ifidx(drv, ifidx);
4043 nl80211_remove_iface(drv, ifidx);
4047 return ifidx;
5648 static void add_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx)
5654 ifidx);
5657 drv->if_indices[i] = ifidx;
5676 wpa_printf(MSG_ERROR, "Ignoring EAPOL on interface %d", ifidx);
5681 drv->if_indices[drv->num_if_indices] = ifidx;
5686 static void del_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx)
5691 if (drv->if_indices[i] == ifidx) {
5699 static int have_ifidx(struct wpa_driver_nl80211_data *drv, int ifidx)
5704 if (drv->if_indices[i] == ifidx)
5992 int ifidx;
6005 ifidx = nl80211_create_iface(drv, ifname,
6008 if (ifidx < 0) {
6017 nl80211_remove_iface(drv, ifidx);
6032 nl80211_remove_iface(drv, ifidx);
6039 nl80211_remove_iface(drv, ifidx);
6044 nl80211_remove_iface(drv, ifidx);
6057 nl80211_remove_iface(drv, ifidx);
6064 nl80211_remove_iface(drv, ifidx);
6069 new_bss->ifindex = ifidx;