-/* $OpenBSD: ieee80211.c,v 1.69 2018/07/11 21:18:23 nayden Exp $ */
+/* $OpenBSD: ieee80211.c,v 1.70 2018/09/11 18:16:26 krw Exp $ */
/* $NetBSD: ieee80211.c,v 1.19 2004/06/06 05:45:29 dyoung Exp $ */
/*-
int ieee80211_cache_size = IEEE80211_CACHE_SIZE;
-struct ieee80211com_head ieee80211com_head =
- LIST_HEAD_INITIALIZER(ieee80211com_head);
-
void ieee80211_setbasicrates(struct ieee80211com *);
int ieee80211_findrate(struct ieee80211com *, enum ieee80211_phymode, int);
ic->ic_bmissthres = 7; /* default 7 beacons */
ic->ic_dtim_period = 1; /* all TIMs are DTIMs */
- LIST_INSERT_HEAD(&ieee80211com_head, ic, ic_list);
ieee80211_node_attach(ifp);
ieee80211_proto_attach(ifp);
ieee80211_proto_detach(ifp);
ieee80211_crypto_detach(ifp);
ieee80211_node_detach(ifp);
- LIST_REMOVE(ic, ic_list);
ifmedia_delete_instance(&ic->ic_media, IFM_INST_ANY);
ether_ifdetach(ifp);
}
-/* $OpenBSD: ieee80211_var.h,v 1.90 2018/09/10 08:26:39 phessler Exp $ */
+/* $OpenBSD: ieee80211_var.h,v 1.91 2018/09/11 18:16:26 krw Exp $ */
/* $NetBSD: ieee80211_var.h,v 1.7 2004/05/06 03:07:10 dyoung Exp $ */
/*-
#define ic_if ic_ac.ac_if
#define ic_softc ic_if.if_softc
-LIST_HEAD(ieee80211com_head, ieee80211com);
-extern struct ieee80211com_head ieee80211com_head;
-
/* list of APs we want to automatically use */
/* all data is copied from struct ieee80211com */
struct ieee80211_ess {