Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp845525lqb; Fri, 24 May 2024 15:55:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMFlHoMZtsu2IBmmEC5EQE6Ym/7mcRbFpLdRUjxpY8Zw+ShqXxDGmyL9kGmbsMPVc1HXsuhWaOeEEvMFeBqZr+QZOiDWQbJ6Q8QiAmTg== X-Google-Smtp-Source: AGHT+IFwPXSEoVxIHhlKEGtaKUWIXUciH9+3+i8YByOWe1ZUHg2lcoZ4f0zISXo61FPo84yo6xz0 X-Received: by 2002:a05:6a00:61c3:b0:6ed:825b:30c0 with SMTP id d2e1a72fcca58-6f774f04457mr8019885b3a.15.1716591319946; Fri, 24 May 2024 15:55:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716591319; cv=pass; d=google.com; s=arc-20160816; b=TEL1g0QbS5xRvzVQzlD5utP9HKZmNJPPbkPqmmg4f5YVt6mdMlr5OKoAAcQzjtKNMd Z0JsGu/N9AsyfxM9mGslc0nl0wjT0YZcQQla2J3eOgGxZ/I2T07tSfPG1UklpcMlsEF2 YeatdzF/q1nAO6jJV0xBIOC+yM2xXs2EznbMwdNGmGzc531uSqxqPit6GwJtObMS1i/c fOMLh4fEPxY6VjZEKW7dBgGu19ELQBgJc6VxtugiRKu1bWWih3ZxYXWeqHrZ4ZTwY2jL pEL0wnW1AVf79x8eiJ4enioJWbxiWv5uhnPdsJ7ZHkX38rXjNdYEvIb1Oo5YX32OZDei 5oDA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=vFIQk8rk4nhAX1GMl30ET3KpsGu/hdAnGJjqSaqy4vI=; fh=HQVYk5fHkRXA5WinB3x3b87/aFvpYS4BAlYQwRp50Ks=; b=Gz7KjjOQWUloiZWVvBObhJd/fZMy8m0qNIZrxQW7U7Ab2GJfaYh+FSk3WF5ZjzUT3V 9SgPdptknqJHFVIGqd7j/wUpdFClcPKs4ZMwArkiQcSr2F3fWD2cXzDE2OfaimO+Pio7 tyEVz0bqjDeZqlkYD0jAkRKQYAcJ4fQxS7KBT3KJKRMJ9he253GtniXaBSU9lylIBX2Y +LxCrRlwMtYgVcYr8ve9dbR5Th8aXmfn9jGzNuKTOyHNFF8VswiNbSaoerUJu55jNncd K7yalre/DCmHNGkERA3auLb7nxBwalLeV61RJpv5GLqUYTyNcUFyFsXuVPjEKY9vW26h 3WMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N8gWPnnw; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-189178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc36e5fcsi2119351b3a.93.2024.05.24.15.55.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 15:55:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N8gWPnnw; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-189178-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0C32C281E0F for ; Fri, 24 May 2024 22:55:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34162128830; Fri, 24 May 2024 22:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="N8gWPnnw" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 ABF284A01 for ; Fri, 24 May 2024 22:55:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716591312; cv=none; b=ZFhHrnJV87x1zsW2Y+L31N1REh6Dow+Zh6tv/Yv715mvucwZSMk1gIZl3zPDOYbnlBX0NL6KCAGqdVw2CqR8A1tYLyOuBtKM1bGuVm0Pn73/rOw6kLjR9flCJUN9HzLTbihrN0iIv551/ht1MuCk8nho399SCCA/NOfEG4Usu8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716591312; c=relaxed/simple; bh=vFIQk8rk4nhAX1GMl30ET3KpsGu/hdAnGJjqSaqy4vI=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jL8I+3L+PCBkvbqUKkejYFUm8YH5pdXQaq2Lrx2CKj6od0av31Ff2Io1UAsvE+nL8HvOOwdtEClCJCeNxx0/Qv5QNUUIcSWzaHqYyQHOZ1SsSGCCSWy6NBVSR8X1T3HTaiFvacNM1fmFkxBCxzkaltdOEBLfEnKXA15fLPN/4aU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=N8gWPnnw; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-57857e0f45eso1087510a12.0 for ; Fri, 24 May 2024 15:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1716591308; x=1717196108; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vFIQk8rk4nhAX1GMl30ET3KpsGu/hdAnGJjqSaqy4vI=; b=N8gWPnnwKwrp1nYOSPOygvMc60UP/ygxWE+ADcykYV/4C8/qWGfDb26PbK7NvNnI0C ekn44p2UzOLRK/DLIF5laPVSyKXvM3D3OjgbeIsq5VAx08tdhATDwSr0dhUf+AwQTyww hdfV84aiS1Z8FZQIy+mNGEuK+lM8WCGXD9w20= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716591308; x=1717196108; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vFIQk8rk4nhAX1GMl30ET3KpsGu/hdAnGJjqSaqy4vI=; b=HuWRw/bQi8t6aPjBbmXUw7nEmNICW2Ck2jDXNfxf2SwT73+WBG1zOpweQ9ck6syozz Qyh6Y9m+h14x6AhSYKDi6ji1meflUzngj5qDKwxq4ZTkBl2H2QIwVWVttURvTGqguwB9 98sL7PzdUrqcrkbawx4JXzdHT5pWGc9Bg7OLg2+7HvzAOrz+4PnftIrlW4UP8aFS1W0R xRSASgA6+Oveqs+DNNL7QR4jBkzPjQlpxWj/1AAxl3hTd4mqDRmLZGqX4lzcTCMYnBD3 AIKwJNyYa3q6eI9cBq4Kjx8Ag7ghP/S5ES9i0zglteMO3sJLwOKKKGfglaPRxFxtamY+ gRng== X-Forwarded-Encrypted: i=1; AJvYcCVT15QdSm18eT7RUoKn/8v61HIGS9B95ppZNbqkT4meBq0yrHaCKhzMmM34+/GxIT/UzOyDX7txSIlJFHRaAFqz49KAXBbizBifoOik X-Gm-Message-State: AOJu0YxtiSFbWZxNTjKm08j15cYzER2EqamCudRq7Xm2EPH480bXM9VW KYjG1KuO+cWbbO7OUGhJ6Qs7ZSD2UOc2lNZRElE+LOmkQSwh+yETlRsL+OXEWVD11BbJdXojyys HyA== X-Received: by 2002:a50:cd08:0:b0:572:637b:c7e1 with SMTP id 4fb4d7f45d1cf-57851966484mr3114529a12.21.1716591306980; Fri, 24 May 2024 15:55:06 -0700 (PDT) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com. [209.85.218.52]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-578523d2507sm2325638a12.40.2024.05.24.15.55.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 May 2024 15:55:06 -0700 (PDT) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a5a4bc9578cso1317605366b.2 for ; Fri, 24 May 2024 15:55:06 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUOpGERqDzaKb8NuCulq3Ly2N0MqaoUTJ95ZNyUFGsjB/AGEXqy5fq9CCVn5n3bVm6/2N4ukY9Icgdfg8EPTH6QCaGrCyEGGRybNJJn X-Received: by 2002:a17:906:35d8:b0:a5a:5c98:c595 with SMTP id a640c23a62f3a-a626511a554mr347429966b.61.1716591305542; Fri, 24 May 2024 15:55:05 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240418060626.431202-1-yu-hao.lin@nxp.com> <20240418060626.431202-2-yu-hao.lin@nxp.com> In-Reply-To: From: Brian Norris Date: Fri, 24 May 2024 15:54:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [EXT] Re: [PATCH v10 1/2] wifi: mwifiex: add host mlme for client mode To: David Lin Cc: "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kvalo@kernel.org" , "francesco@dolcini.it" , Pete Hsieh , Francesco Dolcini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 24, 2024 at 3:01=E2=80=AFPM David Lin wrot= e: > I think it needs time to support probe client. Can we put your suggested = comments to the code > used to hook probe_client() and add > > "TODO: support probe client" to mwifiex_cfg80211_probe_client(). Are you suggesting that you plan to actually implement proper probe_client support? Did you already do what I suggested, and understand why hostapd needs probe_client support? This seems to be a common pattern -- that reviewers are asking for you to do your research, and it takes several requests before you actually do it. Now that I've tried to do that research for you ... it looks like hostapd uses probe_client to augment TX MGMT acks, as a proxy for station presence / inactivity. If a station is inactive and non-responsive, we disconnect it eventually. So that looks to me like probe_client support should actually be optional, if your driver reports TX status? And in that case, I'd still recommend you try to fix hostapd. But if you're really planning to implement proper probe_client support, then I suppose the TODO approach is also OK. I'd also request that you please actually do your research when reviewers ask questions. I'm frankly not sure why I'm spending my time on the above research, when the onus should be on the submitter to explain why they're doing what they're doing. Brian