OpenWrt Forum Archive

Topic: patch ath_hal.ko to enable 17 dBm 2.3Ghz operation (DIR-300)

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

WARNING: Operating at 2.3 GHz is probably illegal in your area.
NOTE: I haven't tested if the device actually transmits at 2.3 GHz. I am not responsible for destroyed hardware from using this patch.

For 8.09.1 only. First check if /proc/sys/dev/wifi0/regdomain is 0. Open ath_hal.ko in a hex editor, then change the following values:

000246BE: 14 -> 18
000246BF: 05 -> 0A
000246CF: 05 -> 0A

md5sum of the module after patching is 37bc079dc4404544f8927250e65b6d08
Replace the module, reboot then execute: cat 511 > /proc/sys/dev/wifi0/countrycode

I used http://svn.freebsd.org/viewvc/base/proj … iew=markup as a guide to locate the offsets ath_hal.ko. The patch changes chan11b and chan11g of the DEBUG_REG_DMN regdomain (see static REG_DOMAIN regDomains[]).

z22 wrote:

First check if /proc/sys/dev/wifi0/regdomain is 0.

Hello all.

As verify if it has value 0?

I enter the address: / proc/sys/dev/wifi0 / and edited the file regdomain value of 0.

Then edit the file with a hex editor ath_hal.ko.
Seeking the following:

000246BE
000246BF
000246CF

But the search does not find it.
I is missing?.

Apologies for bumping a 7 year old thread, but I recently learned about the possibility of out-of-band transmission, and it really piqued my interest.

Is this still doable on CC 15.05.1 for Atheros devices, ar71xx specifically? I know DD-WRT supports the feature for all chips from that manufacturer and calls it "Superchannels", but they demand a donation to activate it.

Here are some pretty informative articles about transmitting in the 2.3 and 2.6-2.7 GHz bands, for those who don't know about it.

http://yo3iiu.ro/blog/?p=1301
http://www.qsl.net/kb9mwr/projects/wireless/modify.html

Apparently the HAL is no longer used, so you'd only need a tweaked regdb to open the extra frequencies. That leaves recompiling ath9k and hostapd to make the extra channels usable, assuming the method on link no. 1 works on OpenWrt. Is that correct?

Hi Johndoe,

   Are you successful in enabling super channel with openwrt and ath9k. I am following the link no. 1.
Please share your experience on that.
Thanks,
Arul.

The discussion might have continued from here.