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:
Jouni Malinen 2014-12-09 01:19:20 +02:00 committed by Jouni Malinen
parent c703a1da70
commit 1f90dfd2cd

View file

@ -561,8 +561,9 @@ static void mlme_event_mgmt(struct i802_bss *bss,
}
wpa_printf(MSG_DEBUG,
"nl80211: RX frame sa=" MACSTR
" freq=%d ssi_signal=%d stype=%u (%s) len=%u",
MAC2STR(mgmt->sa), rx_freq, ssi_signal, stype, fc2str(fc),
" freq=%d ssi_signal=%d fc=0x%x seq_ctrl=0x%x stype=%u (%s) len=%u",
MAC2STR(mgmt->sa), rx_freq, ssi_signal, fc,
le_to_host16(mgmt->seq_ctrl), stype, fc2str(fc),
(unsigned int) len);
event.rx_mgmt.frame = frame;
event.rx_mgmt.frame_len = len;