diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-26 17:53:18 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:54:18 -0700 |
commit | 58d4185e36913d4fc94afa4b4daccb3c9aa01957 (patch) | |
tree | 77d2e8e423652f5bbf2e29e8c0b3e0aeb7858b9f /net/mac80211/ieee80211_i.h | |
parent | 628a140ba033ef201706a8c7e767c8a0c0f8326c (diff) | |
download | kernel_samsung_smdk4412-58d4185e36913d4fc94afa4b4daccb3c9aa01957.zip kernel_samsung_smdk4412-58d4185e36913d4fc94afa4b4daccb3c9aa01957.tar.gz kernel_samsung_smdk4412-58d4185e36913d4fc94afa4b4daccb3c9aa01957.tar.bz2 |
[MAC80211]: improve radiotap injection
This improves radiotap injection by removing the shortcut over TX handlers
that led to BUGS when injecting frames without setting a rate and also
resulted in various other quirks. Now, TX handlers are run but some
information that was present in the radiotap header is used instead of
automatic settings.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Andy Green <andy@warmcat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index d24b057..0fe0777 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -122,6 +122,7 @@ typedef enum { #define IEEE80211_TXRXD_RXIN_SCAN BIT(4) /* frame is destined to interface currently processed (incl. multicast frames) */ #define IEEE80211_TXRXD_RXRA_MATCH BIT(5) +#define IEEE80211_TXRXD_TX_INJECTED BIT(6) struct ieee80211_txrx_data { struct sk_buff *skb; struct net_device *dev; |