Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2015-04-21 14:24:22

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

[SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Na wstępie zaznaczam, że znane dotąd sposoby rozwiązania tego problemu nie działają na najnowszych kernelach (próbuję na 3.19.3 oraz 4.0). Karta WiFi Tp-Link TL-WN553AG Ver:1.0, przeznaczona na rynek polski, przez Ndiswrapper co prawda widzi brakujące kanały, ale i tak nie działa, bo nie wykrywa sieci i nie można się połączyć. Jak zmusić ath5k do pracy w pełnym zakresie? Dorzucam kilka informacji o mojej konfiguracji i z góry dziękuję za wskazówki.


Kod:

iw list |grep Frequencies -A 15
        Frequencies:
            * 2412 MHz [1] (30.0 dBm)
            * 2417 MHz [2] (30.0 dBm)
            * 2422 MHz [3] (30.0 dBm)
            * 2427 MHz [4] (30.0 dBm)
            * 2432 MHz [5] (30.0 dBm)
            * 2437 MHz [6] (30.0 dBm)
            * 2442 MHz [7] (30.0 dBm)
            * 2447 MHz [8] (30.0 dBm)
            * 2452 MHz [9] (30.0 dBm)
            * 2457 MHz [10] (30.0 dBm)
            * 2462 MHz [11] (30.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)
    Band 2:
--
        Frequencies:
            * 5040 MHz [8] (disabled)
            * 5060 MHz [12] (disabled)
            * 5080 MHz [16] (disabled)
            * 5180 MHz [36] (17.0 dBm)
            * 5200 MHz [40] (17.0 dBm)
            * 5220 MHz [44] (17.0 dBm)
            * 5240 MHz [48] (17.0 dBm)
            * 5260 MHz [52] (23.0 dBm) (no IR, radar detection)
              DFS state: usable (for 2 sec)
              DFS CAC time: 60000 ms
            * 5280 MHz [56] (23.0 dBm) (no IR, radar detection)
              DFS state: usable (for 2 sec)
              DFS CAC time: 60000 ms
            * 5300 MHz [60] (23.0 dBm) (no IR, radar detection)
              DFS state: usable (for 2 sec)




iw reg get
country 00: DFS-UNSET
    (2402 - 2472 @ 40), (N/A, 20), (N/A)
    (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
    (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
    (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
    (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
    (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
    (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
    (57240 - 63720 @ 2160), (N/A, 0), (N/A)



iwlist wlan1 channel
wlan1     24 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency=2.442 GHz (Channel 7)



iwconfig wlan1
wlan1     IEEE 802.11abg  ESSID:"Moja siec"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: FE:94:E2:00:1A:FA   
          Bit Rate=18 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=30/70  Signal level=-80 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:57  Invalid misc:129   Missed beacon:0

Kod:

03:02.0 Ethernet controller: Qualcomm Atheros AR5413/AR5414 Wireless Network Adapter [AR5006X(S) 802.11abg] (rev 01)
    Flags: bus master, fast Back2Back, medium devsel, latency 168, IRQ 17
    Memory at f7c00000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [44] Power Management version 2
    Kernel driver in use: ath5k



systool -v -m ath5k
Module = "ath5k"

  Attributes:
    coresize            = "135507"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    fastchanswitch      = "N"
    no_hw_rfkill_switch = "N"
    nohwcrypt           = "N"



systool -v -m cfg80211
Module = "cfg80211"

  Attributes:
    coresize            = "383975"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "3"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    cfg80211_disable_40mhz_24ghz= "N"
    ieee80211_regdom    = "EU"



dmesg |egrep -i 'crda|cfg80211'
[25858.526285] cfg80211: Calling CRDA to update world regulatory domain
[25858.528531] cfg80211: World regulatory domain updated:
[25858.528533] cfg80211:  DFS Master region: unset
[25858.528534] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[25858.528536] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[25858.528538] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[25858.528539] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[25858.528540] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[25858.528542] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[25858.528543] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[25858.528544] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[25858.528545] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[25858.528554] cfg80211: Calling CRDA for country: 97


 
modinfo ath5k
filename:       /lib/modules/3.19.3/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
license:        Dual BSD/GPL
description:    Support for 5xxx series of Atheros 802.11 wireless LAN cards.
author:         Nick Kossifidis
author:         Jiri Slaby
alias:          pci:v0000168Cd0000FF1Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000014sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*
alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000011sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000207sv*sd*bc*sc*i*
depends:        mac80211,cfg80211,ath
intree:         Y
vermagic:       3.19.3 SMP mod_unload modversions 686 
parm:           nohwcrypt:Disable hardware encryption. (bool)
parm:           fastchanswitch:Enable fast channel switching for AR2413/AR5413 radios. (bool)
parm:           no_hw_rfkill_switch:Ignore the GPIO RFKill switch state (bool)

Edit:

Kod:

ath_info f7c00000
 -==Device Information==-
MAC Revision: 5413  (0xa4)
Device type:  2
5GHz PHY Revision: 5413  (0x63)
2GHz PHY Revision: 5413  (0x63)

/============== EEPROM Information =============\
| EEPROM Version:   5.3 | EEPROM Size:  16 kbit |
| EEMAP:              2 | Reg. Domain:     0x00 |
|================= Capabilities ================|
| 802.11a Support:  yes | Turbo-A disabled: yes |
| 802.11b Support:  yes | Turbo-G disabled: yes |
| 802.11g Support:  yes | 2GHz XR disabled: no  |
| RFKill  Support:  no  | 5GHz XR disabled: no  |
| 32kHz   Crystal:  no  |                       |
\===============================================/

/=========================================================\
|          Calibration data common for all modes          |
|=========================================================|
|          CCK/OFDM gain delta:             1             |
|          CCK/OFDM power delta:            5             |
|          Scaled CCK delta:                5             |
|          2GHz Antenna gain:               1             |
|          5GHz Antenna gain:               4             |
|          Turbo 2W maximum dBm:           38             |
|          Target power start:          0x1b1             |
|          EAR Start:                   0x213             |
\=========================================================/

/=========================================================\
|          Calibration data for 802.11a operation         |
|=========================================================|
| I power:              0x08 | Q power:              0x1f |
| Use fixed bias:       0x00 | Max turbo power:      0x26 |
| Max XR power:         0x22 | Switch Settling Time: 0x2d |
| Tx/Rx attenuation:    0x0f | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x0f | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0b |
| False detect backoff: 0x00 | Noise Floor Threshold: -54 |
| ADC desired size:      -32 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           5 | db 2:                    5 |
| Octave Band 3:           5 | db 3:                    5 |
\=========================================================/
/==================== Turbo mode infos ===================\
| Switch Settling time: 0x5a | Tx/Rx margin:         0x0b |
| Tx/Rx attenuation:    0x0f | ADC desired size:      -32 |
| PGA desired size:      -80 |                            |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 4900 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5180 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5240 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5320 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5500 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5700 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5745 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5825 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5360 |    19.00   |  19.00   |   19.00   |  19.00   |
|======|============|==========|===========|==========|
| 5720 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 5170 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     5   |       11    |       26    |       59    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    18.00    |    22.00    |    25.00    |
|      |     8   |       19    |       30    |       51    |       84    |
|======|=========|=============|=============|=============|=============|
| 5220 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    13.50    |     0.00    |
|      |     0   |        0    |       10    |       36    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    18.00    |    22.00    |    25.00    |
|      |     7   |       13    |       22    |       42    |       66    |
|======|=========|=============|=============|=============|=============|
| 5320 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    13.50    |     0.00    |
|      |     0   |       13    |       28    |       62    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    19.00    |    22.00    |    25.50    |
|      |    10   |       19    |       34    |       51    |       87    |
|======|=========|=============|=============|=============|=============|
| 5400 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     0   |        5    |       21    |       57    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    25.00    |
|      |     9   |       19    |       32    |       55    |       93    |
|======|=========|=============|=============|=============|=============|
| 5520 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     0   |        1    |       21    |       65    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    24.00    |
|      |     9   |       18    |       31    |       58    |       84    |
|======|=========|=============|=============|=============|=============|
| 5620 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     7   |       13    |       26    |       70    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.00    |    24.00    |
|      |    12   |       22    |       39    |       61    |       97    |
|======|=========|=============|=============|=============|=============|
| 5725 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    12.50    |     0.00    |
|      |    11   |       18    |       59    |       98    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    13.50    |    17.00    |    20.50    |    22.00    |
|      |    17   |       31    |       50    |       80    |      101    |
|======|=========|=============|=============|=============|=============|
| 5825 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     1   |       21    |       51    |       92    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    23.50    |
|      |    15   |       30    |       48    |       85    |      112    |
\========================================================================/

/=========================================================\
|          Calibration data for 802.11b operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x00 |
| Use fixed bias:       0x00 | Max turbo power:      0x00 |
| Max XR power:         0x00 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x21 | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x07 |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0a |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq |   1Mbit/s  | 2Mbit/s  | 5.5Mbit/s | 11Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    19.00   |  19.00   |   19.00   |  19.00   |
|======|============|==========|===========|==========|
| 2484 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 2412 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    12.50    |     0.00    |
|      |    17   |       34    |       73    |      129    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    18.00    |    21.50    |    22.50    |
|      |    23   |       40    |       68    |      105    |      123    |
|======|=========|=============|=============|=============|=============|
| 2472 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    14   |       32    |       68    |      129    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.00    |    23.50    |
|      |    23   |       37    |       63    |       96    |      136    |
\========================================================================/

/=========================================================\
|          Calibration data for 802.11g operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x10 |
| Use fixed bias:       0x01 | Max turbo power:      0x26 |
| Max XR power:         0x24 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x21 | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0a |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x05 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/==================== Turbo mode infos ===================\
| Switch Settling time: 0x28 | Tx/Rx margin:         0x0a |
| Tx/Rx attenuation:    0x21 | ADC desired size:      -32 |
| PGA desired size:      -80 |                            |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    18.00   |  17.00   |   16.00   |  15.00   |
|======|============|==========|===========|==========|
| 2437 |    18.00   |  17.00   |   16.00   |  15.00   |
|======|============|==========|===========|==========|
| 2472 |    18.00   |  17.00   |   16.00   |  15.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 2412 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.50    |     0.00    |
|      |    11   |       26    |       66    |       66    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    17.50    |    20.50    |    22.50    |
|      |    20   |       38    |       58    |       87    |      112    |
|======|=========|=============|=============|=============|=============|
| 2437 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    13   |       29    |       61    |      113    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    18.00    |    21.00    |    23.00    |
|      |    21   |       38    |       62    |       93    |      119    |
|======|=========|=============|=============|=============|=============|
| 2472 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    11   |       25    |       58    |      117    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    13.50    |    17.50    |    21.00    |    23.50    |
|      |    20   |       32    |       56    |       89    |      126    |
\========================================================================/

GPIO registers: CR 0x00000003, DO 0x00000001, DI 0x00000011
STA_ID0: 00:27:19:dc:dd:27
STA_ID1: 0x100027dd, AP: 0, IBSS: 0, KeyCache Disable: 0
TIMER0: 0x00000030, TBTT:    48, TU: 0x09870030
TIMER1: 0x0007ffff, DMAb: 65535, TU: 0x0986ffff (-49)
TIMER2: 0x01ffffff, SWBA: 65535, TU: 0x09bfffff (+3735503)
TIMER3: 0x00000031, ATIM:    49, TU: 0x09870031 (+1)
TSF: 0x000000261a036700, TSFTU: 32985, TU: 0x098680d9
BEACON: 0x00000000
LAST_TSTP: 0x1a029185

Ostatnio edytowany przez Renia (2015-04-22 07:40:08)


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

#2  2015-04-21 15:01:40

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Ustaw sobie REGDOMAIN=PL w /etc/default/crda -- pakiet crda, jeśli nie masz zainstalowanego jeszcze.

Offline

 

#3  2015-04-21 15:08:05

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Tak mam ustawione i nie działa pod nowymi kernelami.


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

#4  2015-04-21 15:31:22

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Próbowałaś załadować moduł [b]cfg80211[/b] z opcją [i]ieee80211_regdom PL[/i]  ?


[b]Problemy rozwiązujemy na forum nie na PW[/b] -> Niech inni na tym skorzystają.
[url=http://dug.net.pl/]Polski portal Debiana[/url]

Offline

 

#5  2015-04-21 16:55:35

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Kod:

cat /etc/default/crda

REGDOMAIN=PL

Kod:

modprobe -r ath5k

modprobe -r cfg80211

modprobe cfg80211 ieee80211_regdom="PL" -v
insmod /lib/modules/3.19.3/kernel/net/wireless/cfg80211.ko ieee80211_regdom="PL" ieee80211_regdom=PL

modprobe ath5k

ifconfig wlan1 up

iw list |grep Frequencies -A 15
        Frequencies:
            * 2412 MHz [1] (30.0 dBm)
            * 2417 MHz [2] (30.0 dBm)
            * 2422 MHz [3] (30.0 dBm)
            * 2427 MHz [4] (30.0 dBm)
            * 2432 MHz [5] (30.0 dBm)
            * 2437 MHz [6] (30.0 dBm)
            * 2442 MHz [7] (30.0 dBm)
            * 2447 MHz [8] (30.0 dBm)
            * 2452 MHz [9] (30.0 dBm)
            * 2457 MHz [10] (30.0 dBm)
            * 2462 MHz [11] (30.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)

Dopisałam sobie options cfg80211 ieee80211_regdom="PL", żeby po restarcie domyślnie ruszało, ale też bez rezultatu.


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

#6  2015-04-21 17:47:02

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

A jaki masz log w systemie podczas łączenia się z siecia wifi? Szukaj czegoś w stylu:

Kod:

Apr 21 17:44:52 morfikownia kernel: wlan0: associated
Apr 21 17:44:52 morfikownia kernel: cfg80211: Calling CRDA for country: PL
Apr 21 17:44:52 morfikownia kernel: cfg80211: Regulatory domain changed to country: PL
Apr 21 17:44:52 morfikownia kernel: cfg80211:  DFS Master region: ETSI
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Apr 21 17:44:52 morfikownia kernel: cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

Może ci nie ustawia?

Offline

 

#7  2015-04-21 18:28:32

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Masz rację, nie ustawia:

Kod:

[    7.134923] cfg80211: Calling CRDA to update world regulatory domain
[    7.134936] cfg80211: Calling CRDA to update world regulatory domain
[    7.187029] ath5k 0000:03:02.0: registered as 'phy0'
[    7.474510] systemd-udevd[208]: starting version 215
[    7.845775] ath: EEPROM regdomain: 0x0
[    7.845777] ath: EEPROM indicates default country code should be used
[    7.845778] ath: doing EEPROM country->regdmn map search
[    7.845780] ath: country maps to regdmn code: 0x3a
[    7.845781] ath: Country alpha2 being used: US
[    7.845781] ath: Regpair used: 0x3a
[    7.870133] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    7.870256] cfg80211: Calling CRDA to update world regulatory domain
[    7.870268] ath5k: phy0: Atheros AR5413 chip found (MAC: 0xa4, PHY: 0x61)

Mam równolegle drugą kartę Realteka i dla niej jest dostępne 13 kanałów:

Kod:

[   10.964426] EEPROM ID = 0x8129
[   10.964673] usbcore: registered new interface driver r8188eu
[   11.519357] cfg80211: World regulatory domain updated:
[   11.519366] cfg80211:  DFS Master region: unset
[   11.519369] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.519374] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.519378] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.519382] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   11.519386] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.519391] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.519395] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   11.519398] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   11.519402] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.519448] cfg80211: Calling CRDA for country: PL
[   11.655959] cfg80211: Regulatory domain changed to country: PL
[   11.655963] cfg80211:  DFS Master region: ETSI
[   11.655964] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.655966] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.655968] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   11.655970] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.655972] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   11.655973] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   11.655983] cfg80211: Calling CRDA for country: US
[   11.658273] cfg80211: Current regulatory domain intersected:
[   11.658276] cfg80211:  DFS Master region: unset
[   11.658277] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   11.658280] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   11.658282] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   11.658284] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   11.658295] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)

