From patchwork Fri Jul 22 12:29:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alvin_=C5=A0ipraga?= X-Patchwork-Id: 12926435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B61F7C43334 for ; Fri, 22 Jul 2022 12:30:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234867AbiGVMaW (ORCPT ); Fri, 22 Jul 2022 08:30:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233608AbiGVMaM (ORCPT ); Fri, 22 Jul 2022 08:30:12 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E56362CA for ; Fri, 22 Jul 2022 05:30:08 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id y4so5663676edc.4 for ; Fri, 22 Jul 2022 05:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zh7X5Uda6egpjw+fh4SnYbKXp8IFNuJykfc8eOEqRcY=; b=oJJbA0UIQDRXkXqxroc0ESaeLjykv5Hz8mdjOy7mQTVNVeHBiL16d+C1Tqddf8l4be rrBWUhDXEF6hudZbp3Q4OwuUqGx4GtTYIptvgB+2bYbzvcfhMVXTV/jO+/R5LaSqYvy8 xVkvnuqtJDQfE1amhM8+BZRKepDGwiDVKz4fM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zh7X5Uda6egpjw+fh4SnYbKXp8IFNuJykfc8eOEqRcY=; b=FElgotC+9F7aFxXEKfn272hvW+Kt9r2WVZ8JhfXh0lxcpwV4oA1SOs2hj17t6+zDXk xpOAUODO58p3b927u+LkLDM2kR1n0BvlZFbKeMltQ5i4d0iWK76azkWMGlTCEuFg7Ad6 841yihVyGmq6dfbGEmN8v/0iZBrqAR0dMfxglsK72ZGnX0/2mWPchjIM+2jr6wDQ8P85 Mb/qzX73FFsbn1tXlvHLOwUgkTbhLHinTcQ/ZsGXdK+jVD2Lg2ojty+PspXrWgkRM1Ub vVKVjJk/TlWLEkuF2HgGw/z01xLBbfZ+Nxoa/Kx4n0ENNPKR4f80NKBYFTcDFqMJ4iKo aoFA== X-Gm-Message-State: AJIora/1REu3hELaLXxEpY6+KMi+XH7pv1gi4RYirrVCjlFeBXhfHIUe xa/mANX6cjA0NZXqOOcrB9qgN7PsB8hC60OS X-Google-Smtp-Source: AGRyM1ux80QqQUW+EIA/65Ein87S3N52C0FoamGrt7MvX+qr5lpBaUeLzY66cSjKh/GK9bob3xmuBA== X-Received: by 2002:a05:6402:1d4a:b0:43a:ca49:abc6 with SMTP id dz10-20020a0564021d4a00b0043aca49abc6mr418056edb.376.1658493006349; Fri, 22 Jul 2022 05:30:06 -0700 (PDT) Received: from localhost.localdomain (80.71.142.18.ipv4.parknet.dk. [80.71.142.18]) by smtp.gmail.com with ESMTPSA id f6-20020a05640214c600b0043a6df72c11sm2462432edx.63.2022.07.22.05.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 05:30:05 -0700 (PDT) From: =?utf-8?q?Alvin_=C5=A0ipraga?= To: Arend van Spriel , Franky Lin , Hante Meuleman , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: =?utf-8?q?Alvin_=C5=A0ipraga?= , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH -next 0/2] brcmfmac: AP STA concurrency patches from Cypress/Infineon Date: Fri, 22 Jul 2022 14:29:53 +0200 Message-Id: <20220722122956.841786-1-alvin@pqrs.dk> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Alvin Šipraga We are using these two patches from Infineon (formerly Cypress) to enable AP+STA mode on our CYW89359-based platform. They come from the FMAC driver release package distributed by Infineon. The key thing here is that apsta needs to be set to 1 in order for AP mode to work concurrently with STA mode. I cannot speak for other chipsets so a review from the Broadcom side would be welcome here. For the ARP/ND offload being disabled in AP mode, I am of the view that this is correct, but while Arend has given his Reviewed-by on it previously, it was part of a different series [1], so I am sending without in order to jog some memories. [1] https://lore.kernel.org/linux-wireless/20201020022812.37064-3-wright.feng@cypress.com/#t Soontak Lee (1): brcmfmac: Support multiple AP interfaces and fix STA disconnection issue Ting-Ying Li (1): brcmfmac: don't allow arp/nd offload to be enabled if ap mode exists .../broadcom/brcm80211/brcmfmac/cfg80211.c | 65 +++++++++++++++---- .../broadcom/brcm80211/brcmfmac/cfg80211.h | 2 + .../broadcom/brcm80211/brcmfmac/common.c | 5 ++ .../broadcom/brcm80211/brcmfmac/core.c | 5 ++ 4 files changed, 66 insertions(+), 11 deletions(-)