[Bug 272732] hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R
Date: Sat, 09 Mar 2024 19:31:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272732
--- Comment #9 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
Given it's USB you get the information with
usbconfig -d 2.4 dump_device_desc
but the sysctl has most of that.
The problem seems to be:
rtwn_tx_beacon_check: cannot push beacon into chip, error 60!
which comes from sys/dev/rtwn/if_rtwn_beacon.c
I would try to start enabling debug in the driver (and you need to re-compile
your kernel again and install it afterwards):
diff --git sys/dev/rtwn/if_rtwn_debug.h sys/dev/rtwn/if_rtwn_debug.h
index fa1b50b551b5..67d4ed1c60b9 100644
--- sys/dev/rtwn/if_rtwn_debug.h
+++ sys/dev/rtwn/if_rtwn_debug.h
@@ -23,6 +23,7 @@
#include "opt_rtwn.h"
+#define RTWN_DEBUG
#ifdef RTWN_DEBUG
enum {
RTWN_DEBUG_XMIT = 0x00000001, /* basic xmit operation */
With that a sysctl dev.rtwn.0.debug should show up which one can set according
to the values in the if_rtwn_debug.h file to gather more data; I would start
with
sysctl dev.rtwn.0.debug=0x101 # BEACON | TX
--
You are receiving this mail because:
You are the assignee for the bug.