forked from osmocom/wireshark
And that also means that we need to split the data rate from the
pseudo-header into two bytes and fill in both the rate and direction fields when writing CommView NCF files out. svn path=/trunk/; revision=45507
This commit is contained in:
parent
10b89e0430
commit
a2c64e173e
|
@ -358,7 +358,8 @@ static gboolean commview_dump(wtap_dumper *wdh,
|
|||
cv_hdr.flags |= MEDIUM_WIFI;
|
||||
|
||||
cv_hdr.channel = pseudo_header->ieee_802_11.channel;
|
||||
cv_hdr.rate = pseudo_header->ieee_802_11.data_rate;
|
||||
cv_hdr.rate = (guint8)(pseudo_header->ieee_802_11.data_rate & 0xFF);
|
||||
cv_hdr.direction = (guint8)((pseudo_header->ieee_802_11.data_rate >> 8) & 0xFF);
|
||||
cv_hdr.signal_level_percent = pseudo_header->ieee_802_11.signal_level;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue