Add the MCS radiotype entry.
This commit is contained in:
parent
9de091f2ef
commit
d8f609a98e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229952
@ -325,6 +325,10 @@ radiotap_offset(struct ieee80211_radiotap_header *rh, int item)
|
||||
.align = sizeof(uint32_t),
|
||||
.width = 2*sizeof(uint32_t),
|
||||
},
|
||||
[IEEE80211_RADIOTAP_MCS] = {
|
||||
.align = sizeof(uint8_t),
|
||||
.width = 3*sizeof(uint8_t),
|
||||
},
|
||||
};
|
||||
uint32_t present = le32toh(rh->it_present);
|
||||
int off, i;
|
||||
|
@ -190,6 +190,7 @@ enum ieee80211_radiotap_type {
|
||||
IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
|
||||
/* NB: gap for netbsd definitions */
|
||||
IEEE80211_RADIOTAP_XCHANNEL = 18,
|
||||
IEEE80211_RADIOTAP_MCS = 19,
|
||||
IEEE80211_RADIOTAP_VENDOREXT = 30,
|
||||
IEEE80211_RADIOTAP_EXT = 31,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user