Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1384476lqt; Wed, 20 Mar 2024 02:12:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVc8fwLGdrjIzmuL4QfGrDo5Dm7V1SjSH030WOIRX/loYm9h3EA8TMISpPi39pbaMHNNupU5/JVud7ZKY61F7uEqnPACsuHvsp80wg/AA== X-Google-Smtp-Source: AGHT+IEkyweqa8GDIEu+x1PzrSE5ClJ2+i0c3yGn+s01K/4aYnvALBXHqfdDHwS/XBu/ElCOpDp5 X-Received: by 2002:a05:6102:3be6:b0:472:e8a6:ad0 with SMTP id be6-20020a0561023be600b00472e8a60ad0mr4116475vsb.18.1710925975118; Wed, 20 Mar 2024 02:12:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710925975; cv=pass; d=google.com; s=arc-20160816; b=GiU9rr9BUz6UYxitMw08lXUuVcGE7LqQ82W+BxLQgocZ3IMwV0fHqCiK7aVqYw1Vup I3MYrCmLeyXpnk1QdsEsyzojWY9jo3B8Q3S1WcaRRamPewSORbo4irdi04sA5anK4aPT ubE21bFMyVtY+8rDiiFN3xzw+R5iE5XVoD6EXbuy87qLG6WFnbq/XPxmCylVFdt46do6 4QeZAfFsBIZeOEUAif3Il108kUFtVhylfwPG2EDnayPtDLJf0d1sgvdtT9eI1bQm95bg EDdc2LLVVE3WMbwW1JBx2l+3gI7B2ceHZsz9NVo1k6u0GqI+X4VPeAtl3aM0eHLp+2VZ 5UuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=+cQOlbmIo4jx4EXb7qfz4OBixcqEIrAG4ITC5AbEzzQ=; fh=qIiBSQSK8KlmJYlXk5u56fZ2xxk8H1QKitm8yRnP0EY=; b=s1qrPxh+p7MWOo/PopwN7S2MxY4Qqn+2aeX7Cc/zA7LYowYlaByDtHCBHqNrAm+DwE 3DB/2Y1tQxYpn02ATM1lk1t4thfzlzU4CfRXEl535jlCOAI/vgzQ0S/OPeubC07NydWR z7cJr/HrmURRAZ7R9u8UfZ5V4ImzyaXE1oLyA4H0K7AF7UGH+fS1apuicLl1AnD5uAoN fPEjyYAsaVTl/tJQImgUluC3fKwI55DB1rylZ36qDJwI1OXeAk8jbAMEgV1NmO+ysSFV yZUv/DElO6FKx/JSRtElFhsGpUy4TKOZkrI3DIzYZbHB+kJ0mPoWbIph6rw94UIaW7R9 y9aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=uZW7+ZCG; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4958-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kj20-20020a056214529400b00690bb1ae3fesi12244625qvb.301.2024.03.20.02.12.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 02:12:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4958-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=@sipsolutions.net header.s=mail header.b=uZW7+ZCG; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-4958-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 80BF01C20DC2 for ; Wed, 20 Mar 2024 09:12:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 954BD39850; Wed, 20 Mar 2024 09:12:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="uZW7+ZCG" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2838381A1; Wed, 20 Mar 2024 09:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710925970; cv=none; b=rny5KatR5E4aShbaBsTaDJ1lTrIwobT9Oa52P+14C3kjXcWwZ0Xx+q00ACs1IiDKeNwFXNm/bZwR+tfFYR/CQQroww7Wqr/L4dWWpL7GXnYZ8L3xHPnh8MFTXrtxYzz1/k2cZCfuBUmR+hdtZWPoOHEzgxkQJbLp8+V0GsYbTgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710925970; c=relaxed/simple; bh=+cQOlbmIo4jx4EXb7qfz4OBixcqEIrAG4ITC5AbEzzQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=s7JzZfR2pq+L0SaXEkulrlnhtVy5qWHxLl4m4cR6p3wuiRiW2E0o7hnvqr9J2rbC5Yw28gm6+ywvHMWAfo93Mh3bRSiN9pAn3fzNImXAhHfJMsIBMWwusWgkzOUKNsZlr13BCkqC4b83TBWFPmFlEu9tPuptjNP/AoURG2FtUNQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=uZW7+ZCG; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=+cQOlbmIo4jx4EXb7qfz4OBixcqEIrAG4ITC5AbEzzQ=; t=1710925969; x=1712135569; b=uZW7+ZCGBcDkwTsfFtJiyFeYgkVbl5iMuW66g7VGfLex9nh g8gkQ2lavOhO0lLQBh1jAALO8ouNlMRhtxa7igiMeRXCpZPo9bhmxC0gxTMAMftHpEbwryKmixXFC iwQk8+BV3ufr5dQdLQml6vJfrBJNBjRPK4txH4eyodv0FrjK18PycwalQVue57vLl70+K0rg2IJdB s8DrQgb+yRuMEI7ldhnaT391KBvKtJ66iR4zms6An8tUtV2u+L+9QgP4kSByAgNuEDBVFD1b0mv2f AgPIVHCLVsk98ZFJQJv9Wa3Ml0Py/Pvc2aU4sHBAX5z4dmcX8frkGJPVQw9fnO1w==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rms06-00000006u2O-1aY8; Wed, 20 Mar 2024 10:12:46 +0100 Message-ID: Subject: Re: [EXT] Re: [PATCH v9 0/2] wifi: mwifiex: add code to support host mlme From: Johannes Berg To: David Lin , Brian Norris , Francesco Dolcini Cc: "kvalo@kernel.org" , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Pete Hsieh , "rafael.beims" , Francesco Dolcini Date: Wed, 20 Mar 2024 10:12:45 +0100 In-Reply-To: References: <20240306020053.18054-1-yu-hao.lin@nxp.com> <20240315094927.GA6624@francesco-nb> <969e95ccc4a1d35b45212b7fcb536ee90995e3b5.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Wed, 2024-03-20 at 01:10 +0000, David Lin wrote: > > >=20 > > > Also decl.h should probably _shrink_ rather than grow, a number of > > > things just replicate ieee80211.h (such as MWIFIEX_MGMT_HEADER_LEN > > > really is just > > > sizeof(ieee80211_mgmt) or so? Not quite correctly.) > > >=20 > >=20 > > This can be done for feature patches. But this is a feature patch :-) > > > So yeah, agree with Brian, not only would this be the first, but it's > > > also something we don't really _want_. All other drivers that want > > > stuff like this are stuck in staging ... > > >=20 > > > So why is this needed for a supposedly "firmware does it all" driver, > > > and why can it not be integrated with mac80211 if it's no longer "fir= mware > > does it all"? > > >=20 > > > Johannes > >=20 > > Our proprietary driver is cfg80211 driver, it is very hard to create a = brand new > > mac80211 driver and still can port all tested stuffs from our proprieta= ry driver. That basically doesn't matter for upstream at all. >=20 > BTW, vendor should have the choice to use cfg80211 or mac80211 for their = chips, right? No, that's not how it works. The choice should be what makes sense architecturally. johannes