Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2024 19:31:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 272732] hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R
Message-ID:  <bug-272732-21060-vNYa37Rr70@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272732-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272732-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272732

--- 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-compi=
le
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         =3D 0x00000001,   /* basic xmit operation */



With that a sysctl dev.rtwn.0.debug should show up which one can set accord=
ing
to the values in the  if_rtwn_debug.h file to gather more data;  I would st=
art
with

sysctl dev.rtwn.0.debug=3D0x101   # BEACON | TX

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272732-21060-vNYa37Rr70>