Parcourir la source

nl80211: Add more debug info on NL80211_CMD_FRAME uses

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen il y a 13 ans
Parent
commit
2e3e456623
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/drivers/driver_nl80211.c

+ 3 - 0
src/drivers/driver_nl80211.c

@@ -8005,6 +8005,9 @@ static int nl80211_send_frame_cmd(struct i802_bss *bss,
 	if (!msg)
 		return -1;
 
+	wpa_printf(MSG_DEBUG, "nl80211: CMD_FRAME freq=%u wait=%u no_cck=%d "
+		   "no_ack=%d offchanok=%d",
+		   freq, wait, no_cck, no_ack, offchanok);
 	nl80211_cmd(drv, msg, 0, NL80211_CMD_FRAME);
 
 	NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, bss->ifindex);