Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp748810lqh; Sat, 4 May 2024 23:43:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVe7LQ23wE09tW8wyTdiIdNZAAujvHPmZIqmgUerkSQD0Z+j5aEDnzvs4fD60L9EExkFfesy6ZE3nf2V6JCZV+BJD30Wfw42Wnest56cw== X-Google-Smtp-Source: AGHT+IEZ6Vjb3RE0otC7taSYn4sOWQgUt1yOmx0zBNFrAsDI1l6RPj7CtyiSHRlYAUCHgeRmSJKX X-Received: by 2002:a05:622a:10e:b0:43a:9cd3:7fed with SMTP id u14-20020a05622a010e00b0043a9cd37fedmr7944384qtw.17.1714891388508; Sat, 04 May 2024 23:43:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714891388; cv=pass; d=google.com; s=arc-20160816; b=EMS4por7+Ya5Hj3qlzTFaiD52UXEFy58D+8puFQDjsieWVPJpcdkFMY2Lxeq8+kK9J r/TFWzSp8F18jTTHisPPybWtB5iRVYHj55Gu+E3NCD3+1Hb1EJ0yusH3HP0Q2tGMChyD XEdCAN+ihgN+uHSc9EjoEejFVBVybY3p7LiXJiRalAu/Y8p2UvB9AQpTADy0IIsHONmP dsusqTdNIbPOo0Cfd6lZ/v1M/2D8uDjreSAC9vepjdRAT5MpRoV1vxZ0Dom01o29ee1B IxGWxrD0Y0ncvHXTPCQ6KNOH09ITf33mdfFpeZasfLwbuXTXlgo5xj//SM3p6qbacl4P 0X8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-filter; bh=9j64iza73xiknFNkqigr0bcBVZm2/q2OB79NYSpzuuw=; fh=Nsl5e0q53nXQYQGEAjPbzDzBse6vkRPVD2tdh/cXTfo=; b=0W1Pv24bITuYjzV4M1x1O1wTtlRo44+xyDEd27oHItmwo4RdPfpJ/EqZNj4A/ObBQg hTekopRbe7NT4UBZnMIsBQPn0n/fe2m/SrKJ3nsg/5CFq4kMtPNRPhIIeuSWHzJFnAnk /HHp4gRt/IqX6wqO4KxxTROw8Dn4kdHUUrJubEa9aemBcLYl4LIzKqpfuVysOJoCBjaz OTTN/SDniJpoxCi3zfPx9+ECBHV1wRoOcNfUP4oeeM0BdEj7thIYZPqHwTqbmYCg8IHD 1RIN4+vJ6hQL68ryB2SsKhi0+olOIsDGaDZWE0sCoz+sQbWvOWvg0gmrmUvEqbHARGLU UMUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=TUNoZ7RS; arc=pass (i=1 spf=pass spfdomain=candelatech.com dkim=pass dkdomain=candelatech.com dmarc=pass fromdomain=candelatech.com); spf=pass (google.com: domain of linux-wireless+bounces-7194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d3-20020a05622a15c300b0043a2a236617si7093272qty.218.2024.05.04.23.43.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 23:43:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=TUNoZ7RS; arc=pass (i=1 spf=pass spfdomain=candelatech.com dkim=pass dkdomain=candelatech.com dmarc=pass fromdomain=candelatech.com); spf=pass (google.com: domain of linux-wireless+bounces-7194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2400A1C20AFF for ; Sun, 5 May 2024 06:43:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2DD623B0; Sun, 5 May 2024 06:43:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b="TUNoZ7RS" X-Original-To: linux-wireless@vger.kernel.org Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB5A62F2E for ; Sun, 5 May 2024 06:43:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.154.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714891385; cv=none; b=hb18tscUCynSE2Hy+Ffge0wq6SXxmEaGbxiG7FVfzQ5RbXoqmwclCCyjOjjgSr4A4RB6FvM/iNVot+1oWRy2sYnDzDQIGFedotgGxZnLPALPJtiwZ+SBZpVJuLHofc4IPksAaoZiyOcVMyvPy1tVfh0wpXNX34ipxo36Gyoet3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714891385; c=relaxed/simple; bh=fmHo1PLbHgjfJSGAK+2e+Eh928jGQrU5NW7xx5vVsow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P0xduNqxxj2nJAR9SgjSp1M5dOeoHK60fjwm2EE91fIGPugZ4eqqtLT3ovuMDuepvu+4rzmEvhMcd2N80QC2hNdQTfvCsvzuUFLvZ+mngn+jW9lkMLG44YrLp7mBawcEelmrFhq/NB183L/IoH1FEOA+1DCrZzNvQTQPqqokcu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com; spf=pass smtp.mailfrom=candelatech.com; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b=TUNoZ7RS; arc=none smtp.client-ip=67.231.154.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=candelatech.com Received: from dispatch1-us1.ppe-hosted.com (ip6-localhost [127.0.0.1]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id F107E301070 for ; Sun, 5 May 2024 06:43:02 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id D1D7380006F; Sun, 5 May 2024 06:42:54 +0000 (UTC) Received: from [192.168.2.14] (80-61-14-254.fixed.kpn.net [80.61.14.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id BE97113C2B0; Sat, 4 May 2024 23:42:51 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com BE97113C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1714891373; bh=fmHo1PLbHgjfJSGAK+2e+Eh928jGQrU5NW7xx5vVsow=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=TUNoZ7RSdNFaw6l5FUw7Kvd3v62yX/nmgHS7k3Zq5Xx0S/+oAA6AWlRTJUl8IYBOA /7pAeDfLP2BJHT+2FdWJc611PHCgP9ns3etbvguFYBzHymV/chRv0gPgIaXS/DkzQ9 AVxtrixo91AfGdXhcEx3mQgX98hFpSML/1+feoMY= Message-ID: Date: Sat, 4 May 2024 23:42:50 -0700 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 07/15] wifi: iwlwifi: mvm: consider FWs recommendation for EMLSR Content-Language: en-MW To: Miri Korenblit , johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Johannes Berg References: <20240505061959.825245-1-miriam.rachel.korenblit@intel.com> <20240505091420.2fd3387882eb.I7a8a5b24658744ed732bfc03b1872c9298483d62@changeid> From: Ben Greear Organization: Candela Technologies In-Reply-To: <20240505091420.2fd3387882eb.I7a8a5b24658744ed732bfc03b1872c9298483d62@changeid> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MDID: 1714891375-YhyJMj9JCyB6 X-MDID-O: us5;at1;1714891375;YhyJMj9JCyB6;;775c70c271bd600af4f0283363b2f3c0 On 5/4/24 23:19, Miri Korenblit wrote: > FW sends a notification indicating whether activating EMLSR mode is > recommended or not. > Support the notification and enter EMLSR only if recommended. > > Signed-off-by: Miri Korenblit > Reviewed-by: Johannes Berg > --- > .../wireless/intel/iwlwifi/fw/api/datapath.h | 7 ++++++ > .../wireless/intel/iwlwifi/fw/api/mac-cfg.h | 23 +++++++++++++++++- > .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 3 +++ > drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 2 ++ > drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 24 +++++++++++++++++++ > 5 files changed, 58 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h b/drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h > index 0f7903c5a4df..faa7b38df9e5 100644 > --- a/drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h > +++ b/drivers/net/wireless/intel/iwlwifi/fw/api/datapath.h > @@ -1,5 +1,6 @@ > /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ > /* > + * Copyright (C) 2024 Intel Corporation > * Copyright (C) 2012-2014, 2018-2022 Intel Corporation > * Copyright (C) 2013-2015 Intel Mobile Communications GmbH > * Copyright (C) 2016-2017 Intel Deutschland GmbH > @@ -89,6 +90,12 @@ enum iwl_data_path_subcmd_ids { > */ > SEC_KEY_CMD = 0x18, > > + /** > + * @ESR_MODE_NOTIF: notification to recommend/forct a wanted esr mode, There is a typo above 'forct' Maybe worth fixing if you respin for other reasons. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com