Hello,
I am compiling OpenWRT using the mtk-openwrt-feeds along with this patch to allow the BPI-R4 to use the default EEPROM for setting the signal strength (at least that is what I understand). When this patch is not present signal streng is tooo low
The issue I’m facing is that in my region (UAE), the 6GHz band is limited to 250mW (around 23dBm, as reported by iw reg get
). However, the default EEPROM value is set to 25dBm. I’m not sure if this discrepancy is causing the 6GHz signal to be unavailable, but I would like to know if there is any way to configure the signal strength to comply with regional regulations.
Is the default eeprom binary format publish in any place?
BTW: In case you ask UCI values are ignored.
Thanks!
Ok, never mind the driver looks clever enough to pick the lowest between eeprom txpower and regdb txn power.
At least if we can belive what is writen in here:
/sys/kernel/debug/ieee80211/phy0/netdev:phy0.2-ap0/txpower
I manage to make work the 6ghz band by changing region to GB (router and laptop), then I switched back to my region and still working after reseting. I wonder if this is related to the fact that my region allows 320mhz width for 6ghz but I have configured 160mhz which matches GB… not sure to be hones at the moment everything looks quite unstable…
Also I cannot see how to limit the txpower in sysfs, does the driver implements this feature?
Another thing that it is bad is that in the efuses (eeprom) the txpower for bands 2.4 and 5 is set to 0 which limits these band to the minimun txpower… I am right to assume that this values cannot be modified…