Jak zmusić do tego samego Tp-Linka?


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

#8  2015-04-21 19:20:40

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Istnieje możliwość wywalenia tego pakietu crda i wtedy prawdopodobnie da radę odblokować te 2 dodatkowe kanały ale w takim przypadku, prawdopodobnie przestanie ci działać ta druga karta. Bo te co się trzymają standardów można ustawiać via crda, a te co się nie trzymają, mają wdrukowane na sztywno i wtedy się zaczyna chrzanić wszystko. Twój wybór jak to sobie ustawisz. Jeśli korzystasz na maszynie tylko z jednej karty, to sobie wywal ten pakiet crda.

Ostatnio edytowany przez morfik (2015-04-21 19:24:08)

Offline

 

#9  2015-04-21 19:36:04

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Po odinstalowaniu CRDA karta WiFi Realtek działa bez zarzutu i wykrywa 13 kanałów. Niestety Tp-Link nadal tylko swoje 11 więc już nie wiem jak to ugryźć.


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

#10  2015-04-21 19:52:12

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

U mnie na broadcomie ten trik działał i szło odblokować na nim 12 i 13, także też nie wiem, może ta karta tak ma. xD

Offline

 

#11  2015-04-21 22:17:12

  Renia - Użytkownik

Renia
Użytkownik
Zarejestrowany: 2014-08-29

