Fritzbox 3370 WiFi Quirks

Hello there,
I acquired some 3370's for some dsl lines and I optimized them like I do any xrx200 device to work at 100mbit fine. I preferred the fritzbox over the tplink because it can do 5ghz wifi and there isnt anything not supported so anything it could do with fritz!os it can do now. However I noticed the WiFi Power and channels are limited to the DE country(confirmed with iw reg get) and I have no idea how to get rid of this restriction, also I noticed even though luci reports 802.11a support I cant find a way to enable it and default settings dont seem to help. I suspect its wifi calibration data for the default DE because the fritzbox is the germany only edition not the international one.

root@OpenWrt:~# iw reg get
global
country US: DFS-FCC
        (902 - 904 @ 2), (N/A, 30), (N/A)
        (904 - 920 @ 16), (N/A, 30), (N/A)
        (920 - 928 @ 8), (N/A, 30), (N/A)
        (2400 - 2472 @ 40), (N/A, 30), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
        (5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
        (5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
        (5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
        (5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
        (5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
        (57240 - 71000 @ 2160), (N/A, 40), (N/A)

phy#0
country DE: DFS-ETSI
        (2400 - 2483 @ 40), (N/A, 20), (N/A)
        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW
        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
        (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
        (5725 - 5875 @ 80), (N/A, 13), (N/A)
        (5945 - 6425 @ 160), (N/A, 23), (N/A), NO-OUTDOOR
        (57000 - 66000 @ 2160), (N/A, 40), (N/A)

Yes .DE region is hardcoded. Two methods are possible. Replace DE regulatory.bin for more suitable or change region In radio partition. But I was only 2.4Ghz user so not much changed

I would love to change the eeprom, 2.4ghz I have another usb adapter which is okay. I cant find the right partition nor can I find anyone who has done this before apparently. Could you give me a heading on how to do this?

program is named atheepmgr: Atheros EEPROM manager and you'll find in on github.
For start you might work with copy of the eeprom file form your router.

/lib/firmware/ath9k-eeprom-pci-0000*.bin

it's safe way to test things out .Every firtzbox has eeprom extraction method .It must reversed before flash.

Okay so I figured some things out. Apparently the wifi cal data is at mtd2 offset 0x1541 and is of sixe 0x440 according to https://github.com/openwrt/openwrt/blob/1a6954337634474e6c42dec6023daa7af1d52432/target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom#L14 .Extractiving only that using dd seems plausible, like https://github.com/openwrt/openwrt/blob/main/package/base-files/files/lib/functions/caldata.sh , doing the reverse should flash new cal data(I am going to mess up the dd for sure) . I need to enable the i want a brick functionality of mtd and I need to figure out how regdomain 1 and 2 is formatted

Version                        :  2
RegDomain1                     : 0xFFFF8114
RegDomain2                     : 0x001F

I am really confused by the FFFF8114 since that seems like a real high value larger than what I know the number of countries is. With my basic google search I havent found anything. Also I assume I wont be required to change all the target powers(hopefully). Do you have any idea what the regdomain should be changed to to be "undefined"

Okay, I have been able to edit the eeprom file, I just dont know what regdomain I need, also I have no idea how to do 802.11a on this chip.

Okay, I just edited the script file that extracted the wifi cal filw to copy a file from storage and edited the relevant bits and now it works at 25dbm.