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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F5B4C433FE for ; Tue, 16 Nov 2021 21:28:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0310563232 for ; Tue, 16 Nov 2021 21:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230391AbhKPVbf (ORCPT ); Tue, 16 Nov 2021 16:31:35 -0500 Received: from mout.gmx.net ([212.227.17.20]:56845 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbhKPVbf (ORCPT ); Tue, 16 Nov 2021 16:31:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1637098110; bh=JjihNC2AuMle56rp/XZwqMFFyfo8WjXDke4I/IpBhek=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=f+7IyAwqkBrue5PnhRySoRtMi567QBNukMC7C1UebYBMsoU95zkB4nclrrGy8HZO0 Sxk6LxfvORM58mYSgzKOtYMModRSLuD2rwE0XGI7EEjZAQmYJmRK4Q1k6DcQHph4XR fh9a4HAS1FkHy8h4DhyLbmVmvmP6vvlV4ZYSeEUY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.fritz.box ([62.216.209.243]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MnJlc-1mLhnN49dk-00jMJU; Tue, 16 Nov 2021 22:28:30 +0100 From: Peter Seiderer To: linux-wireless@vger.kernel.org Cc: Johannes Berg , "David S . Miller" , Jakub Kicinski , Felix Fietkau , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC v2] mac80211: minstrel_ht: do not set RTS/CTS flag for fallback rates Date: Tue, 16 Nov 2021 22:28:28 +0100 Message-Id: <20211116212828.27613-1-ps.report@gmx.net> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:i0D7gr7L/ZCMLUuc1pnVQU1UzGNyCFGILH/EzO2yW/WcxBLuIaT 2lPH/XkCH28ZPBg4U476PBfzrcqqOcH8iFvH15KRTtNwM+EF0eZVYlYIDGfOO4df8Hk/NEK 6OkqaIP4o59tIlYD61SK1/QSRLgIZo5EuY9SLSBAhOwg1Cxs4R/2L8rzoq6Ti7e1Q3Mhn9s Oe7e743WZmFK5/NKBquBQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:vfR6jKaB1wQ=:EZxKxdYDzgle0aw8IefyA7 iLYQK0VPBaz7ECtaTRipoJ63ecxY1wPjD32uYl6mEsK4EvRN7iVE4F0u/JLqK4VUr+6VXa2hL Bu5ql38/LjFPpj4ivg22SjmmKONYViNoHLKMfNaT3O6oMrqarMv2PvXpUthQpTOno8yheWKgp CHlZ/mfEtdUBHpzdR58C45XwprZRf4+sSF3mV+kM8/TCXcDFb5cqWnlEVnKDuqmli7Jp2Skl6 aa1pmqa+gZsoujubqvbBlswTUJykWToSgLU7G0zvhaA8QogsZmkbDw3cuFbwRmZUmWz4U4l/Y v7ltsUPmM6hOhUELtKkz+Xkpv0pNwi4xsiCNLF1+yS66Kd36uH6amyUlJk8HOGuj5fO6TYqMQ CWVrfgCu/h2113x9mztwWn90iQT+6muLotIkF39w0q4A53C7PuvigOS0WoUvCTYWM63WbidQG 9hbu4u9if92Y0bP7qChjS7q8E8JC3jKpZWXR0TenMnBkqUJBWCp/dUcAL+pdR4UGNG3Mhy3bL SIO/wnOUT3tqq3s1IjRBOy8SqDiCwNQu9YMCxYKfA2W34FSgQcGZA3Svr0NxZC0IO5Kd8u525 Vg6YZCzbqdYeVX3VdwT7goT3x4ghLhXhcxw4CwFiTakNIobOOIn6Ausqx2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KIDcwMCAgICAgICAgICAgICAgICAgdHhyYy5ydHMgPSB0 cnVlOwogNzAxICAgICAgICAgfQogNzAyCiA3MDMgICAgICAgICBpbmZvLT5jb250cm9sLnVzZV9y dHMgPSB0eHJjLnJ0czsKCm9yIGRyaXZlcnMvbmV0L3dpcmVsZXNzL2F0aC9hdGg5ay94bWl0LmMK CjEyMzggICAgICAgICAgICAgICAgIC8qCjEyMzkgICAgICAgICAgICAgICAgICAqIEhhbmRsZSBS VFMgdGhyZXNob2xkIGZvciB1bmFnZ3JlZ2F0ZWQgSFQgZnJhbWVzLgoxMjQwICAgICAgICAgICAg ICAgICAgKi8KMTI0MSAgICAgICAgICAgICAgICAgaWYgKGJmX2lzYW1wZHUoYmYpICYmICFiZl9p c2FnZ3IoYmYpICYmCjEyNDIgICAgICAgICAgICAgICAgICAgICAocmF0ZXNbaV0uZmxhZ3MgJiBJ RUVFODAyMTFfVFhfUkNfTUNTKSAmJgoxMjQzICAgICAgICAgICAgICAgICAgICAgdW5saWtlbHko cnRzX3RocmVzaCAhPSAodTMyKSAtMSkpIHsKMTI0NCAgICAgICAgICAgICAgICAgICAgICAgICBp ZiAoIXJ0c190aHJlc2ggfHwgKGxlbiA+IHJ0c190aHJlc2gpKQoxMjQ1ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgcnRzID0gdHJ1ZTsKMTI0NiAgICAgICAgICAgICAgICAgfQoKVGhl IG9ubHkgcGxhY2Ugc2V0dGluZyBJRUVFODAyMTFfVFhfUkNfVVNFX1JUU19DVFMgdW5jb25kaXRp b25hbGx5CndhcyBmb3VuZCBpbiBuZXQvbWFjODAyMTEvcmM4MDIxMV9taW5zdHJlbF9odC5jLgoK QXMgdGhlIHVzZV9ydHMgdmFsdWUgaXMgb25seSBjYWxjdWxhdGVkIGFmdGVyIGhpdHRpbmcgdGhl IG1pbnN0cmVsX2h0IGNvZGUKcHJlZmVycmUgdG8gbm90IHNldCBJRUVFODAyMTFfVFhfUkNfVVNF X1JUU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