Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp307789pxu; Fri, 23 Oct 2020 00:55:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2wGBXkAsOrMgG0cdsFSv9N1aqXlbYbdWWxO+L53oskCZL3zZsmFgq5GWnzEU/zXJUpS95 X-Received: by 2002:a17:906:4151:: with SMTP id l17mr816922ejk.83.1603439720847; Fri, 23 Oct 2020 00:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603439720; cv=none; d=google.com; s=arc-20160816; b=Q/Bq1LnFcTreghNUZ+Hmm6MORq1LfpZQQD8jrGjEv4WwBO0THOo2qTsjvHPFY+eNxe +m9/dgeWEvqytVX+LOzb06VfA6gsoyoJSGpmVluNcXhC/lx8Z0orpFwpMuGnKLM+awUW NYPojNwl8KKZenDq3EHK8DzLgzwWB0MCj7EnT6dSu6VjIpaivB3cloXar0PQ+f4kpDQA CVsGIGvm9Qgrcwa7gYklVdgPZNrB9hQ6GmezGohms9s0csERHrfwp0oFgViPcj5K8tkU 3XgvEAvU9eGNIL/oxFarJ9JCMaAMQnYkk50l4eEVexOFanpuzgy2VG22MHHqEnzmzzPD HWWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=XwM41VNeKE5mkEGNGqtGGVFv5LCXJKJIl8qc1GETrcw=; b=0tyyJncuQGZ92goKvNXvbY8XSysWfnh6KaBfMzh2xNhlAXMjYVhYfnGASBpBZNlQDs p8mD9YIKWgz0nuxIgyszuNvPIWiJ+Ioq8HCHIP7BthiF56gUpDqYdz/OYPJXRZE1XEEw rlWLua2Kp2CBKD/d9aicNfq2YsTBQ7Y3px9gVlBwA4p8E91k5MmLhNtFipWLiNgsKKMf oLySxjsrz3XcFYt2GuHfZ0/XAFmMrVj6BVpVkW33BpAH/sibnmSQzwpiTHAR9HCEj8FA Dw0sdn9qDC4It6EpnyYr34IjRz5kS8K7hnv+H9apEDKR87jPjo9gT2M5zHFCkjflaFQ/ pKAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=OWoeLSo2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx2si342878ejb.241.2020.10.23.00.54.56; Fri, 23 Oct 2020 00:55:20 -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=@mg.codeaurora.org header.s=smtp header.b=OWoeLSo2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S369882AbgJWDrM (ORCPT + 99 others); Thu, 22 Oct 2020 23:47:12 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:21559 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S369875AbgJWDrL (ORCPT ); Thu, 22 Oct 2020 23:47:11 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1603424831; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=XwM41VNeKE5mkEGNGqtGGVFv5LCXJKJIl8qc1GETrcw=; b=OWoeLSo2+ZS23oTIiaMol1Igiddqv6iWR2CofUBmH2Qim2XJRToUtOiy+MNVWptXfEXIFmZP Fmak1M4KXm3k4JagJuJqcPyMulCjDH9K0C8ndmueFjZmDSH++7wgzN1Hc5LsoemwfArQHVKo WAUi0nwDuKQ2t17eVFhEe3N/8qA= X-Mailgun-Sending-Ip: 69.72.42.4 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 5f92523e42f9861fb1c843a7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 23 Oct 2020 03:47:10 GMT Sender: vnaralas=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7965FC433FE; Fri, 23 Oct 2020 03:47:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: vnaralas) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9ACC2C433CB; Fri, 23 Oct 2020 03:47:09 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 23 Oct 2020 09:17:09 +0530 From: vnaralas@codeaurora.org To: Arend Van Spriel Cc: Kalle Valo , Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCHv2 1/2] nl80211: vendor-cmd: qca: add command for ap power save In-Reply-To: References: <1598257589-19091-1-git-send-email-vnaralas@codeaurora.org> <4b4a0d79a243c1c3b8044730da0493c96ba294bf.camel@sipsolutions.net> <871rilf2th.fsf@codeaurora.org> <87eelr1oq9.fsf@codeaurora.org> Message-ID: <81ced18ac5b87a17cf31797cf91669bc@codeaurora.org> X-Sender: vnaralas@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2020-10-22 13:30, 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. > Sure, I will go with the existing NL80211_CMD_SET_POWERSAVE and I will send next version. > Regards, > Arend