Gentoo Archives: gentoo-user

From: Zhu Sha Zang <zhushazang@×××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel config for wifi on AMD_64?
Date: Mon, 24 Jan 2011 00:14:35
Message-Id: 4D3CC410.70804@yahoo.com.br
In Reply to: [gentoo-user] Kernel config for wifi on AMD_64? by Walter Dnes
1 Em 23-01-2011 20:02, Walter Dnes escreveu:
2 > I got myself an AMD-based Acer notebook recently. The wireless chip
3 > shows up under lspci -v as...
4 >
5 > 06:00.0 Network controller: Atheros Communications Inc. AR928X Wireless
6 > Network Adapter (PCI-Express) (rev 01)
7 > Subsystem: Foxconn International, Inc. Device e01f
8 > Flags: bus master, fast devsel, latency 0, IRQ 10
9 > Memory at d0300000 (64-bit, non-prefetchable) [size=64K]
10 > Capabilities: [40] Power Management version 2
11 > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
12 > Capabilities: [60] Express Legacy Endpoint, MSI 00
13 > Capabilities: [90] MSI-X: Enable- Count=1 Masked-
14 > Capabilities: [100] Advanced Error Reporting
15 > Capabilities: [140] Virtual Channel <?>
16 > Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
17 >
18 > I checked Google and the Gentoo wiki for the proper kernel config.
19 > Just one problem... the docs I could find were for older kernels. I'm
20 > running 2.6.36-gentoo-r5 and the options layout is quite different from
21 > what I see in the docs. Here's what I've set in "make menuconfig",
22 > based on gut feeling...
23 >
24 > --- Wireless
25 > <*> cfg80211 - wireless configuration API
26 > [ ] nl80211 testmode command
27 > [ ] enable developer warnings
28 > [ ] cfg80211 regulatory debugging
29 > [*] enable powersave by default
30 > [ ] cfg80211 DebugFS entries
31 > [ ] cfg80211 wireless extensions compatibility
32 > <*> Common routines for IEEE802.11 drivers
33 > [ ] lib80211 debugging messages (NEW)
34 > <*> Generic IEEE 802.11 Networking Stack (mac80211)
35 > Default rate control algorithm (Minstrel) --->
36 > [ ] Enable mac80211 mesh networking (pre-802.11s) support
37 > [*] Enable LED triggers
38 > [ ] Export mac80211 internals in DebugFS
39 > [ ] Select mac80211 debugging features --->
40 >
41 > And a couple of levels deep under "Device drivers", I've selected...
42 >
43 > <*> Atheros 802.11n wireless cards support
44 >
45 > Does it look OK, or would anyone recommend changes? BTW, I'm running
46 > pure 64-bit mode.
47 >
48
49 Hi there, i have a Lenovo Z360 with this wifi device:
50
51 03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless
52 Network Adapter (PCI-Express) (rev 01)
53 Subsystem: Lenovo Device 30a1
54 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
55 ParErr- Stepping- SERR+ FastB2B- DisINTx-
56 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
57 <TAbort- <MAbort- >SERR- <PERR- INTx-
58 Latency: 0, Cache Line Size: 64 bytes
59 Interrupt: pin A routed to IRQ 17
60 Region 0: Memory at f0500000 (64-bit, non-prefetchable) [size=64K]
61 Capabilities: [40] Power Management version 3
62 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA
63 PME(D0+,D1+,D2-,D3hot+,D3cold-)
64 Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
65 Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
66 Address: 00000000 Data: 0000
67 Capabilities: [60] Express (v2) Legacy Endpoint, MSI 00
68 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
69 <512ns, L1 <64us
70 ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
71 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
72 Unsupported-
73 RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
74 MaxPayload 128 bytes, MaxReadReq 512 bytes
75 DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr-
76 TransPend-
77 LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
78 Latency L0 <512ns, L1 <64us
79 ClockPM- Surprise- LLActRep- BwNot-
80 LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled-
81 Retrain- CommClk+
82 ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
83 LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
84 DLActive- BWMgmt- ABWMgmt-
85 DevCap2: Completion Timeout: Not Supported, TimeoutDis+
86 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
87 LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance-
88 SpeedDis-, Selectable De-emphasis: -6dB
89 Transmit Margin: Normal Operating Range,
90 EnterModifiedCompliance- ComplianceSOS-
91 Compliance De-emphasis: -6dB
92 LnkSta2: Current De-emphasis Level: -6dB
93 Capabilities: [100 v1] Advanced Error Reporting
94 UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
95 UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
96 UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt-
97 UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
98 UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt-
99 UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
100 CESta: RxErr- BadTLP+ BadDLLP- Rollover+ Timeout+
101 NonFatalErr-
102 CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout-
103 NonFatalErr+
104 AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+
105 ChkEn-
106 Capabilities: [140 v1] Virtual Channel
107 Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
108 Arb: Fixed- WRR32- WRR64- WRR128-
109 Ctrl: ArbSelect=Fixed
110 Status: InProgress-
111 VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
112 Arb: Fixed- WRR32- WRR64- WRR128- TWRR128-
113 WRR256-
114 Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
115 Status: NegoPending- InProgress-
116 Capabilities: [160 v1] Device Serial Number 00-15-17-ff-ff-24-14-12
117 Capabilities: [170 v1] Power Budgeting <?>
118 Kernel driver in use: ath9k
119 Kernel modules: ath9k
120
121 I've attached my kernel configuration to your analise.
122
123 Of course my wireless are working.
124
125 Bye

Attachments

File name MIME type
CONFIG-2.6.37 text/plain

Replies

Subject Author
Re: [gentoo-user] Kernel config for wifi on AMD_64? Walter Dnes <waltdnes@××××××××.org>