Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2883239pxb; Mon, 18 Oct 2021 04:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybW2NEOUa9c0oiPqd/+jtjDkjn04HQtfyjJw3eHKabfUJoVFxUy9SI/zTc08zNT+SoZd/u X-Received: by 2002:a17:90a:8a0a:: with SMTP id w10mr24581716pjn.60.1634555050947; Mon, 18 Oct 2021 04:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634555050; cv=none; d=google.com; s=arc-20160816; b=x+YvdexbSNNu+xArHd97gOLMQG5prKyoi8pPJ8TVuaJw/KeWEqQB6JFz4b02AMrNAM LrSEgkfvd9G1kG08LANMrNleFh5xf8FUoELKh3fBgkcxWvQL7qzPegL/0UbAYW3k5r3a /kFYgAEc9CBzGLWeXwZHBq9zrapoWpTKkK/KmsdDOylxOcyJv1GUAOLkPRffzhe+eKUD 0xRwVzez8c89jvi4LXsEu697GUPV/6iUCrunp7ywPhnfk3L4P8wtc0RM+ilMyEp9cFpO SPFo53U959c5OFJuntg0SITKyIRi0eaFslHA1GD5n+9JVz3fQQAfxMDeZSv5XFt4CAp8 hWiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=loFM59LIVPdcJ4HC9TxTbh7SG2phM+p9tC0wxzXQgRg=; b=jwQFnwqisU4ct4wlaP6leLr375Yg3EiSryIXslMbePq58X4mqF8PwPXYzPiIT3/5Sz hegL/1PS3Q6RRd55Rp4W4PGuQyoL2VNj7tY+1IxL+mCTbrFoyI4wRPRkPQdhX6Cy3kA0 lv+zPe6ssblAT5KmByQaCbt4PxyQzeteXTzgUQBDW7SwLrUIjYc4DWWQYbk1/i8uRD6a np8wo11wPaRe01qTWVP6+6hJ03XU9dLpAG68r9x42DetQAKngUKRK+q9HVGugtvF0g2W ZEYAKXdLzJGdbP4elqL2pQyNnMUdRRTBz0D+iBhhx2CnjNNmGSb7KRQPQGHJA67JS1cy B+bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=lkgrm5h1; 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 v8si3354344pgl.31.2021.10.18.04.04.01; Mon, 18 Oct 2021 04:04:10 -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=lkgrm5h1; 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 S229778AbhJRLGK (ORCPT + 64 others); Mon, 18 Oct 2021 07:06:10 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:39896 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhJRLGJ (ORCPT ); Mon, 18 Oct 2021 07:06:09 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1634555038; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=loFM59LIVPdcJ4HC9TxTbh7SG2phM+p9tC0wxzXQgRg=; b=lkgrm5h1IKwCIvodanPIXQ/opYWJNXvTZgOS/Rm+m4C9qLLWCrz6StyZsb7GfYvWrHb0khtD hrc7CRoyP6N8WubQkeW+w7cM9tk713yHNn+FzM3ItyEvqPT9myYk3BFgb40ZlO4mm3Kujd2X oQ0RQXQWCsaei8WMtdfn44nGYew= X-Mailgun-Sending-Ip: 198.61.254.9 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-n05.prod.us-west-2.postgun.com with SMTP id 616d5498ea41a97c24370bac (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 18 Oct 2021 11:03:52 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id F1BEBC4360C; Mon, 18 Oct 2021 11:03:51 +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,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id E0B4EC4360D; Mon, 18 Oct 2021 11:03:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org E0B4EC4360D Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Emmanuel Grumbach Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH v6 4/7] iwlwifi: integrate with iwlmei References: <20210811105541.43426-1-emmanuel.grumbach@intel.com> <20210811105541.43426-4-emmanuel.grumbach@intel.com> Date: Mon, 18 Oct 2021 14:03:46 +0300 In-Reply-To: <20210811105541.43426-4-emmanuel.grumbach@intel.com> (Emmanuel Grumbach's message of "Wed, 11 Aug 2021 13:55:38 +0300") Message-ID: <87pms2vbl9.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Emmanuel Grumbach writes: > iwlmei needs to know about the follwing events: > > * Association > * De-association > * Country Code change > * SW Rfkill change > * SAR table changes > > iwlmei can take the device away from us, so report the new > rfkill type when this happens. > Advertise the required data from the CSME firmware to the > usersapce: mostly, the AP that the CSME firmware is currently > associated to in case there is an active link protection > session. > Generate the HOST_ASSOC / HOST_DISSASSOC messages. > > Don't support WPA1 (non-RSNA) for now. > Don't support shared wep either. > We can then determine the AUTH parameter by checking the AKM. > Feed the cipher from the key installation. > > SW Rfkill will be implemented later when cfg80211 will > allow us to read the SW Rfkill state. > > Co-Developed-by: Ayala Beker > Signed-off-by: Emmanuel Grumbach [...] > @@ -1932,6 +1952,17 @@ void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm); > int iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm); > int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 budget); > > +#ifdef CONFIG_IWLMVM_VENDOR_CMDS > + > +/* vendor commands */ > +void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm); > + > +#else // IWLMVM_VENDOR_CMDS > + > +static inline void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm) {} > + > +#endif // IWLMVM_VENDOR_CMDS Shouldn't this be in patch 6? And no C++ style comments, please. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches