Crossposting on misc aswell

2024. máj. 7. 14:50:33 Mizsei Zoltán <zmiz...@extrowerk.com>:


Hi,

I have a so called "Tenda 300Mbps Mini Wireless N Adapter" (this is not the 
terribly small one). It reports itself as:

urtwn0 at uhub0 port 2 configuration 1 interface 0 "Realtek 802.11n NIC" rev 
2.10/2.00 addr 2
urtwn0: MAC/BB RTL8192EU, RF 6052 2T2R, address 50:2b:73:c9:11:00

It associates sucessfully with the AP, but it can't reliaby communicate because 
OBSD reports 98% packet loss. However the same adapter works just fine with the 
same router on the same machine using NetBSD.

NetBSD reports:
[     1.809012] urtwn0 at uhub3 port 1
[     1.809012] urtwn0: Realtek (0x0bda) 802.11n NIC (0x818b), rev 2.10/2.00, 
addr 1
[     1.859025] urtwn0: MAC/BB RTL8192EU, RF 6052 2T2R, address 
50:2b:73:c9:11:00
[     1.869029] urtwn0: 1 rx pipe, 3 tx pipes

Interestingly OpenBSD thinks it is 2T2R while NBSD says it is 3T1R. <- maybe a 
bug?

This is the firmware from OpenBSD:
-rw-r--r--  1 root  bin  31818 Mar 20 22:17 urtwn-rtl8192eu
And this is the firmware from NetBSD:
-r--r--r--  1 root  bin  13904 May  7 14:31 urtwn-rtl8192eu

As you can see, the file size is clearly different, so I have tried to replace 
the OpenBSD firmware in /etc/firmware with the one from NetBSD, but it fails to 
load correctly:

urtwn0: timeout waiting for firmware readiness

strings and file doesn't gives any hint about the content of the firmwares, so 
I'd like to know what's the difference, and if it is possible to update6replace 
the firmware in OBSD with the one from NetBSD?

Thank You!

--ext

Reply via email to