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
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue