Enabling channels 12,13
Dear Paul Fertser,
thank you for a hint.
But unfortunatelly this patch (attached) does not work for me. May be for multiple devices? Who knows.
Band 1:
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
[ 4.464183] ath5k 0000:02:08.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 4.464328] ath5k 0000:02:08.0: registered as 'phy0' [ 5.059773] ath5k phy0: DANGER! You're overriding EEPROM-defined regulatory domain. [ 5.059837] ath5k phy0: Your card was not certified to operate on the domain you choosed. [ 5.059902] ath5k phy0: This might result in a violation of your local regulatory rules. -- [ 5.122197] ath5k 0000:02:0a.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 5.122338] ath5k 0000:02:0a.0: registered as 'phy1' [ 5.587528] ath5k phy1: DANGER! You're overriding EEPROM-defined regulatory domain. [ 5.587593] ath5k phy1: Your card was not certified to operate on the domain you choosed. [ 5.588358] ath5k phy1: This might result in a violation of your local regulatory rules.
Quoted 4 lines
Please see this for reference:
http://forum.aircrack-ng.org/index.php?topic=6822.15You can also try "pentoo" gentoo overlay.
regards
Jara
Quoted 5 lines
HTH
Signature · 2 lines
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:[email protected]
PaulFertser> Get _your_ country code from regd.h, add 32768 and supply as a parameter. [email protected]
drivers/net/wireless/ath/ath5k/base.c +14 -0
@@ -68,6 +68,11 @@module_param_named (all_channels, modparam_all_channels, bool,S_IRUGO );MODULE_PARM_DESC (all_channels,"Expose all channels the device can use." ); +static int modparam_override_eeprom_regdomain =-1 ; +module_param_named (override_eeprom_regdomain, + modparam_override_eeprom_regdomain, int,S_IRUGO ); +MODULE_PARM_DESC (override_eeprom_regdomain,"Override regdomain hardcoded in EEPROM with this value (DANGEROUS)." ); +/******************\ * Internal defines *
@@ -572,6 +577,15 @@ goto err_irq; } +if (modparam_override_eeprom_regdomain !=-1 ) { +ATH5K_ERR (sc,"DANGER! You're overriding EEPROM-defined regulatory domain.\n" ); +ATH5K_ERR (sc,"Your card was not certified to operate on the domain you choosed.\n" ); +ATH5K_ERR (sc,"This might result in a violation of your local regulatory rules.\n" ); +ATH5K_ERR (sc,"Do not ever do that unless you really know what you do!\n" ); + sc->ah->ah_capabilities.cap_eeprom.ee_regdomain = + modparam_override_eeprom_regdomain; + } +/* set up multi-rate retry capabilities */ if (sc->ah->ah_version ==AR5K_AR5212 ) { hw->max_rates =4 ;