[WIRELESS] radiotap parser: accept all other fields
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 13 Aug 2007 12:04:30 +0000 (14:04 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:43 +0000 (16:47 -0700)
This makes the radiotap parser accept all other fields that are
currently defined.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/radiotap.c

index 68c11d0999175f2e7a2414f7346d1ad8c5929872..28fbd0b0b5688c23462641d9eeb5f918ae93be9c 100644 (file)
@@ -161,7 +161,11 @@ int ieee80211_radiotap_iterator_next(
                [IEEE80211_RADIOTAP_DBM_TX_POWER] = 0x11,
                [IEEE80211_RADIOTAP_ANTENNA] = 0x11,
                [IEEE80211_RADIOTAP_DB_ANTSIGNAL] = 0x11,
-               [IEEE80211_RADIOTAP_DB_ANTNOISE] = 0x11
+               [IEEE80211_RADIOTAP_DB_ANTNOISE] = 0x11,
+               [IEEE80211_RADIOTAP_RX_FLAGS] = 0x22,
+               [IEEE80211_RADIOTAP_TX_FLAGS] = 0x22,
+               [IEEE80211_RADIOTAP_RTS_RETRIES] = 0x11,
+               [IEEE80211_RADIOTAP_DATA_RETRIES] = 0x11,
                /*
                 * add more here as they are defined in
                 * include/net/ieee80211_radiotap.h