rtl8812au
rtl8812au copied to clipboard
TX Power Limited to 30 dBm on RTL8812EU (BL-M8812EU2) Despite Patched Driver
I’m using a BL-M8812EU2 module with the svpcom/rtl8812eu patched driver (forked from libc0607/rtl88x2eu-20230815, based on Realtek driver v5.15.0.1-197). Everything is configurable (e.g., monitor mode, channel, EDCCA threshold), but I cannot set the TX power beyond 30 dBm (3000 mBm). Attempts to set higher values (e.g., 4000 mBm) fail with the error Operation not supported (-95).
vind@vind-gs:~/rtl8812eu$ cat /sys/module/8812eu/parameters/rtw_tx_pwr_by_rate 0 vind@vind-gs:~/rtl8812eu$ cat /sys/module/8812eu/parameters/rtw_tx_pwr_lmt_enable 0 vind@vind-gs:~/rtl8812eu$ sudo iw dev wlx782288d98f91 set txpower fixed 4000 command failed: Operation not supported (-95) vind@vind-gs:~/rtl8812eu$ iw wlx782288d98f91 info Interface wlx782288d98f91 ifindex 9 wdev 0x400000001 addr 78:22:88:d9:8f:91 type monitor wiphy 4 channel 161 (5805 MHz), width: 20 MHz (no HT), center1: 5805 MHz txpower 19.00 dBm vind@vind-gs:~/rtl8812eu$ sudo iw dev wlx782288d98f91 set txpower fixed 3000 vind@vind-gs:~/rtl8812eu$ iw wlx782288d98f91 info Interface wlx782288d98f91 ifindex 9 wdev 0x400000001 addr 78:22:88:d9:8f:91 type monitor wiphy 4 channel 161 (5805 MHz), width: 20 MHz (no HT), center1: 5805 MHz txpower 30.00 dBm
Tried both PC and Raspberry Pi -5 (ARM64) - kernel 6.8.0-1018-raspi, Ubuntu-based distro. Driver Build: Compiled from svpcom/rtl8812eu with make and installed via sudo make install. Loaded with: sudo insmod 8812eu.ko rtw_tx_pwr_by_rate=0 rtw_tx_pwr_lmt_enable=0
Note : Already Done similar setup with rtl8812au (alfa adapter ) it is working with WFB-ng with out any issue .
For 8812eu maximum avaliable txpower is 3150 Is it not exactly a dBm - it mapped to [1 : 63] range (divided by 50 ) and resulting value send to HW. Officially BL-8812EU2 module has 850mW max. But it is not recommended to use txpower values > 3000 due to amplifier saturation
Thanks for the response! I understand the 3150 dBm limit and 850 mW spec. Appreciate the help!