aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ieee80211.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-06-27 22:49:47 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 22:49:47 -0400
commit245ac8738b0b840552d56b842e70e750d65911cc (patch)
tree2609d6b0a8c603804d71aed65d7f74097ebe0e58 /include/net/ieee80211.h
parent716b43303df605510399d6da0d0dd4e2ea376e7c (diff)
parenta5fe736eaf9bae1b45317313de04b564441b94f2 (diff)
Merge upstream net/ieee80211.h changes into 'ieee80211' branch.
Diffstat (limited to 'include/net/ieee80211.h')
-rw-r--r--include/net/ieee80211.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h
index f1d9b9e9dec7..065b702df563 100644
--- a/include/net/ieee80211.h
+++ b/include/net/ieee80211.h
@@ -625,17 +625,6 @@ enum ieee80211_state {
625#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5] 625#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]
626 626
627 627
628extern inline int is_multicast_ether_addr(const u8 *addr)
629{
630 return ((addr[0] != 0xff) && (0x01 & addr[0]));
631}
632
633extern inline int is_broadcast_ether_addr(const u8 *addr)
634{
635 return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) && \
636 (addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
637}
638
639#define CFG_IEEE80211_RESERVE_FCS (1<<0) 628#define CFG_IEEE80211_RESERVE_FCS (1<<0)
640#define CFG_IEEE80211_COMPUTE_FCS (1<<1) 629#define CFG_IEEE80211_COMPUTE_FCS (1<<1)
641 630