From patchwork Wed Jan 20 13:06:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 8071981 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@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 99B5D9F6FA for ; Wed, 20 Jan 2016 13:06:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A05AC203A9 for ; Wed, 20 Jan 2016 13:06:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF3832026D for ; Wed, 20 Jan 2016 13:06:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbcATNGm (ORCPT ); Wed, 20 Jan 2016 08:06:42 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:35860 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751039AbcATNGl (ORCPT ); Wed, 20 Jan 2016 08:06:41 -0500 Received: by mail-lb0-f172.google.com with SMTP id oh2so4677747lbb.3 for ; Wed, 20 Jan 2016 05:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=WTXSz+tN7HRXyxO2SxX8ZQULYW2+OS8PGGUzIABae0Y=; b=o/OOartTdvVf1Q4Vql1/e+e5wy0tbaP2t7PJBD3nEGP9k5+YW6JSQNGnn+21jhkvBY 7lBgzPJH59bAIFTjPTPjHjQXvP9woHMedUMlFwRWIqDvPnR1+8CYPLs1TBp3U/hI5ShF uhs4jh5jtfnXzLxmE9g+22Jo0rtc3w6H7savfoxJ06x2qfAWAiAdaGC7szWTQABxbwsQ jJHLjdbnOXxZLsKZCXkuSIVgPNEZwyNLo//CNQ9NSk3HKKzzkm92bpxOe+lL/8iaH8zK Bps8V4vIlkB2UGvN+i8VzRvAoEPzZAkoksLgfT7hlEpID7x9gCDfgIlMvPlKB1sT0jR9 Y6MQ== 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:mime-version :content-type:content-transfer-encoding; bh=WTXSz+tN7HRXyxO2SxX8ZQULYW2+OS8PGGUzIABae0Y=; b=RPHbjE+FUBKAnGAIhiFxhnsbw56AgXDwS4RhzwJFwh/bOreQ5zSUz/DOld+a2NWbbf E4vT9HF+G7Hr8EFjIajx4m/B3o2XM9yRKnGLA7OI/gGKqHoNBs+U7b/wHfvDpIvZzCiL 6AgwlkXm0qroiLecfQJ1chNtaa31la8OGz8uS9OZPNMJVwAAQwNh6l/sm97wV+9TZpAW CYZ8afLH7H/IbJgnjzpRvhrWdf+4hDR0i9kPDQ+43AJ9k5+ZGfaJetf4ZnzRHIN0WuC7 vmxEVYRBaRZyhU9RNdoM/MXhsyr5qaCM8EfyMfEiDofQj8zR6xRXrXNLcSzH4tQzXAya /KMg== X-Gm-Message-State: ALoCoQkU/Duhra7ZPzNQIoC5BoUgTjwz/BeZkRN5A5WMEY2iyEOqHVgHNlpYMzRkyUF5SJvcPJ9/3GKCOKehP3vJ2d6x1fyvLQ== X-Received: by 10.112.130.99 with SMTP id od3mr13126740lbb.76.1453295199855; Wed, 20 Jan 2016 05:06:39 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id jx8sm4544479lbc.29.2016.01.20.05.06.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2016 05:06:39 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo , Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com Cc: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH] brcmfmac: advertise frames supported for TX in AP mode Date: Wed, 20 Jan 2016 14:06:30 +0100 Message-Id: <1453295190-28404-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Callback mgmt_tx implementation supports both: PROBE_RESP and ACTION. Signed-off-by: Rafa? Mi?ecki --- This matches code I can see in brcmf_cfg80211_mgmt_tx, hope it makes sense. --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c index ab431e5..8d9cff4 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c @@ -5948,6 +5948,10 @@ brcmf_txrx_stypes[NUM_NL80211_IFTYPES] = { .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | BIT(IEEE80211_STYPE_PROBE_REQ >> 4) }, + [NL80211_IFTYPE_AP] = { + .tx = BIT(IEEE80211_STYPE_ACTION >> 4) | + BIT(IEEE80211_STYPE_PROBE_RESP >> 4) + }, [NL80211_IFTYPE_P2P_CLIENT] = { .tx = 0xffff, .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |