Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5431517pxu; Thu, 22 Oct 2020 02:01:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTmM7CvX4klSLz5s9RXlWCr/5sL1i00UzwVdj/QCB0Vi5Rr6jJQjo5etL0aO5m92B1b2WM X-Received: by 2002:a17:906:e10e:: with SMTP id gj14mr1384362ejb.134.1603357298257; Thu, 22 Oct 2020 02:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603357298; cv=none; d=google.com; s=arc-20160816; b=GyD+osxxq2etT485DMAYQn9h8qhmLl9Vp3pHeyK/isKartPZIubOTDHyl3YW2rYrE/ r+FzGq/NkrZXgMh/UQ7GNjQuEWc5p1zTvuEwQew41VGiKHui2hggyYPjc+ZYrxknuokS /LlV2dXZ/Fhkl01F3N2nBqiXA50SRjzqJY4egVjBPYJb2ST5xQqCTaLXtBgyqnJIIPT3 Ob95Vuah4BjvVZQ5uX8MgYRXfnxxbNYRhwR0xAPmF8EolJaovsvgJKFwUBqXBudhXyHa 3MzPUcAdqGHSBiiGEQymjsWZQ/9+wYmSbRUxzj5tLhRsugDs2RFUOOC2r7LWlySKlsxk EM5g== 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:from:references:cc:to:subject:dkim-signature; bh=4X89VY3urH0ICAGz72YqM/ZPFpjFGB/nPQuUBb6gaXU=; b=xUYqO4T3gE+6Wq1ANPI44xLuMGrpq/PX3WsPsdw7FYpksrRvwY2XCOUUz+lVzjiB6d h5ypHvJpgw6GMIw9eOGJvphXuMXqu4guRL3eFDCF4zK7ALcc5Ix4PbXEw/0sA/m+rvX8 8NmXDZ0iybJc6eQQigblm1nxT7KWS4Gjq23YiUE9xYWnop9Bq+wZYxZ2UZhwyNv80yvM l5QwdEW8tEEGYpLVA3cIaHRNKcJD+tz1EKn6w3Z21hb644lXeHPG9Pu1BFuC8ZUu7S8s JL2CgUB3QB7FJcCe7k6dvg1i7vmuSvG0XFtQkFk9rAon49HbIjl/EakyirpCwa+Fs/Bo olzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VW5EdwS9; 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 w26si569329edq.89.2020.10.22.02.01.08; Thu, 22 Oct 2020 02:01:37 -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=VW5EdwS9; 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 S2509157AbgJVIAx (ORCPT + 99 others); Thu, 22 Oct 2020 04:00:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2509155AbgJVIAx (ORCPT ); Thu, 22 Oct 2020 04:00:53 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60BF5C0613CE for ; Thu, 22 Oct 2020 01:00:53 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id 144so650685pfb.4 for ; Thu, 22 Oct 2020 01:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=4X89VY3urH0ICAGz72YqM/ZPFpjFGB/nPQuUBb6gaXU=; b=VW5EdwS9VGdKNyiT660WLlvulzAhBPGj5ZZyv2KqLw9eKIHquFm+m1vNWGPzrdJz8t K/tn7btfOWUYvV2wzdwdaKxlp1niVPnRvX6NYU1Jqf22oIdouW63B8VqD/amOlj3HUjr wrTvhew2OIhzMY9ticBkrb/9rIpIageiUxSeo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=4X89VY3urH0ICAGz72YqM/ZPFpjFGB/nPQuUBb6gaXU=; b=Ey2TOow/uRpDp3DIf2nPJc/Ho1pa2ZVs7ZzyZnhS+dmUP7QzuvXFw76PyIlrgruBcI nCrkNsUue4GOH2M4+gzjnxaifM14wU9234492C8iCHHlQHUYWd3uAEgEgZIw1hPg3PeZ 62JC4CWqbK7ZmEqB7OHPswf0NSQNH9/clJcz+GMlCoszsaJPkrWnlEak2lttvzCqmmV4 MdLKeKnj646FD6boV3pNsnkhREF7OV4JNl6nxPC33841ivpPEpiHlHwG0dcA343LuI5/ 35v/AkvkxqhCpMCAZL3m7kHNfo8Ijt1UP4MWmA9EiJmZvFjrolLqTc8znMUnbcTw/C+w Gtjg== X-Gm-Message-State: AOAM532wIkmyJlTjogBF3QmWb6ZGv0eCIVnF8oWPswDGi/MFWKbjJ0IF q1uFLSy7bHvBKaXgdjR/iFIZncLkBdK60Ych X-Received: by 2002:a63:1a09:: with SMTP id a9mr1315860pga.188.1603353652716; Thu, 22 Oct 2020 01:00:52 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id w6sm1243919pfj.137.2020.10.22.01.00.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 01:00:52 -0700 (PDT) Subject: Re: [PATCHv2 1/2] nl80211: vendor-cmd: qca: add command for ap power save 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> From: Arend Van Spriel Message-ID: Date: Thu, 22 Oct 2020 10:00:49 +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: <87eelr1oq9.fsf@codeaurora.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000f2ab3b05b23ddc4e" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --000000000000f2ab3b05b23ddc4e Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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. Regards, Arend --000000000000f2ab3b05b23ddc4e 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+bEstsVJtZieU1Pa+3LzfA/4cT7XA/pnwwIDAQABo4IBtTCCAbEwDgYDVR0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