Historical ath9k-devel archives
 help / color / mirror / Atom feed
* [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and  how to disable 5GHz in ath9k
@ 2015-04-19 14:15 Melvin Chow
  2015-04-24  9:57 ` Holger Schurig
  0 siblings, 1 reply; 3+ messages in thread
From: Melvin Chow @ 2015-04-19 14:15 UTC (permalink / raw)
  To: ath9k-devel

Hi, 

 

I have tried couple of method to disable the 5GHz in our AR9462 card which
is using ath9k driver.

Since we are using old kernel 3.10.55 which doesn't support country code
well

 

Finally, I find the patch files as well as the latest kernel 3.19/4.0 ath9k
driver which claimed it supported a bool (parm) to disable the 2.4GHz or
5GHz.

I was expected to see something similar to the below intel driver iwlwifi
after I use modinfo ath9k, but I couldn't see the below available parm.

May I know if I have something missing or this code is actually incomplete?

 

parm:5ghz_disable:disable 5GHz band (default: 0 [enabled]) (bool)

 

See below. 

//////////////////////////////////////////////////////////////

parm:           swcrypto:using crypto in software (default 0 [hardware])
(int)

parm:           11n_disable:disable 11n functionality, bitmap: 1: full, 2:
agg TX, 4: agg RX (uint)

parm:           amsdu_size_8K:enable 8K amsdu size (int)

parm:           fw_restart:restart firmware in case of error (int)

parm:           antenna_coupling:specify antenna coupling in dB (defualt: 0
dB) (int)

parm:           bt_ch_inhibition:Enable BT channel inhibition (default:
enable) (bool)

parm:           plcp_check:Check plcp health (default: 1 [enabled]) (bool)

parm:           wd_disable:Disable stuck queue watchdog timer 0=system
default, 1=disable, 2=enable (default: 0) (int)

parm:           bt_oex_active:enable wifi/bt co-exist (default: enable)
(bool)

parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off),
2=blinking, 3=Off (default: 0) (int)

parm:           power_save:enable WiFi power management (default: disable)
(bool)

parm:           power_level:default power save level (range from 1 - 5,
default: 1) (int)

parm:           auto_agg:enable agg w/o check traffic load (default: enable)
(bool)

parm:           5ghz_disable:disable 5GHz band (default: 0 [enabled]) (bool)

/////////////////////////////////////////////////////////////////

 

 

Thanks

 

Best Regards, 

 

Melvin Chow

 

sig

Elecom Electronics Supply

ABN: 15 457 351 181

Tel AU: +61 3 9790 6259

Mobile: +61 468 468 128

Email:  <mailto:melvinc@elecomes.com> mailto:melvinc at elecomes.com

Web:  <http://www.elecomes.com/> http://www.elecomes.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150420/686cbc71/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3050 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150420/686cbc71/attachment.jpeg 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and how to disable 5GHz in ath9k
  2015-04-19 14:15 [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and how to disable 5GHz in ath9k Melvin Chow
@ 2015-04-24  9:57 ` Holger Schurig
  2015-04-24 12:31   ` Melvin Chow
  0 siblings, 1 reply; 3+ messages in thread
From: Holger Schurig @ 2015-04-24  9:57 UTC (permalink / raw)
  To: ath9k-devel

There is no need to disable 5 GHz in the driver, because you can do this at
a much lower level.

You can tell wpa_supplicant tell what frequencies it should use, e.g. with
scan_freq="2412 2437 2462". It won't ever scan on the 5 GHz frequencies if
you only specify your 2.4 frequencies.

Likewise you tell hostapd what frequency to use.

Patching a driver for this?  Shudder. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150424/75e95e1f/attachment.htm 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and how to disable 5GHz in ath9k
  2015-04-24  9:57 ` Holger Schurig
@ 2015-04-24 12:31   ` Melvin Chow
  0 siblings, 0 replies; 3+ messages in thread
From: Melvin Chow @ 2015-04-24 12:31 UTC (permalink / raw)
  To: ath9k-devel

Holger, 

 

Can you help to give us some more specific details how to change this
wpa_supplicant?

I couldn't find I have the wpa_supplication.conf in the /etc/wpa_supplicant/

 

Besides, after this setting applied, does it mean if we could some scanning
in iw wlan0 scan, then I can't see 5GHz???

 

Thanks

 

Best Regards, 

 

Melvin Chow

 

sig

Elecom Electronics Supply

ABN: 15 457 351 181

Tel AU: +61 3 9790 6259

Mobile: +61 468 468 128

Email:  <mailto:melvinc@elecomes.com> mailto:melvinc at elecomes.com

Web:  <http://www.elecomes.com/> http://www.elecomes.com

 

From: Holger Schurig [mailto:holgerschurig at gmail.com] 
Sent: Friday, 24 April 2015 7:57 PM
To: Melvin Chow
Cc: ath9k-devel
Subject: Re: [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and
how to disable 5GHz in ath9k

 

There is no need to disable 5 GHz in the driver, because you can do this at
a much lower level.

 

You can tell wpa_supplicant tell what frequencies it should use, e.g. with
scan_freq="2412 2437 2462". It won't ever scan on the 5 GHz frequencies if
you only specify your 2.4 frequencies.

 

Likewise you tell hostapd what frequency to use.

 

Patching a driver for this?  Shudder. :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150424/ddc4d770/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 3050 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20150424/ddc4d770/attachment.jpeg 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-24 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-19 14:15 [ath9k-devel] Help! kernel 3.19/4.0 ath9k driver problem, and how to disable 5GHz in ath9k Melvin Chow
2015-04-24  9:57 ` Holger Schurig
2015-04-24 12:31   ` Melvin Chow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox