mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
nl80211: Add frame control and sequence control field in RX frame debug
This makes it easier to debug issues related to duplicated management frames on receive path. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c703a1da70
commit
1f90dfd2cd
@ -561,8 +561,9 @@ static void mlme_event_mgmt(struct i802_bss *bss,
|
|||||||
}
|
}
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"nl80211: RX frame sa=" MACSTR
|
"nl80211: RX frame sa=" MACSTR
|
||||||
" freq=%d ssi_signal=%d stype=%u (%s) len=%u",
|
" freq=%d ssi_signal=%d fc=0x%x seq_ctrl=0x%x stype=%u (%s) len=%u",
|
||||||
MAC2STR(mgmt->sa), rx_freq, ssi_signal, stype, fc2str(fc),
|
MAC2STR(mgmt->sa), rx_freq, ssi_signal, fc,
|
||||||
|
le_to_host16(mgmt->seq_ctrl), stype, fc2str(fc),
|
||||||
(unsigned int) len);
|
(unsigned int) len);
|
||||||
event.rx_mgmt.frame = frame;
|
event.rx_mgmt.frame = frame;
|
||||||
event.rx_mgmt.frame_len = len;
|
event.rx_mgmt.frame_len = len;
|
||||||
|
Loading…
Reference in New Issue
Block a user