summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/radiotap.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2015-11-17 21:07:19 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-11-18 14:28:30 +0200
commitf988d64010ec058a206dce083b5c791ce09caa48 (patch)
treec9f55006dfb8662409e92a9b1122ef114becf99c /drivers/net/wireless/libertas/radiotap.h
parente705c12146aa9c69ca498d4ebb83ba7138f9b41f (diff)
downloadlwn-f988d64010ec058a206dce083b5c791ce09caa48.tar.gz
lwn-f988d64010ec058a206dce083b5c791ce09caa48.zip
libertas: move under marvell vendor directory
Part of reorganising wireless drivers directory and Kconfig. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/libertas/radiotap.h')
-rw-r--r--drivers/net/wireless/libertas/radiotap.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/drivers/net/wireless/libertas/radiotap.h b/drivers/net/wireless/libertas/radiotap.h
deleted file mode 100644
index b3c8ea6d610e..000000000000
--- a/drivers/net/wireless/libertas/radiotap.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#include <net/ieee80211_radiotap.h>
-
-struct tx_radiotap_hdr {
- struct ieee80211_radiotap_header hdr;
- u8 rate;
- u8 txpower;
- u8 rts_retries;
- u8 data_retries;
-} __packed;
-
-#define TX_RADIOTAP_PRESENT ( \
- (1 << IEEE80211_RADIOTAP_RATE) | \
- (1 << IEEE80211_RADIOTAP_DBM_TX_POWER) | \
- (1 << IEEE80211_RADIOTAP_RTS_RETRIES) | \
- (1 << IEEE80211_RADIOTAP_DATA_RETRIES) | \
- 0)
-
-#define IEEE80211_FC_VERSION_MASK 0x0003
-#define IEEE80211_FC_TYPE_MASK 0x000c
-#define IEEE80211_FC_TYPE_MGT 0x0000
-#define IEEE80211_FC_TYPE_CTL 0x0004
-#define IEEE80211_FC_TYPE_DATA 0x0008
-#define IEEE80211_FC_SUBTYPE_MASK 0x00f0
-#define IEEE80211_FC_TOFROMDS_MASK 0x0300
-#define IEEE80211_FC_TODS_MASK 0x0100
-#define IEEE80211_FC_FROMDS_MASK 0x0200
-#define IEEE80211_FC_NODS 0x0000
-#define IEEE80211_FC_TODS 0x0100
-#define IEEE80211_FC_FROMDS 0x0200
-#define IEEE80211_FC_DSTODS 0x0300
-
-struct rx_radiotap_hdr {
- struct ieee80211_radiotap_header hdr;
- u8 flags;
- u8 rate;
- u8 antsignal;
-} __packed;
-
-#define RX_RADIOTAP_PRESENT ( \
- (1 << IEEE80211_RADIOTAP_FLAGS) | \
- (1 << IEEE80211_RADIOTAP_RATE) | \
- (1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL) |\
- 0)
-