Re: [SOLVED] Brak 12 i 13 kanału WiFi - moduł ath5k.

Skompilowałam archaiczne madwifi i jest tak samo. A pod Windowsem wszystko w porządku.

Edit:
Udało się tym sposobem: https://bbs.archlinux.org/viewtopic.php?id=179738 oraz http://www.m67.org/index.php?option=com_content&view=article&id=45:skryot-zmiany-mac-w-eprom-atheros-madfifi&catid=20:linux&Itemid=47
Działa zarówno z madwifi: https://github.com/proski/madwifi jak też ath5k. Mam wreszcie 12 i 13 kanał :)

Kod:

/usr/src/ath_info# ./ath_info -w $athmem regdomain 68

 -==Device Information==-
MAC Revision: 5413  (0xa4)
Device type:  2
5GHz PHY Revision: 5413  (0x63)
2GHz PHY Revision: 5413  (0x63)

/============== EEPROM Information =============\
| EEPROM Version:   5.3 | EEPROM Size:  16 kbit |
| EEMAP:              2 | Reg. Domain:     0x00 |
|================= Capabilities ================|
| 802.11a Support:  yes | Turbo-A disabled: yes |
| 802.11b Support:  yes | Turbo-G disabled: yes |
| 802.11g Support:  yes | 2GHz XR disabled: no  |
| RFKill  Support:  no  | 5GHz XR disabled: no  |
| 32kHz   Crystal:  no  |                       |
\===============================================/

/=========================================================\
|          Calibration data common for all modes          |
|=========================================================|
|          CCK/OFDM gain delta:             1             |
|          CCK/OFDM power delta:            5             |
|          Scaled CCK delta:                5             |
|          2GHz Antenna gain:               1             |
|          5GHz Antenna gain:               4             |
|          Turbo 2W maximum dBm:           38             |
|          Target power start:          0x1b1             |
|          EAR Start:                   0x213             |
\=========================================================/

/=========================================================\
|          Calibration data for 802.11a operation         |
|=========================================================|
| I power:              0x08 | Q power:              0x1f |
| Use fixed bias:       0x00 | Max turbo power:      0x26 |
| Max XR power:         0x22 | Switch Settling Time: 0x2d |
| Tx/Rx attenuation:    0x0f | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x0f | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0b |
| False detect backoff: 0x00 | Noise Floor Threshold: -54 |
| ADC desired size:      -32 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           5 | db 2:                    5 |
| Octave Band 3:           5 | db 3:                    5 |
\=========================================================/
/==================== Turbo mode infos ===================\
| Switch Settling time: 0x5a | Tx/Rx margin:         0x0b |
| Tx/Rx attenuation:    0x0f | ADC desired size:      -32 |
| PGA desired size:      -80 |                            |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 4900 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5180 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5240 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5320 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5500 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5700 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5745 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5825 |    17.00   |  16.00   |   14.00   |  13.00   |
|======|============|==========|===========|==========|
| 5360 |    19.00   |  19.00   |   19.00   |  19.00   |
|======|============|==========|===========|==========|
| 5720 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 5170 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     5   |       11    |       26    |       59    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    18.00    |    22.00    |    25.00    |
|      |     8   |       19    |       30    |       51    |       84    |
|======|=========|=============|=============|=============|=============|
| 5220 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    13.50    |     0.00    |
|      |     0   |        0    |       10    |       36    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    18.00    |    22.00    |    25.00    |
|      |     7   |       13    |       22    |       42    |       66    |
|======|=========|=============|=============|=============|=============|
| 5320 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    13.50    |     0.00    |
|      |     0   |       13    |       28    |       62    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    19.00    |    22.00    |    25.50    |
|      |    10   |       19    |       34    |       51    |       87    |
|======|=========|=============|=============|=============|=============|
| 5400 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     0   |        5    |       21    |       57    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    25.00    |
|      |     9   |       19    |       32    |       55    |       93    |
|======|=========|=============|=============|=============|=============|
| 5520 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     0   |        1    |       21    |       65    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    24.00    |
|      |     9   |       18    |       31    |       58    |       84    |
|======|=========|=============|=============|=============|=============|
| 5620 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     7   |       13    |       26    |       70    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.00    |    24.00    |
|      |    12   |       22    |       39    |       61    |       97    |
|======|=========|=============|=============|=============|=============|
| 5725 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.50    |     9.00    |    12.50    |     0.00    |
|      |    11   |       18    |       59    |       98    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    13.50    |    17.00    |    20.50    |    22.00    |
|      |    17   |       31    |       50    |       80    |      101    |
|======|=========|=============|=============|=============|=============|
| 5825 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |     1   |       21    |       51    |       92    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.50    |    23.50    |
|      |    15   |       30    |       48    |       85    |      112    |
\========================================================================/

