-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TX power not able to modify. #111
Comments
I did not write the driver. I merely take the kernel code, adapt it to build on older kernels, and put it here. I have no idea what that table does. What are you trying to do? |
@lwfinger , Thanks for the reply. We are trying to reduce TX power. |
I will need to send an inquiry to the driver's authors. It will be at least Monday before I get an answer. I looked through the code and found ".max_power_index = 0x3f," at line 2536 od rtw8822b.c. You might try what happens if yiu change that 0x3f to 0x1f. I do not have the chip so I cannot test the effect. |
Yes sure, I will update you on Monday. |
My contact replied with the following:In rtw_phy_get_tx_power_index(), we can have:
So, a way to restrict the TX power is to set SAR via iw command without changing
|
@lwfinger , Thanks for the Input. |
When I tried to update the Kernel to 5.15, started facing other issues.
|
I don't what exactly happening over there. |
First of all, switch from the in-kernel driver to the one from this repo. That will update the driver from kernel 5.15 to 6.2. It is possible, even likely, that the problem is fixed. The warning happens because the driver is unable to write to the RF control registers. I have never seen that before. Why are the 8821c and 8723d modules loaded if you have an 8822b module? |
Hi @lwfinger , Sorry for the late reply. In openwrt build default when we select rtw88 package all the driver will be part of the build and loaded during the kernel bootup. error remains same even after removing unused driver.
|
Hi,
We trying to adjust the TX power using /etc/config/wireless configuration, but we can't able to change TX power of RTL8822BE.
In the RTL driver code we observed the TXSCAL table, we not getting what exact the TXSCAL meant for, is possible to modify for the TXSCALE table to achieve low TX power.
RTL8822b.c
Thank you
Akash
The text was updated successfully, but these errors were encountered: