Make ieee80211broadcastaddr global, so that drivers or other

code may use it and not paste.
This commit is contained in:
Gleb Smirnoff 2015-05-26 12:40:27 +00:00
parent 7fc10b6b41
commit 92002144c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283566
2 changed files with 5 additions and 1 deletions

View File

@ -82,7 +82,7 @@ const int ieee80211_opcap[IEEE80211_OPMODE_MAX] = {
#endif
};
static const uint8_t ieee80211broadcastaddr[IEEE80211_ADDR_LEN] =
const uint8_t ieee80211broadcastaddr[IEEE80211_ADDR_LEN] =
{ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
static void ieee80211_syncflag_locked(struct ieee80211com *ic, int flag);

View File

@ -36,6 +36,10 @@
/* is 802.11 address multicast/broadcast? */
#define IEEE80211_IS_MULTICAST(_a) (*(_a) & 0x01)
#ifdef _KERNEL
extern const uint8_t ieee80211broadcastaddr[];
#endif
typedef uint16_t ieee80211_seq;
/* IEEE 802.11 PLCP header */