Skip to contentSkip to conversation

Enabling 4.9 GHz

ath9k-devel Pannirselvam Kanagaratnam 3 participants 11 messages Aug 1, 2014 – Aug 6, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Regards,

Pannir

#1 lore raw

Whats the purpose of this ? It is illegal to use that frequency I think :-)

-
Abhinav

On Fri, Aug 1, 2014 at 4:57 AM, Pannirselvam Kanagaratnam <[email protected]

Quoted 7 lines

wrote:

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Quoted 8 lines

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140802/38780f48/attachment.htm

#3 lore raw

Please elaborate.

Quoted 8 lines · Pannirselvam Kanagaratnam

Not for Public Safety applications.

On 02/08/2014 11:15 PM, abhinav narain wrote:

Whats the purpose of this ? It is illegal to use that frequency I think :-)

Quoted 23 lines

-
Abhinav

Quoted 13 lines · Pannirselvam Kanagaratnam

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140802/8c9223e5/attachment.htm

#5 lore raw
In reply to Pannirselvam Kanagaratnam

hi!

I think you'll have to hack up a custom regulatory domain database that includes the frequencies your device is licenced to work on.

The things that need to happen:

* regdb support, or the driver/802.11 layer won't let you do anything;
* make sure your AR9590 has the "I'm allowed to do 4.9GHz!" bit in the OTP EEPROM set, or the NIC may not let you;
* then make sure the AR9590 has calibration data for the 4.9GHz channel(s), or things won't work very well.

-a

Quoted 12 lines · Pannirselvam Kanagaratnam

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#6 lore raw
In reply to Adrian Chadd

Thanks Adrian. 2 & 3 are done. Will look into regdb.

Regards,

Pannir

Quoted 30 lines · Adrian Chadd

hi!

I think you'll have to hack up a custom regulatory domain database that includes the frequencies your device is licenced to work on.

The things that need to happen:

* regdb support, or the driver/802.11 layer won't let you do anything;
* make sure your AR9590 has the "I'm allowed to do 4.9GHz!" bit in the OTP EEPROM set, or the NIC may not let you;
* then make sure the AR9590 has calibration data for the 4.9GHz channel(s), or things won't work very well.

-a

Quoted 12 lines · Pannirselvam Kanagaratnam

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#7 lore raw

This link has the patches and processing scripts.
http://wiki.spench.net/wiki/RADAR

Thanks,
Abhinav

On Sat, Aug 2, 2014 at 4:05 PM, Pannirselvam Kanagaratnam <[email protected]

Quoted 41 lines

wrote:

Thanks Adrian. 2 & 3 are done. Will look into regdb.

Regards,

Pannir

Quoted 18 lines · Adrian Chadd

hi!

I think you'll have to hack up a custom regulatory domain database that includes the frequencies your device is licenced to work on.

The things that need to happen:

* regdb support, or the driver/802.11 layer won't let you do anything;
* make sure your AR9590 has the "I'm allowed to do 4.9GHz!" bit in the OTP EEPROM set, or the NIC may not let you;
* then make sure the AR9590 has calibration data for the 4.9GHz channel(s), or things won't work very well.

-a

On 1 August 2014 01:57, Pannirselvam Kanagaratnam <[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Quoted 7 lines
Quoted 7 lines

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 5 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140803/680cd805/attachment.htm

#10 lore raw
In reply to Adrian Chadd

Adrian,

I got the db.txt modified.

root at p1023:/usr/sbin# iw reg get
country US:

         (2402 - 2472 @ 40), (30, 0)
         (4940 - 4990 @ 20), (20, 0)
         (5170 - 5250 @ 80), (20, 0)
         (5250 - 5330 @ 80), (23, 0)
         (5735 - 5835 @ 80), (30, 0)

However, I am unable to set the frequency for 4950 MHz.

root at p1023:/usr/sbin# iw dev wlan0 set freq 5180 root at p1023:/usr/sbin# iw dev wlan0 set freq 4950 command failed: Invalid argument (-22)

Anything else I need to do?

Regards,

Pannir

Quoted 30 lines · Adrian Chadd

hi!

I think you'll have to hack up a custom regulatory domain database that includes the frequencies your device is licenced to work on.

The things that need to happen:

* regdb support, or the driver/802.11 layer won't let you do anything;
* make sure your AR9590 has the "I'm allowed to do 4.9GHz!" bit in the OTP EEPROM set, or the NIC may not let you;
* then make sure the AR9590 has calibration data for the 4.9GHz channel(s), or things won't work very well.

-a

Quoted 12 lines · Pannirselvam Kanagaratnam

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#9 lore raw

Pannir -
It is ath5k driver code, but possibly a good starting point if you want to do similar mods in ath9k !
(I assume atleast the configuration parts of the driver are similar, although ath9k is way different
in packet processing etc)

HTH,
Abhinav

On Wed, Aug 6, 2014 at 6:13 AM, Pannirselvam Kanagaratnam <[email protected]

Quoted 16 lines

wrote:

Abhinav,

Is this applicable for ath9k?

Regards,

Pannir

On 04/08/2014 12:31 AM, abhinav narain wrote:

This link has the patches and processing scripts.
http://wiki.spench.net/wiki/RADAR

Quoted 54 lines

Thanks,
Abhinav

Quoted 44 lines · Pannirselvam Kanagaratnam

Thanks Adrian. 2 & 3 are done. Will look into regdb.

Regards,

Pannir

Quoted 18 lines · Adrian Chadd

hi!

I think you'll have to hack up a custom regulatory domain database that includes the frequencies your device is licenced to work on.

The things that need to happen:

* regdb support, or the driver/802.11 layer won't let you do anything;
* make sure your AR9590 has the "I'm allowed to do 4.9GHz!" bit in the OTP EEPROM set, or the NIC may not let you;
* then make sure the AR9590 has calibration data for the 4.9GHz channel(s), or things won't work very well.

-a

On 1 August 2014 01:57, Pannirselvam Kanagaratnam <[email protected]>

Quoted 5 lines · wrote:
Quoted 5 lines

Hello,

I would like to know how to enable 4.9 GHz on ath9k. The module I am using is based on AR9590.

Quoted 7 lines
Quoted 7 lines

Regards,

Pannir
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140806/1333c0a0/attachment.htm