Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5431644pxu; Thu, 22 Oct 2020 02:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU4E3rGyuVGD3agp/5t3S4O6jkHiQ131PhD+Ao6nphtVdcgQqwI0F8+B31/iXcNoeGyIH7 X-Received: by 2002:a05:6402:1684:: with SMTP id a4mr1307666edv.319.1603357310243; Thu, 22 Oct 2020 02:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603357310; cv=none; d=google.com; s=arc-20160816; b=BwCX/qACJIzlWeJr0xttRuwu5KeMw7zj0/0wERYHNvxr5DgHFdUhM6RQkVUEsPXLMm dXAq3UXG5U/bauNkvFCGxKoFxWpG3/4kr1BB+tZUYTdcCYccD5X9rU1U+ns/bI+yGshN NXvhFZqDgXtUsacC7obmru0qOMURIrCy1eSa0oe1lUv7KYtx3KXy0hhlZ2sKEV2WgVpy UrEjDNoowAQP89pYiqIHBy/c+vX0vV10Rn9DHBNM98O16UWSqMJEL6Ve7Azx1ZAA90Na aaTQYhRuIt0WM0ch6Q4oI0vS4NC+A9j1WlaOKyen24nAMzymzVRAWpYf041VYeq6g4rW euCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=K0HfRlqX0RHoHzWLb205rnbRafb8HbtM6VC/v0miMY4=; b=CTATTBNOsxOlDZ7l92BbtqT6DKUcCr9o8R4n7zr2URvik/h0xTO2BauoGtca+9W5x7 s7OxjVGAqHC+gAcdihaw2BZp9mGBPz/zU6bVVaVKSMt+5QQ8wuPSI0N65n/89vDyN/FS uyAYSaAhgE6BcfHkofAXzj3sau1bzUrf1yLe+djtat0f6UU/RFNL/x7GCjGlVSQGm/W5 4wWX9C/3Lr3ReEMExtmga61kY2EN1IXr39rqwXVwDL1ewFbYoqYhKF79xTqypl12B3Ww FMcp0OCrD3d0SpiaVucUhRf5LnJlowdkbnFYFar0v7DO/z0qmWc2yo8TIh2dwtiYuhRU LE6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=deVp6rtJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk3si582123ejb.700.2020.10.22.02.01.25; Thu, 22 Oct 2020 02:01:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=deVp6rtJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2894661AbgJVIIG (ORCPT + 99 others); Thu, 22 Oct 2020 04:08:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2894369AbgJVIFe (ORCPT ); Thu, 22 Oct 2020 04:05:34 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D215EC0613CE for ; Thu, 22 Oct 2020 01:05:33 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id x13so644285pfa.9 for ; Thu, 22 Oct 2020 01:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to; bh=K0HfRlqX0RHoHzWLb205rnbRafb8HbtM6VC/v0miMY4=; b=deVp6rtJlL7XqLuKOQGr4zlCjX/rB8X8UyiExCtYI4Pc5G8IEqPdQfrB2qmvRdqFUr +NQBNZvVjO0QUzy8U1O+wEK2R5zKw6Fp6Ap93gmA0c51hnUd5akM/dAsjPAY6h7Lnd3T +zjP0oVaUPsRvx82jf17Vj2r0rSxtPyZqpm9w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to; bh=K0HfRlqX0RHoHzWLb205rnbRafb8HbtM6VC/v0miMY4=; b=HkKeFNPvIDRawdQnW2IFEXtbS0Vvse0KWNZOKf35T4nese5IhlLHN0fYUMTJDiUigv 730wuSGsxrtDjY3xb9sZADnePSgtJJ2OM5rcV3JoilZfk3GyO4mmtuY+ehMlyW/S17gx Evm8W73LnzxeiXhMIDNtO8FLQez9PNbOqJNmCOxrYuu6QfiGbkPOMvbV5jCXCCyc4XIg bAsRHiZJIb2IxjRVd3T4K06Z/rnC7u7NLPjLPV24vEVzLwb9E56EcXWdd3OH9beN8cRL 4Mf9kNGONpBApMlL3vQTkrH7A0LRBKgglZ5l+SMHn4WktYahqdqdqsmJikokI9KP8wb8 wxGg== X-Gm-Message-State: AOAM530YOExVjLzmsGthCHmfsUS5WoMNO8MpqSwUkhpq6Q+YCpfFmUUA 2D6Fy+Pj67xnWmuPYYWtaOW5IA== X-Received: by 2002:a63:ed50:: with SMTP id m16mr1260986pgk.195.1603353933270; Thu, 22 Oct 2020 01:05:33 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id z21sm1225773pfr.43.2020.10.22.01.05.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 01:05:32 -0700 (PDT) Subject: Re: [PATCHv2 1/2] nl80211: vendor-cmd: qca: add command for ap power save From: Arend Van Spriel To: Kalle Valo , vnaralas@codeaurora.org Cc: Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org References: <1598257589-19091-1-git-send-email-vnaralas@codeaurora.org> <4b4a0d79a243c1c3b8044730da0493c96ba294bf.camel@sipsolutions.net> <871rilf2th.fsf@codeaurora.org> <87eelr1oq9.fsf@codeaurora.org> Message-ID: Date: Thu, 22 Oct 2020 10:05:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000aa081405b23ded72" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --000000000000aa081405b23ded72 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 10/22/2020 10:00 AM, Arend Van Spriel wrote: > On 10/21/2020 7:19 PM, Kalle Valo wrote: >> vnaralas@codeaurora.org writes: >> >>> On 2020-09-29 13:10, Kalle Valo wrote: >>>> Johannes Berg writes: >>>> >>>>> On Mon, 2020-08-24 at 13:56 +0530, Venkateswara Naralasetty wrote: >>>>>> AP power save feature is to save power in AP mode, where AP goes >>>>>> to power save mode when no stations associate to it and comes out >>>>>> of power save when any station associate to AP. >>>>> >>>>> Why do you think this requires a vendor command? I mean, that seems >>>>> like >>>>> fairly reasonable - even by default - behaviour? >>>> >>>> I have not studied the details, but doesn't AP power save break normal >>>> functionality? For example, I would guess probe requests from clients >>>> would be lost. So there's a major drawback when enabling this, right? >>> >>> This AP power save feature will not break any functionality, Since one >>> chain is always active and all other chains will be disabled when this >>> feature is enabled. AP can still be able to beacon and receive probe >>> request from the clients. The only drawback is reduced network range >>> when this feature is enabled. Hence, we don't want to enable it by >>> default. >> >> Yeah, we really would not want to enable that by default. But what >> should be the path forward, a vendor command or a proper nl80211 >> command? Any opinions? > > I would go for a proper nl80211 command or just add an attribute for use > in NL80211_CMD_START_AP or deal with NL80211_CMD_SET_POWERSAVE when > operating in AP mode. At first I though this functionality was same as SMPS which is in the 802.11 spec, but reading up on it that seems to be a STA feature. Regards, Arend --000000000000aa081405b23ded72 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQTAYJKoZIhvcNAQcCoIIQPTCCEDkCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2hMIIE6DCCA9CgAwIBAgIOSBtqCRO9gCTKXSLwFPMwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UE CxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMT Ckdsb2JhbFNpZ24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQGEwJC RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xvYmFsU2lnbiBQZXJzb25h bFNpZ24gMiBDQSAtIFNIQTI1NiAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA tpZok2X9LAHsYqMNVL+Ly6RDkaKar7GD8rVtb9nw6tzPFnvXGeOEA4X5xh9wjx9sScVpGR5wkTg1 fgJIXTlrGESmaqXIdPRd9YQ+Yx9xRIIIPu3Jp/bpbiZBKYDJSbr/2Xago7sb9nnfSyjTSnucUcIP ZVChn6hKneVGBI2DT9yyyD3PmCEJmEzA8Y96qT83JmVH2GaPSSbCw0C+Zj1s/zqtKUbwE5zh8uuZ p4vC019QbaIOb8cGlzgvTqGORwK0gwDYpOO6QQdg5d03WvIHwTunnJdoLrfvqUg2vOlpqJmqR+nH 9lHS+bEsts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