From patchwork Tue Nov 23 19:45:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Kossifidis X-Patchwork-Id: 350701 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oANJjc4V030222 for ; Tue, 23 Nov 2010 19:45:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207Ab0KWTpg (ORCPT ); Tue, 23 Nov 2010 14:45:36 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:41631 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751064Ab0KWTpg (ORCPT ); Tue, 23 Nov 2010 14:45:36 -0500 Received: by ewy5 with SMTP id 5so2682097ewy.19 for ; Tue, 23 Nov 2010 11:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=TRZUDIESf6vR6AAv2/JAQ4lc9iEnDtuRnqwns9Ds9Lk=; b=SnlkqthHg0kDJCmKm4pKrhm6wGNFYmxppXDGIdoInQFAjb8AGTTRqPlt6EmMxAYxwu rWgBtrkvVb+HMP9VjxGLv/5Xd1tHEPUm2k0Y3n4hODqoYezmRjloWRN+R4yXT2fiMc4q QY0Qrth3xj8t5fMIMAMAKLOxWQJrHtplzQ0wE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=nU1ONEhrGCgOdrsh+GbPqpngCBaHjIST+3DPiVcFWSoqg/Nz1kKs7JHPnR2f8D4c8O nsYYscXUcbN2qfC7Ejg55nNnUKIzOMvUVq7s8H3slu+T1o5L8xYSQKxv4wX4o/8W5mxb +NSsXfQ1yayKLVQndZ1zhX/oNoPxpvHl2UooU= Received: by 10.213.29.134 with SMTP id q6mr2266039ebc.19.1290541534718; Tue, 23 Nov 2010 11:45:34 -0800 (PST) Received: from localhost ([139.91.73.37]) by mx.google.com with ESMTPS id v51sm6136903eeh.16.2010.11.23.11.45.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 23 Nov 2010 11:45:24 -0800 (PST) Date: Tue, 23 Nov 2010 21:45:21 +0200 From: Nick Kossifidis To: ath5k-devel@venema.h4ckr.net, linux-wireless@vger.kernel.org Cc: linville@tuxdriver.com, me@bobcopeland.com, mcgrof@gmail.com, jirislaby@gmail.com, nbd@openwrt.org, br1@einfach.org Subject: [PATCH 26/30] ath5k: Skip tx power setting on AR5210 for now Message-ID: <20101123194521.GZ4303@makis.mantri> Mail-Followup-To: ath5k-devel@lists.ath5k.org, linux-wireless@vger.kernel.org, linville@tuxdriver.com, me@bobcopeland.com, mcgrof@gmail.com, jirislaby@gmail.com, nbd@openwrt.org, br1@einfach.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Nov 2010 19:45:44 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 8790f0a..31239ab 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c @@ -3109,6 +3109,9 @@ ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel, /* Initialize TX power table */ switch (ah->ah_radio) { + case AR5K_RF5110: + /* TODO */ + return 0; case AR5K_RF5111: type = AR5K_PWRTABLE_PWR_TO_PCDAC; break;