From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E7F5C4338F for ; Thu, 5 Aug 2021 13:25:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 269176113B for ; Thu, 5 Aug 2021 13:25:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240801AbhHENZs (ORCPT ); Thu, 5 Aug 2021 09:25:48 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:15022 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240596AbhHENZp (ORCPT ); Thu, 5 Aug 2021 09:25:45 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1628169931; h=Content-Type: MIME-Version: Message-ID: Date: References: In-Reply-To: Subject: Cc: To: From: Sender; bh=Rqm82H3nLphN0crRFtYE2kconj/RynBCqWSE2rDCkeU=; b=vHMVAmt2PuzxnckOozxZWdGbGwel/Fbg63SCRGbuqYqWU1VhxX/Sc1zZKkYbYKsR2z1+Csgz Wau5bffdu9I3J/CR0x0EuE12uxjZ06aHuu/3pdmQUdfY7cXB3OfMKkiaYqzTTk5YEXPxw7e3 zZ/7LMquSBBWanTdZE547YMTjSg= 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-n01.prod.us-west-2.postgun.com with SMTP id 610be6ca3f14248172b29274 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 05 Aug 2021 13:25:30 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6AA74C433D3; Thu, 5 Aug 2021 13:25:30 +0000 (UTC) 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 89F66C433F1; Thu, 5 Aug 2021 13:25:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 89F66C433F1 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=kvalo@codeaurora.org From: Kalle Valo To: Emmanuel Grumbach Cc: Emmanuel Grumbach , "Coelho\, Luciano" , linux-wireless , Ayala Beker Subject: Re: [PATCH v3 3/4] nl80211: vendor-cmd: add Intel vendor commands for iwlmei usage In-Reply-To: (Emmanuel Grumbach's message of "Thu, 24 Jun 2021 22:56:49 +0300") References: <20210623141033.27475-1-emmanuel.grumbach@intel.com> <20210623141033.27475-3-emmanuel.grumbach@intel.com> <87k0mji43p.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Thu, 05 Aug 2021 16:25:23 +0300 Message-ID: <87sfzoc9bw.fsf@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Emmanuel Grumbach writes: > On Thu, Jun 24, 2021 at 8:09 PM Kalle Valo wrote: >> >> Emmanuel Grumbach writes: >> >> > iwlmei allows to integrate with the CSME firmware. There are >> > flows that are prioprietary for this purpose: >> > >> > * Get the information the AP, the CSME firmware is connected >> > to. This is useful when we need to speed up the connection >> > process in case the CSME firmware has an TCP connection >> > that must be kept alive across the ownership transition. >> > * Forbid roaming, which will happen when the CSME firmware >> > wants to tell the user space not disrupt the connection. >> > * Request ownership, upon driver boot when the CSME firmware >> > owns the device. >> >> Vendor command requirements are documented here: >> >> https://wireless.wiki.kernel.org/en/developers/documentation/nl80211#vendor-specific_api >> >> The commit log is not really answering to those. For example, how a user >> would use this? Or is there a user space tool? > > We intend to send those command from the NetworkManager. I'm not really fond of the idea that NetworkManager uses nl80211 vendor commands, sounds quite hacky to me. I would prefer that NetworkManager uses generic nl80211 interface so that it works with every driver. But I need to look at v4 to understand more how this all works. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches