nl80211: Add more address fields into RX frame debug message
This makes it easier to debug issues related to Public Action frame addressing. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
cd18ec3b0a
commit
b9ca12a911
1 changed files with 3 additions and 2 deletions
|
@ -572,9 +572,10 @@ static void mlme_event_mgmt(struct i802_bss *bss,
|
||||||
rx_freq = drv->last_mgmt_freq = event.rx_mgmt.freq;
|
rx_freq = drv->last_mgmt_freq = event.rx_mgmt.freq;
|
||||||
}
|
}
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"nl80211: RX frame sa=" MACSTR
|
"nl80211: RX frame da=" MACSTR " sa=" MACSTR " bssid=" MACSTR
|
||||||
" freq=%d ssi_signal=%d fc=0x%x seq_ctrl=0x%x 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, fc,
|
MAC2STR(mgmt->da), MAC2STR(mgmt->sa), MAC2STR(mgmt->bssid),
|
||||||
|
rx_freq, ssi_signal, fc,
|
||||||
le_to_host16(mgmt->seq_ctrl), stype, fc2str(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;
|
||||||
|
|
Loading…
Reference in a new issue