/=========================================================\
|          Calibration data for 802.11b operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x00 |
| Use fixed bias:       0x00 | Max turbo power:      0x00 |
| Max XR power:         0x00 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x21 | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x07 |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0a |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x00 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq |   1Mbit/s  | 2Mbit/s  | 5.5Mbit/s | 11Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    19.00   |  19.00   |   19.00   |  19.00   |
|======|============|==========|===========|==========|
| 2484 |    19.00   |  19.00   |   19.00   |  19.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 2412 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    12.50    |     0.00    |
|      |    17   |       34    |       73    |      129    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    18.00    |    21.50    |    22.50    |
|      |    23   |       40    |       68    |      105    |      123    |
|======|=========|=============|=============|=============|=============|
| 2472 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    14   |       32    |       68    |      129    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.00    |    17.50    |    21.00    |    23.50    |
|      |    23   |       37    |       63    |       96    |      136    |
\========================================================================/

/=========================================================\
|          Calibration data for 802.11g operation         |
|=========================================================|
| I power:              0x00 | Q power:              0x10 |
| Use fixed bias:       0x01 | Max turbo power:      0x26 |
| Max XR power:         0x24 | Switch Settling Time: 0x28 |
| Tx/Rx attenuation:    0x21 | TX end to XLNA On:    0x02 |
| TX end to XPA Off:    0x00 | TX end to XPA On:     0x0e |
| 62db Threshold:       0x1c | XLNA gain:            0x0d |
| XPD:                  0x01 | XPD gain:             0x0a |
| I gain:               0x00 | Tx/Rx margin:         0x0a |
| False detect backoff: 0x00 | Noise Floor Threshold:  -1 |
| ADC desired size:      -38 | PGA desired size:      -80 |
|=========================================================|
| Antenna control   0:  0x00 | Antenna control   1:  0x02 |
| Antenna control   2:  0x25 | Antenna control   3:  0x25 |
| Antenna control   4:  0x05 | Antenna control   5:  0x05 |
| Antenna control   6:  0x01 | Antenna control   7:  0x26 |
| Antenna control   8:  0x26 | Antenna control   9:  0x06 |
| Antenna control  10:  0x06 | Antenna control  11:  0x05 |
|=========================================================|
| Octave Band 0:           5 | db 0:                    5 |
| Octave Band 1:           5 | db 1:                    5 |
| Octave Band 2:           0 | db 2:                    0 |
| Octave Band 3:           0 | db 3:                    0 |
\=========================================================/
/==================== Turbo mode infos ===================\
| Switch Settling time: 0x28 | Tx/Rx margin:         0x0a |
| Tx/Rx attenuation:    0x21 | ADC desired size:      -32 |
| PGA desired size:      -80 |                            |
\=========================================================/
/============== Per rate power calibration ===========\
| Freq | 6-24Mbit/s | 36Mbit/s |  48Mbit/s | 54Mbit/s |
|======|============|==========|===========|==========|
| 2412 |    18.00   |  17.00   |   16.00   |  15.00   |
|======|============|==========|===========|==========|
| 2437 |    18.00   |  17.00   |   16.00   |  15.00   |
|======|============|==========|===========|==========|
| 2472 |    18.00   |  17.00   |   16.00   |  15.00   |
\=====================================================/
/====================== Per channel power calibration ===================\
| Freq |  pwr_i  |    pwr_0    |    pwr_1    |    pwr_2    |    pwr_3    |
|      | pddac_i |   pddac_0   |   pddac_1   |   pddac_2   |   pddac_3   |
|======|=========|=============|=============|=============|=============|
| 2412 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.50    |     0.00    |
|      |    11   |       26    |       66    |       66    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    17.50    |    20.50    |    22.50    |
|      |    20   |       38    |       58    |       87    |      112    |
|======|=========|=============|=============|=============|=============|
| 2437 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    13   |       29    |       61    |      113    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    14.50    |    18.00    |    21.00    |    23.00    |
|      |    21   |       38    |       62    |       93    |      119    |
|======|=========|=============|=============|=============|=============|
| 2472 |         |             |             |             |             |
|------|---------|-------------|-------------|-------------|-------------|
|      |     0   |     4.00    |     8.50    |    13.00    |     0.00    |
|      |    11   |       25    |       58    |      117    |        0    |
|------|---------|-------------|-------------|-------------|-------------|
|      |    10   |    13.50    |    17.50    |    21.00    |    23.50    |
|      |    20   |       32    |       56    |       89    |      126    |
\========================================================================/

