Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Atheros, jak zmienić countrycode
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Mon Oct 08, 2007 2:48 pm    Post subject: Atheros, jak zmienić countrycode Reply with quote

Code:
00:09.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
        Subsystem: Atheros Communications, Inc. Unknown device 1051
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at febe0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

dmesg:
ath_pci: 0.9.4.5 (0.9.3.2)
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 18 (level, low) -> IRQ 18
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xfebe0000, irq=18

Code:

dev.wifi0.countrycode = 156
Chiny

Parametr countrycode=616 przy modprobe ath_pci jest zwyczajnie ignorowany, próbowałem ar5k [po długich poszukiwaniach w końcu udało mi się znaleźć źródła], ale
Code:
# ./ar5k 0xfebe0000 0x268
Unicestwiony

# dmesg | tail -n 21
ar5k: Corrupted page table at address 2b965dd25010
PGD 86c5067 PUD 1e8f5067 PMD 7259067 PTE fffffffffebe6027
Bad pagetable: 000f [1] SMP
CPU 0
Modules linked in: ath_pci wlan_tkip wlan_ccmp wlan_scan_sta ath_rate_sample wlan ath_hal(P) snd_pcm_oss snd_mixer_oss fuse snd_usb_audio snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_timer snd_page_alloc snd_usb_lib snd_rawmidi snd_hwdep snd nvidia(P) r8169 truecrypt
Pid: 7749, comm: ar5k Tainted: P       2.6.22-kamikaze4-endar-v17 #10
RIP: 0033:[<000000000040073d>]  [<000000000040073d>]
RSP: 002b:00007fff4cd8a080  EFLAGS: 00010202
RAX: 00002b965dd25010 RBX: 0000003ed221abc0 RCX: 0000003ed32be31a
RDX: 00007fff4cd8a0ee RSI: 00000000000000bf RDI: 00002b965dd1f000
RBP: 00007fff4cd8a0b0 R08: 0000000000000003 R09: fffffffffebe0000
R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fff4cd8a1f0 R14: 0000000000000000 R15: 0000000000000000
FS:  00002b965dd38230(0000) GS:ffffffff80738000(0000) knlGS:00000000f7c976d0
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00002b965dd25010 CR3: 0000000007ba9000 CR4: 00000000000006e0
Process ar5k (pid: 7749, threadinfo ffff810018fac000, task ffff81002d7fd7b0)

RIP  [<000000000040073d>]
 RSP <00007fff4cd8a080>
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Mon Oct 08, 2007 7:14 pm    Post subject: Reply with quote

a chcesz zwiekszyc moc karty?
Back to top
View user's profile Send private message
manwe_
l33t
l33t


Joined: 01 Feb 2006
Posts: 632
Location: Kraków/Cracow, Poland

PostPosted: Mon Oct 08, 2007 10:17 pm    Post subject: Reply with quote

Z tego co przeglądałem listę krajów to nigdzie nie można wyjść powyżej 18 dBm, ale gdyby i to się udało - tym lepiej. Ostatnio zmieniłem na Atheros'a i testuję wszystkie opcje, trafiłem na ten countrycode i utknąłem - a tego nie lubię :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum