From patchwork Fri Dec 3 04:12:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Kossifidis X-Patchwork-Id: 376701 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 oB34CgD6016552 for ; Fri, 3 Dec 2010 04:12:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758458Ab0LCEMk (ORCPT ); Thu, 2 Dec 2010 23:12:40 -0500 Received: from mail-ew0-f45.google.com ([209.85.215.45]:63673 "EHLO mail-ew0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758448Ab0LCEMk (ORCPT ); Thu, 2 Dec 2010 23:12:40 -0500 Received: by ewy10 with SMTP id 10so5229020ewy.4 for ; Thu, 02 Dec 2010 20:12:39 -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=FsulRgmu+dS1jbR6mAhaGqsnm6FZ3jNYVAASHUydlYU=; b=kxBCabMiFNBL9t3TSMztu6EU58eJhdxJG4Vu+4p1rNXu96CVuoUWk5sz6z/sgeJO+U eiVAATUEYmWSUP+Prqm8qqKSiTgs0H2RMYtZtvlxgJD9ZnKyr2+KHA7UIx7TUCRjkF8S WRhOk1w5jxjcP2ipfpxkFRZffLLXx+6/anT9g= 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=n7EVF/ur/mbFPPq5B361BjI2Fu4fVzxDjHs0e1hMfnz17b8FsT+5EZYvTjqTZTyKUO am7WRoQBkF9Ajoa1Vjz42eqnlPai598fDMw71QVCSBD3UyzVvcuG29dRLIzt8368OuIy w7ZTvwtF3Jyac2a8NhhjSNlfzVAvq2+YKAJ9Y= Received: by 10.213.32.197 with SMTP id e5mr26630ebd.99.1291349559107; Thu, 02 Dec 2010 20:12:39 -0800 (PST) Received: from localhost ([139.91.73.37]) by mx.google.com with ESMTPS id v56sm1071922eeh.20.2010.12.02.20.12.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Dec 2010 20:12:38 -0800 (PST) Date: Fri, 3 Dec 2010 06:12:39 +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, sedat.dilek@googlemail.com Subject: [PATCH 6/6] ath5k: Include tx ack reporting on hw flags Message-ID: <20101203041239.GF2988@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, sedat.dilek@googlemail.com 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]); Fri, 03 Dec 2010 04:12:42 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index e68f248..cb4ecfa 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c @@ -2341,8 +2341,9 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops) /* Initialize driver private data */ SET_IEEE80211_DEV(hw, sc->dev); hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | - IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | - IEEE80211_HW_SIGNAL_DBM; + IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | + IEEE80211_HW_SIGNAL_DBM | + IEEE80211_HW_REPORTS_TX_ACK_STATUS; hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_AP) |