From patchwork Wed Jun 10 05:14:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz.Dziedzic@tieto.com X-Patchwork-Id: 6576571 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3A3289F3D1 for ; Wed, 10 Jun 2015 05:15:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A51D2055C for ; Wed, 10 Jun 2015 05:15:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8860C20523 for ; Wed, 10 Jun 2015 05:15:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2YMJ-0002PI-FV; Wed, 10 Jun 2015 05:15:27 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2YMH-0001Aa-B8 for ath10k@lists.infradead.org; Wed, 10 Jun 2015 05:15:26 +0000 Received: by wigg3 with SMTP id g3so35854701wig.1 for ; Tue, 09 Jun 2015 22:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id; bh=c1KrM9ZSMOtJSsZ6Y6hgvMvAXF/9zsOQOOG3PaurBew=; b=xfqksfS72vXh1RXpWVCjMGspOh0ouE1C+WyCASJuX7DFU19CtzvCimaTCSzww4uZDR Ky76LOsogD3ZIM5T8UX+5pUnv8nrO0kO+kkfhF+KMiSN5uG/GCBF1qVeDBu1VjkUuDYc JGnVG/erOIe/VBfpNi3M2O04IXAUbN5wtRINQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=c1KrM9ZSMOtJSsZ6Y6hgvMvAXF/9zsOQOOG3PaurBew=; b=RrmFcRB4HMLR3nj63x8kXqouIpQBUciRe0UbmdfIffB4w0Jldi3GRufdpZq3N2JyXh Paz7f4i0FM4aD4SjuGxqNbDwRoQOVa2vIGcD4wgvuVuy1/R57jO+5Bs+ce/0j4ydmZJ3 BA5LU2P1AGJKjRH3QsHpG8WfGZQk+9FavKhlDQUptjBxK4pglwqQpRQWm9MtrfqgtR+0 iYzWU0JRmUH+XhxPPMqxnNkERuPlsTl9W7C/Ckafxk0QRPcKk9CJGGbGT6TJqVNsHaYG FHGPrSpVRMUEeveZDLt0AGrk1pEk6NdpxCumd6UfDa/v1pa/jlIvn/OQ49sVix281JlI nZJA== X-Gm-Message-State: ALoCoQl3bSZXAM5mlWlbCCdsmTqKTyaO61XGYO3zDP+8a9DSnoTMs18omLAPosK8L1NUYSYijWXWI/gq9Gq+eomH1z1Vs6+9iIV8ckL4JUhx2cjDJRn6GC1tPh71BlgF9YMQsnxK0C1+HhKTyDAWtRtxWddbg2qj7NVAjgvxGwH+Z3+dx3pDHrhGN8usMNoRK855EJziKLqq X-Received: by 10.194.192.166 with SMTP id hh6mr2471535wjc.127.1433913297042; Tue, 09 Jun 2015 22:14:57 -0700 (PDT) Received: from localhost.localdomain ([91.198.246.8]) by mx.google.com with ESMTPSA id wx9sm12541117wjb.6.2015.06.09.22.14.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jun 2015 22:14:56 -0700 (PDT) From: Janusz Dziedzic To: ath10k@lists.infradead.org Subject: [PATCH v2] ath10k: enable VHT for IBSS Date: Wed, 10 Jun 2015 07:14:44 +0200 Message-Id: <1433913284-18444-1-git-send-email-janusz.dziedzic@tieto.com> X-Mailer: git-send-email 1.9.1 X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150609_221525_525388_E11F4661 X-CRM114-Status: UNSURE ( 6.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Janusz Dziedzic , linux-wireless@vger.kernel.org X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable VHT support for IBSS, while mac80211/cfg80211 and wpa_supplicant already support this. In my test env, ath10k 2x2 I get: (udp) ath10k-1 >>>> ath10k-2 (server) - speed: 419 Mbits/sec (tcp) ath10k-1 >>>> ath10k-2 (server) - speed: 404 Mbits/sec During tests I used wpa_supplicant (current version), which already support IBSS VHT, and choose highest available BW. Signed-off-by: Janusz Dziedzic --- drivers/net/wireless/ath/ath10k/mac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index f4de717..14a8f25 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -6949,6 +6949,8 @@ int ath10k_mac_register(struct ath10k *ar) goto err_free; } + wiphy_ext_feature_set(ar->hw->wiphy, NL80211_EXT_FEATURE_VHT_IBSS); + /* * on LL hardware queues are managed entirely by the FW * so we only advertise to mac we can do the queues thing