From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Walker Date: Tue, 26 Jan 2010 19:52:07 -0500 Subject: [ath9k-devel] trouble with DWA-552 and ath9k In-Reply-To: <1264448097.10841.1.camel@mj> References: <4B2A5FA8.8060905@charter.net> <19242.62265.487757.695747@gargle.gargle.HOWL> <4B2AFC5D.1060001@charter.net> <19243.2224.974537.876295@gargle.gargle.HOWL> <4B39058A.6080108@charter.net> <1262033354.3002.11.camel@mj> <4B391DCB.6010500@charter.net> <1262035725.3002.23.camel@mj> <4B393739.9000601@charter.net> <20091229100250.xle1s7oai8ow08k8-cebfxv@webmail.spamcop.net> <4B3A8F7B.2050106@charter.net> <20091230011624.zygif55zaco8000s-cebfxv@webmail.spamcop.net> <4B436D94.4050304@charter.net> <19270.46529.788691.185819@gargle.gargle.HOWL> <4B489D63.9030305@charter.net> <19273.25018.877385.529083@gargle.gargle.HOWL> <4B4D1F4F.7090106@charter.net> <19277.32410.462158.258222@gargle.gargle.HOWL> <4B51E8FC.9030304@charter.net> <1264028629.10023.26.camel@mj> <4B5DE724.7000002@charter.net> <1264448097.10841.1.camel@mj> Message-ID: <4B5F8E37.4070901@charter.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/25/2010 02:34 PM, Pavel Roskin wrote: > On Mon, 2010-01-25 at 13:47 -0500, Brian Walker wrote: > > >> Any update? >> > Please test your card with this patch: > http://marc.info/?l=linux-wireless&m=126427347119805&w=2 > > My Ubiquiti SR71-12 is working with it. > > >> I see several new snapshots at >> http://wireless.kernel.org/download/compat-wireless-2.6/ >> > That patch has not been committed yet. > > Thanks for the pointer to the patch. I have applied it to the 2010-01-24 version of compat-wireless, installed, and rebooted. Here is what is in dmesg after booting: cfg80211: World regulatory domain updated: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5 PCI: setting IRQ 5 as level-triggered ath9k 0000:00:0a.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5 ath: UNDEFINED -> AWAKE ath: serialize_regmode is 0 ath: Eeprom VER: 14, REV: 18 ath: EEPROM regdomain: 0x10 ath: EEPROM indicates we should expect a direct regpair map ath: Country alpha2 being used: CO ath: Regpair used: 0x10 ath: tx DMA: 512 buffers 1 desc/buf ath: tx DMA map: f4c80000 (76320) -> 34c80000 (76320) ath: beacon DMA: 4 buffers 1 desc/buf ath: beacon DMA map: f4c3c000 (576) -> 34c3c000 (576) ath: cachelsz 32 rxbufsize 3872 ath: rx DMA: 512 buffers 1 desc/buf ath: rx DMA map: f4cc0000 (76320) -> 34cc0000 (76320) phy0: Selected rate control algorithm 'ath9k_rate_control' Registered led device: ath9k-phy0::radio Registered led device: ath9k-phy0::assoc Registered led device: ath9k-phy0::tx Registered led device: ath9k-phy0::rx phy0: Atheros AR9280 Rev:2 mem=0xfa3a0000, irq=5 cfg80211: Calling CRDA for country: CO cfg80211: Regulatory domain changed to country: CO (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 20000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 20000 KHz), (300 mBi, 2300 mBm) (5735000 KHz - 5835000 KHz @ 20000 KHz), (300 mBi, 3000 mBm) cfg80211: Calling CRDA for country: US cfg80211: Regulatory domain changed to country: US (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) then after boot and doing "ifconfig wlan0 up" ath: Starting driver with initial channel: 2412 MHz ath: ah->misc_mode 0x4 ath: Attach a VIF of type: 2 ath: ah->misc_mode 0x4 ath: BSS Changed PREAMBLE 0 ath: BSS Changed CTS PROT 0 ath: Marking phy0 as idle ath: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000 ath: RTC stuck in MAC reset ath: Chip reset failed ath: Unable to reset channel 4198050593 (2412Mhz) <7>ath: not-idle: enabling radio ath: Set channel: 2412 MHz ath: tx chmask: 1, rx chmask: 1 ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Failed to stop TX DMA in 100 msec after killing last frame ath: Unable to stop TxDMA. Reset HAL! ath: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000 ath: RTC stuck in MAC reset ath: Chip reset failed ath: Unable to reset hardware; reset status -22 ath: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff ath: (2412 MHz) -> (2412 MHz), conf_is_ht40: 0 ath: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000 ath: RTC stuck in MAC reset ath: Chip reset failed ath: Unable to reset channel (2412 Mhz) reset status -22 ath: Unable to set channel ath: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 7, cw_max: 15, txop: 102 ath: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 15, cw_max: 31, txop: 188 ath: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: 31, cw_max: 1023, txop: 0 ath: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: 31, cw_max: 1023, txop: 0 ath: Set HW RX filter: 0x2307 ath: Set HW RX filter: 0x2307 ADDRCONF(NETDEV_UP): wlan0: link is not ready ath: Set HW RX filter: 0x2307 Those type messages repeat over and over after trying "iwlist wlan0 scan". Also, about half the time I boot and try "iwconfig wlan0 up" the entire system just locks up. Other times the systems locks up (sometimes hours, sometimes days) later for seemingly no reason. Before adding the DWA-552 it had uptimes in excess of 100 days. I've taken to blacklisting the ath9k module unless I am testing a driver fix because this machine is my main firewall and fileserver. Brian