Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2810614pxb; Mon, 18 Apr 2022 08:42:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoniWUuPiDB61BR/V/7r26WgEZDdLKTu0z2UHD/HL+fcc22E1sdAkMPNf8N+JxJXRiZw6R X-Received: by 2002:a17:907:1b20:b0:6da:649b:d99e with SMTP id mp32-20020a1709071b2000b006da649bd99emr9647501ejc.712.1650296549569; Mon, 18 Apr 2022 08:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650296549; cv=none; d=google.com; s=arc-20160816; b=YjP8kMWEFSgJh+SFfjF48XigcBgnVPgtjJ21CTfRovXL7JOMVOiJO1flGWlRjgtrZq 0WBEMddq5C1+7H4co3RBgFKuY3WIxY9mwx3vwrC9Qc3WyVBvOfbZktrlyl4Wpg2FM/ND qdx4JdSx6tcCBSze8yvtLoQk31G2QBSGrk0rAKqAVjl/f8si76EbpwmIchReqNqEXtwd me6x3DoYbMFCPnhoFKKzGRJlsRzzdfE5s8RVzAOio5/Xy/icYL6J0a1Q7a0WOFdPl0ku R+fDdJadhIomhr2tPqSuYtXQlzwXXE8hiU0aa+r2sF+FPYvdN7yPsef3jH329WD9Fuda FUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=E5qJTZhX32zp/Y3+eAjDWpdPIF9pshitaEC5qzmqz98=; b=pX+GE4ufx1pIa4e3RrxBgUK5lcOPW3945eOzqP7ZCgR8/Qh8TR64y63rIA5+uhhvBk z8U5UJPeZWI+rhIvs5ezdyBcleMPIdGaba9XN3zIX98cJdN4RVVQy47fXkz7BMUWIrCx Je4cgE2lIKx/w24zAQfcei5E87Zk35NRKAf3fek6soWwwb5YDJh6fU6uQ+e4R4MhvDRH YenCgiCWnt8LmG/gqGo4aOcnpeS3ct+EXn0W/Q7aWcpCiyDtBa84g6c3/ddo4f0pVCOA YbpWvPCyhHVUhSe1XwtTN73XLatFzJ5mhuc5evLX61jpsr4PlYgSgFbRqkEPpcViabiy S9uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yIq89PEL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402084b00b00421f7aad426si7577747edz.2.2022.04.18.08.42.05; Mon, 18 Apr 2022 08:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yIq89PEL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237842AbiDRMXt (ORCPT + 99 others); Mon, 18 Apr 2022 08:23:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238705AbiDRMWp (ORCPT ); Mon, 18 Apr 2022 08:22:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 148441EAE2; Mon, 18 Apr 2022 05:18:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B3863B80ED7; Mon, 18 Apr 2022 12:18:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25C15C385A7; Mon, 18 Apr 2022 12:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650284281; bh=CsHNBpIbfsGTrUbzTvet8FRvo9K2tYOqkfVI16tOaCE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yIq89PELSK6pjDXiBBaG7GPAqHgatInr5WO/UpTDKBN1mHGwjB8t5FLrtlWfGigGx 81rcBSDQ8gAXVM7MJTpecGr4HHFf0Pbr20WTMTKaEvbSLf14qoUfKp2B1WXNGmcL4S E8juSz4XGBoh6ljsZkt9cBMoFzKwrl/mQmII3lcM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anilkumar Kolli , Kalle Valo , Sasha Levin Subject: [PATCH 5.17 062/219] Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax" Date: Mon, 18 Apr 2022 14:10:31 +0200 Message-Id: <20220418121207.242878462@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121203.462784814@linuxfoundation.org> References: <20220418121203.462784814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anilkumar Kolli [ Upstream commit 10cb21f4ff3f9cb36d1e1c39bf80426f02f4986a ] This reverts commit 743b9065fe6348a5f8f5ce04869ce2d701e5e1bc. The original commit breaks the 256 bitmap in blockack frames in AP mode. After reverting the commit the feature works again in both AP and mesh modes Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.6.0.1-00786-QCAHKSWPL_SILICONZ-1 Fixes: 743b9065fe63 ("ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax") Signed-off-by: Anilkumar Kolli Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/1648701477-16367-1-git-send-email-quic_akolli@quicinc.com Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath11k/mac.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index 28de877ad6c4..f54d5819477a 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -3131,6 +3131,20 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw, arvif->do_not_send_tmpl = true; else arvif->do_not_send_tmpl = false; + + if (vif->bss_conf.he_support) { + ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, + WMI_VDEV_PARAM_BA_MODE, + WMI_BA_MODE_BUFFER_SIZE_256); + if (ret) + ath11k_warn(ar->ab, + "failed to set BA BUFFER SIZE 256 for vdev: %d\n", + arvif->vdev_id); + else + ath11k_dbg(ar->ab, ATH11K_DBG_MAC, + "Set BA BUFFER SIZE 256 for VDEV: %d\n", + arvif->vdev_id); + } } if (changed & (BSS_CHANGED_BEACON_INFO | BSS_CHANGED_BEACON)) { @@ -3166,14 +3180,6 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw, if (arvif->is_up && vif->bss_conf.he_support && vif->bss_conf.he_oper.params) { - ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, - WMI_VDEV_PARAM_BA_MODE, - WMI_BA_MODE_BUFFER_SIZE_256); - if (ret) - ath11k_warn(ar->ab, - "failed to set BA BUFFER SIZE 256 for vdev: %d\n", - arvif->vdev_id); - param_id = WMI_VDEV_PARAM_HEOPS_0_31; param_value = vif->bss_conf.he_oper.params; ret = ath11k_wmi_vdev_set_param_cmd(ar, arvif->vdev_id, -- 2.35.1