51 (edited by fame 2012-04-18 19:56:43)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

This isn't a problem at all, because I have to wait 6 weeks for my vdsl (moving to a new city in june).

Would it be less work for you if you do it in german? I will send you my e-mail address via PM, so it's up to you to device wether you post it here in english or send it to me in german. Thanks again!

Here are some information about the vlan trunking which could be useful:

https://forum.openwrt.org/viewtopic.php?pid=132148#p132148

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

I tested the TP-Link with my VDSL2 connection and I get the normal internet working, but not the IPTV. So on next sunday I will test another config. My IPTV receiver won't receive any pictures. Very strange...

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

The best und easy way, it works for me:

cd /usr/lib/crda/
rm regulatory.bin
wget http://datatomb.de/mirror/stuff/regulatory.bin
reboot

iw reg set $YOURCOUNTRYCODE
iwlist wlan0 channel

(Taken from http://smorgasbord.gavagai.nl/2010/09/wifi-regulatory-compliance-and-how-to-fix-it)
Thanks goes to Cejvik

Best regards,
Jürgen

54 (edited by yamada-kun 2012-08-05 02:17:48)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Due to:
https://dev.openwrt.org/changeset/31954/
tweaking the regulatory.bin is not an option anymore.

So a vanilla build of OpenWrt will not let you match your non-US regulatory requirements, because the chip vendor insists on enforcing the EEPROM setting, while not insisting on having the setting properly set up in end products... Oh the irony.
Does not make me feel any better about building my own firmware to work around this. Just to use channel 13 which I am allowed to do where I reside.
Any chance Atheros can be talked back into allowing ATH_USER_REGD in the vanilla build?

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

yamada-kun wrote:

Due to:
https://dev.openwrt.org/changeset/31954/
tweaking the regulatory.bin is not an option anymore.

So a vanilla build of OpenWrt will not let you match your non-US regulatory requirements, because the chip vendor insists on enforcing the EEPROM setting, while not insisting on having the setting properly set up in end products... Oh the irony.
Does not make me feel any better about building my own firmware to work around this. Just to use channel 13 which I am allowed to do where I reside.
Any chance Atheros can be talked back into allowing ATH_USER_REGD in the vanilla build?

Ditto. Any new workaround without compiling? Would like to use channel 13.

56 (edited by dabyd64 2012-09-08 16:16:47)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

I'm compiling the latest trunk.
I will build the firmware for ALL Atheros devices, with the default settings but with the country select enabled, so all non USA users can use its country regulations. I was facing the same problem in Spain, where the channels 12 and 13 are legal.
http://img266.imageshack.us/img266/5245/13chan.jpg
Will upload to my public dropbox folder, or similar.
Check the HOWTO forum, will post it today or tomorrow!

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Done: https://forum.openwrt.org/viewtopic.php?pid=177492#p177492

58 (edited by swiftgeek 2012-10-22 02:32:37)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

from modinfo cfg80211

parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)

It doesn't work as it should, but at least it unlocks power levels (and starts spamming in dmesg)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

I found this thread when I try to solve problem on different HW but also Atheros (in my case Atheros 5413)

It is possible change regulatory domain on EEPROM.
package kmod-madwifi contain nice tool ath_info :-)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

How would I get the address of the card on a PCI-less router for use with the ath_info?

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

In retrospective it should have been obvious how to get the address of the device. It appears in kernel log when the driver loads. It seems that it is 0xb80c0000. Unfortunately, ath_info can't seem to read the data.

62 (edited by swiftgeek 2012-12-16 15:36:35)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Everything should be in mtd4 art partition … just what bits we have to change?
Is 1043ND with working 12&13 channels even available? (I have bought one in local shop and it's locked to USA hmm ).  If yes then we maybe could find sth by just diffing those partition images

ath_info works only with ath5k

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Did anyone check the German version of 1043? Since they seem to have made a special version for that market, it would be reasonable to expect it to have correct regulatory data in the EEPROM. Still we can never be sure until we check.

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

AndrejaKo wrote:

Did anyone check the German version of 1043? Since they seem to have made a special version for that market, it would be reasonable to expect it to have correct regulatory data in the EEPROM. Still we can never be sure until we check.

Not different to the international ones, I tested a "TL-WR1043ND(DE) Ver:1.1", same behavior for ch12+13.
TP-Link does not seem to care about this, without patching the regdb yourself there is no way to get these channels activated.

65 (edited by AndrejaKo 2012-12-21 20:32:20)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

So how would that work on Attitude Adjustment?  Since changes in the way regulatory database is used, the older regulatory.bin hack doesn't work.


There is a way to enable this using the kernel option, but that would require someone to host unofficial image, since from what I've seen OpenWRT team doesn't want to distribute images with that option enabled.

Also those two channels were working for me on some versions of DD-WRT (but I forgot which ones). Maybe we should take a look at how they solved the problem.


Also did anyone check how things work in the official TP-LINK image? I've heard reports from people that on stock firmware those channels work, but I didn't check that out yet myself. EDIT: They do work.

66 (edited by swiftgeek 2012-12-21 20:29:21)

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

It doesn't matter since we only care about "EEPROM" data which should be on mtd4 partition. This is not being overwritten by any alternative firmware

http://www.mail-archive.com/ath9k-devel@lists.ath9k.org/msg01345.html
It isn't a end of the problems - there is also some checksum obviously

BTW has anyone checked u-boot commands? Maybe there is sth for it?

Also
https://code.google.com/p/iwleeprom/source/browse/#svn%2Fbranches%2Fatheros

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

AndrejaKo wrote:

So how would that work on Attitude Adjustment?  Since changes in the way regulatory database is used, the older regulatory.bin hack doesn't work.
...
Also those two channels were working for me on some versions of DD-WRT (but I forgot which ones). Maybe we should take a look at how they solved the problem.

The limits seem to be applied incrementally - if you have a country "00" or "US" which does not allow ch12+13 but 500mW, in whole europe you would be able to legally use ch1-13 but no more than 100mW - setting the country to "DE", you will end up with ch1-11 and 100mW.

I needed ch13 in one 1043nd, for this one I had to completely open country 00 and US, created a country "UX" which matches the US regulations. This way I can set country "DE" and get the correct limits (ch1-13, 100mW). To match the original US limits I need to set the country to "UX".

This is of course no solution for openwrt, if TP-Link fails to set the country code in their products.

AndrejaKo wrote:

Also did anyone check how things work in the official TP-LINK image? I've heard reports from people that on stock firmware those channels work, but I didn't check that out yet myself.

Yes, you can enable any channel in the stock firmware, so the openwrt image is by far more FCC-Compliant than the original firmware.

I dont know the reasons for the switch to the "internal regdb" in openwrt, because the images distributed before also followed those FCC rules if the user of the firmware did not break them intentionally. But i am not a lawyer - and for whatever reason this has been done, I am quite sure it was *not* done to spoon-feed the users. If anyone could come up with a solution to modify the flash to set the right local country code this would be nice. Unfortunately this is beyond my knowledge.

Otherwise you only have the one option to compile your own image in order to overcome the channel-limit.

68

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

jow wrote:

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.

Thanks jow - just tested it against the current trunk release, working fine.

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

So this does work with OpenWrt Barrier Breaker r34761?

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

jow wrote:

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.


Thanks a lot!

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

jow wrote:

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.

Thanks a lot Jow. Tried this on attitude_adjustment beta2 and it is working great.  Was looking for something like this for few days as i am not comfortable building kernel from source.

Thanks again

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

jow wrote:

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.

Hi, will it work on 1043ND with Backfire 10.03.1-RC6?

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

Try it and let us know!

Also if you don't want to experiment, you can go back to page 2 and get the hacked regulatory.bin file which will definitely work there.

Re: Howto enable channel 12 and 13 on TP-Link WR-1043ND?

jow wrote:

Use http://luci.subsignal.org/~jow/reghack/ to enable channel 12 and 13.

Working fine on Backfire 10.03.1-RC6

Thanks jow!