From patchwork Thu Mar 12 12:11:41 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: 5993781 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C2689BF90F for ; Thu, 12 Mar 2015 12:22:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E62812039C for ; Thu, 12 Mar 2015 12:22:09 +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 CD92220397 for ; Thu, 12 Mar 2015 12:22:08 +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 1YW27l-00052t-Bv; Thu, 12 Mar 2015 12:22:01 +0000 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YW1z5-0003wB-4Z for ath10k@lists.infradead.org; Thu, 12 Mar 2015 12:13:04 +0000 Received: by labmn12 with SMTP id mn12so15369439lab.0 for ; Thu, 12 Mar 2015 05:12:35 -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=EFgY9JEalJ3FNyIJGc3NkoZs2QPQCzefgxdgASJF7Ak=; b=xyNP+lWzOaW8uq3fjR3iZvCEF48U1wma2tRm4JzbS6QjHdOYzylv33RfLtDbszOpxv ki76qRWQZdWHL7dEx3XVpgIzSZSWN2Fxjo8UnEHIXEvB1afFMEyAtERIhwkrHtnjfeEV ThT7thcadK8cAB9jASVF1NKOLBMl6UHYCv77k= 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=EFgY9JEalJ3FNyIJGc3NkoZs2QPQCzefgxdgASJF7Ak=; b=WjtuvqZJ54X7Vd01gEruQGaL8l368+9YjIOfJckwAKLViqPccoM2RRb8BS7r/GZH0q UTMsFrOn0nwh2broF2naUYzl2bbrQyoqalEOArO9TwbI2YhqHWo3UB/79C/mNGYs8rMp XgIqzE2+GFLeevETS1EnuYXhNRqVhgykufwx1Uf4A89NI+KfraVeWeSiMOjbOkT3Z/1L Vagbb36E8GOwETUdimjB9sxtiTse8DgaZtPBER6JT18OX7chyFfeELyc3MoFubBugfXt kTDypuUb7kDkdi1Ew/R5w3uIlY/EF34N/V7GwYiRW3jsMofnH5W0/dKtMq8OIQfDYAiZ GUeQ== X-Gm-Message-State: ALoCoQlJRsRKQERxT5fxnWAdINU1a9owChC3QVY0ikQ6pnjVAPNx4aJzqmBIXoToQiKSH2dUOYiAWW+a+mabh6KIjsK28TC/GAAo0qLpYQtBiGImR8SMoCRYJ7zvCHrmAmsWqhqxilezMtRAnQ4Rc64gpzErFaSSw+UQ4EOil+fZGZ4hVzJuV2xS80XoFr7cf/o4+eQCPa12 X-Received: by 10.112.162.167 with SMTP id yb7mr37882380lbb.76.1426162355326; Thu, 12 Mar 2015 05:12:35 -0700 (PDT) Received: from localhost.localdomain (apn-77-113-71-242.dynamic.gprs.plus.pl. [77.113.71.242]) by mx.google.com with ESMTPSA id dz1sm1278143lbc.47.2015.03.12.05.12.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Mar 2015 05:12:34 -0700 (PDT) From: Janusz Dziedzic To: ath10k@lists.infradead.org Subject: [PATCH] ath10k: setup maximum number of supported stations Date: Thu, 12 Mar 2015 13:11:41 +0100 Message-Id: <1426162301-27066-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-20150312_051303_495468_558B0844 X-CRM114-Status: UNSURE ( 6.57 ) 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 Setup maximum number of associated stations supported in AP/P2P_GO mode. This allow hostapd/wpa_supplicant to play with that limit and set more information (eg. P2P group limit bit for P2P_GO). 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 1138f4f..80f19fc 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -5766,6 +5766,8 @@ int ath10k_mac_register(struct ath10k *ar) ar->hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; ar->hw->wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE; + ar->hw->wiphy->max_ap_assoc_sta = ar->max_num_stations; + /* * on LL hardware queues are managed entirely by the FW * so we only advertise to mac we can do the queues thing