IEEE80211_MAX_AID has been renamed to IEEE80211_AID_MAX.

This commit is contained in:
mycroft 2004-07-23 05:33:41 +00:00
parent de64f03a72
commit c3138ef3da
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee80211.c,v 1.23 2004/07/22 14:44:17 mycroft Exp $ */
/* $NetBSD: ieee80211.c,v 1.24 2004/07/23 05:33:41 mycroft Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@ -35,7 +35,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211.c,v 1.11 2004/04/02 20:19:20 sam Exp $");
#else
__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.23 2004/07/22 14:44:17 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: ieee80211.c,v 1.24 2004/07/23 05:33:41 mycroft Exp $");
#endif
/*
@ -404,7 +404,7 @@ ieee80211_media_init(struct ifnet *ifp,
ifp->if_baudrate = IF_Mbps(maxrate);
if (ic->ic_max_aid == 0)
ic->ic_max_aid = IEEE80211_MAX_AID;
ic->ic_max_aid = IEEE80211_AID_MAX;
#undef ADD
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee80211_var.h,v 1.9 2004/07/16 02:57:32 dyoung Exp $ */
/* $NetBSD: ieee80211_var.h,v 1.10 2004/07/23 05:33:41 mycroft Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@ -132,7 +132,7 @@ struct ieee80211com {
enum ieee80211_phytype ic_phytype; /* XXX wrong for multi-mode */
enum ieee80211_opmode ic_opmode; /* operation mode */
enum ieee80211_state ic_state; /* 802.11 state */
u_int32_t ic_aid_bitmap[IEEE80211_MAX_AID / 32 + 1];
u_int32_t ic_aid_bitmap[IEEE80211_AID_MAX / 32 + 1];
u_int16_t ic_max_aid;
enum ieee80211_protmode ic_protmode; /* 802.11g protection mode */
struct ifmedia ic_media; /* interface media config */