From owner-cvs-src-old@FreeBSD.ORG Sat Jan 9 04:00:43 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D1101065740 for ; Sat, 9 Jan 2010 04:00:43 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3AECD8FC08 for ; Sat, 9 Jan 2010 04:00:43 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0940h5N080403 for ; Sat, 9 Jan 2010 04:00:43 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0940hWN080402 for cvs-src-old@freebsd.org; Sat, 9 Jan 2010 04:00:43 GMT (envelope-from keramida@repoman.freebsd.org) Message-Id: <201001090400.o0940hWN080402@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to keramida@repoman.freebsd.org using -f From: Giorgos Keramidas Date: Sat, 9 Jan 2010 04:00:22 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/iwn if_iwn.c if_iwnvar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 04:00:43 -0000 keramida 2010-01-09 04:00:22 UTC FreeBSD src repository Modified files: sys/dev/iwn if_iwn.c if_iwnvar.h Log: SVN rev 201882 on 2010-01-09 04:00:22Z by keramida Revert iwn channel-argument handling of set_txpower() to r201822 Pass the channel argument as a real argument and not through RXON. The RXON version seems to have problem with both the older 228.57.2.23 firmware and the latest 228.61.2.24 version resulting in device initialization errors like: wpa_supplicant[2928]: Failed to initiate AP scan. kernel: firmware error log: kernel: error type = "SYSASSERT" (0x00000005) kernel: program counter = 0x0000147C kernel: source line = 0x0000058B kernel: error data = 0x0000058B00000000 kernel: branch link = 0x0000145A00001492 kernel: interrupt link = 0x000006DE00000000 kernel: time = 7310 ... kernel: iwn0: iwn_config: could not set TX power kernel: iwn0: iwn_init_locked: could not configure device, error 35 By passing the current channel to hal->set_txpower() the firmware error is fixed, at least for the 4965 chipset of my Thinkpad and the ones tested by Bernhard. Submitted by: Bernhard Schmidt Approved by: rpaulo Revision Changes Path 1.23 +17 -12 src/sys/dev/iwn/if_iwn.c 1.6 +2 -1 src/sys/dev/iwn/if_iwnvar.h