GPIO registers: CR 0x00000003, DO 0x00000000, DI 0x00000010
           regdomain (0x00bf) := 0x0068
WARNING: The write function may easy brick your device or
violate state regulation on frequency usage.
Proceed on your own risk!
Shall I write the above value(s)? (y/n)
y

Kod:

modprobe -r ath_pci
modprobe ath_pci countrycode=616


iwlist ath0 channel
ath0      45 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency=2.417 GHz (Channel 2)

Kod:

cat /etc/modprobe.d/ath5.conf

options cfg80211 ieee80211_regdom=PL
options lbm_cw_cfg80211 ieee80211_regdom=PL


modprobe -r ath5k
modprobe -r cfg80211
modprobe ath5k


dmesg | grep ath

[ 8076.709013] ath: EEPROM regdomain: 0x8268
[ 8076.709015] ath: EEPROM indicates we should expect a country code
[ 8076.709017] ath: doing EEPROM country->regdmn map search
[ 8076.709018] ath: country maps to regdmn code: 0x37
[ 8076.709019] ath: Country alpha2 being used: PL
[ 8076.709019] ath: Regpair used: 0x37
[ 8076.709021] ath: regdomain 0x8268 dynamically updated by country IE
[ 8875.945876] ath5k 0000:03:02.0: registered as 'phy0'
[ 8876.603545] ath: EEPROM regdomain: 0x68
[ 8876.603548] ath: EEPROM indicates we should expect a direct regpair map
[ 8876.603551] ath: Country alpha2 being used: 00
[ 8876.603552] ath: Regpair used: 0x68
[ 8876.604902] ath5k: phy0: Atheros AR5413 chip found (MAC: 0xa4, PHY: 0x61)


iwlist wlan1 channel
wlan1     32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency=2.442 GHz (Channel 7)

Dziękuję za naprowadzenie na właściwy trop.

Ostatnio edytowany przez Renia (2015-04-22 17:06:12)


Instalacja E-Deklaracje na Debianie 64-bit:
https://forum.dug.net.pl/viewtopic.php?pid=301794#p301794

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.015 seconds, 14 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00119 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='13.58.203.255' WHERE u.id=1
0.00097 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '13.58.203.255', 1732791818)
0.00047 SELECT * FROM punbb_online WHERE logged<1732791518
0.00078 DELETE FROM punbb_online WHERE ident='13.58.38.184'
0.00081 DELETE FROM punbb_online WHERE ident='18.119.122.140'
0.00084 DELETE FROM punbb_online WHERE ident='18.216.104.106'
0.00099 DELETE FROM punbb_online WHERE ident='3.128.226.128'
0.00096 DELETE FROM punbb_online WHERE ident='3.21.21.209'
0.00057 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=27314 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00315 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=27314 ORDER BY p.id LIMIT 0,25
0.00105 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=27314
Total query time: 0.01199 s