Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1841261ybz; Sat, 18 Apr 2020 09:33:06 -0700 (PDT) X-Google-Smtp-Source: APiQypKtt8CXNPS9vTdfNvun7zVNyXpVyuIplQ1dqcTUPEAKRpm8wdWNtD8Ey1hN9pCahRhPn+yz X-Received: by 2002:a05:6402:1d23:: with SMTP id dh3mr6044783edb.349.1587227585807; Sat, 18 Apr 2020 09:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587227585; cv=none; d=google.com; s=arc-20160816; b=pa+ceYcOOWEDWCTdeuxrdUzhSaTvRol6V7BO4CGKcJv1sMVBL6IVyNwLb7Uap3b+oZ jFu7Y2kaCO92rb5meSMmahX1mizuwSmiEzpMiFYy4lw6GkYajEmpiFfBtyoiIamoqhN8 rIBR9kmSrZFB9Pp/vNjtNM7yPvgLzvYAtWV9u3aoO73sg/E+1N/zkqWfrJyvQKFe6syy 5Dr04Jl7+0caqxt3Vxbf0V2MjYi3LZ18F4ovuucPoVcgZRY33doxBoorVHvm+VzUF7ki oR67ZRXKq9iwPU21CDURYZ9Nxc4VIEDYVsZtEY183fJ7CAPMDLiTrYusdBQlAeeARB0U i1CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i5lQ44ahYpV3bCbPbeR8nUcPwQKMRs9861oUuAKoOHo=; b=E+RavVJAd/qDvWUvc8mNptE4TA/Er2vioeinr+9nxxJTy/dAceWflzbk4zLHwee5cE oHLs/LZqSEZwioFIzmOWIhJ6BFcmcnl1mJXfrdltsrP6Iom6H+spQOWNksYxtig14mrY dacSex5QDSKqd31mARfagY3RS1lunBSnuOHxRKMoijTqU2vMDx6hHH2eIKGyQUD5Kbp9 vvIM55ik3od/6lOvas8AXqwsu9lB8AOaYXju9sm8n1n+Nvwtfo6wc2rMyFn2y83huC3U kISxPUhi4/IGskLllAlUEWnEcqvP/6VNRwMPb8n2VnK+EDY2sXgDBoTK6PBCWibAeuiT z5DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aVXOUMaC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si9182040edx.256.2020.04.18.09.32.40; Sat, 18 Apr 2020 09:33:05 -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=@gmail.com header.s=20161025 header.b=aVXOUMaC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726767AbgDRQaZ (ORCPT + 99 others); Sat, 18 Apr 2020 12:30:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726459AbgDRQaZ (ORCPT ); Sat, 18 Apr 2020 12:30:25 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE0D7C061A0C for ; Sat, 18 Apr 2020 09:30:24 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f13so6585198wrm.13 for ; Sat, 18 Apr 2020 09:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i5lQ44ahYpV3bCbPbeR8nUcPwQKMRs9861oUuAKoOHo=; b=aVXOUMaCFdR+69xrK8SZJq8Nk2tMiqJ5zWIACyBOno5lqXdKQL5Igam08BYunkhFVQ jG3RetHNuVjeUDzqvVjiU2jX0ADp4DE3fU52RE6+bpwws72khuMa+qvC/EaFjVuCRruP I2F28Jkue28HeO2O55oiQhp3GIZSBUYZn9N+mYpq6vwQAwS98yiBiBcTo3Z5d0SOQ7bG ElA9pzighsPtXdlPH++OmxYXFifnQzfaobsvu3nZ60N84bpAg/I5NSrsDgEkFa/q69Sz NVvgd3k332JHIiZ95mnEoc+aFCgE+S5zvJzAt2xh8dbbO+iM8D0Q/++PShJlLiHK5R46 QXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i5lQ44ahYpV3bCbPbeR8nUcPwQKMRs9861oUuAKoOHo=; b=BU79Kd2Tw4RZNhq3K3MJXd7paDPTrv+H9W9hDlCIZAEh95tjXwPA0oO+4gojQI0TTc df3UAjRf2k0t3FjOecoEeZlwSwsnL8aIf9Pc4inMuWr2Ym764C72bnkii7RHAvLP76Iw 7565MebmzGlKzmNVCuanPlsbWypcS8wgPI7/vmyU2Y5zMum0G1uGF+5OdQDaA9RIZ4rx rI69CP74IKhuQcz9/MZqCMkCBmAfPco7NMeH3V25+4LuMbY21sv+sGj803Z7sna7JKPj bX76EyFoe+3ychRV42xNEeSmXtugaTHX4DsigiqckAsJcRKgtd9Bt8NhFrjVF7lweZ3k AwWQ== X-Gm-Message-State: AGi0PubTj2FXJwIEiO5ny41R18xMAtguRD+S1k2Cc57IkrCE62dD5UwY MlmFeTUJonf2CIgjSgZw4hQgNu9t X-Received: by 2002:a5d:400f:: with SMTP id n15mr9650766wrp.344.1587227422175; Sat, 18 Apr 2020 09:30:22 -0700 (PDT) Received: from debian64.daheim (p4FD090F8.dip0.t-ipconnect.de. [79.208.144.248]) by smtp.gmail.com with ESMTPSA id v131sm12538420wmb.19.2020.04.18.09.30.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 09:30:21 -0700 (PDT) Received: from localhost.daheim ([127.0.0.1] helo=debian64.localnet) by debian64.daheim with esmtp (Exim 4.93) (envelope-from ) id 1jPqMC-0005Za-5Y; Sat, 18 Apr 2020 18:30:16 +0200 From: Christian Lamparter To: Frank =?ISO-8859-1?Q?Sch=E4fer?= Cc: chunkeey@googlemail.com, j@w1.fi, linux-wireless@vger.kernel.org Subject: Re: [Bug] carl9170 + wpa_supplicant: P2P mode doesn't work with separate interfaces Date: Sat, 18 Apr 2020 18:30:13 +0200 Message-ID: <8972271.5nXPVzACVl@debian64> In-Reply-To: <3a9d86b6-744f-e670-8792-9167257edef8@googlemail.com> References: <3a9d86b6-744f-e670-8792-9167257edef8@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, On Saturday, 18 April 2020 13:20:27 CEST Frank Sch=E4fer wrote: > I'm currently testing Miraclecast=20 > (https://github.com/albfan/miraclecast), an open source=20 > Wifi-Display/Miracast implementation. > In one of my setups, I'm using a carl9170 device as sink, which fails=20 > with the following debugging output: >=20 It's been a very long time. But I do remember meddling with P2P. Part of the reason is that the carl9170 driver needed these virtual interfaces initiali= zed in a specific order. So for P2P GO+CLIENT, you would have to initialize the P2P-GO interface fir= st and the P2P Client interface second. Which is backwards of what the wpa_sup= plicant does. Same is true for STA+AP (Repeater). The AP has to start first before the STA can be brought up (Also the STA must not interfere with channel operations,= as the fast channel change feature doesn't work right on the AR9170 Hardware). This is documented in the driver: and was changed as part of this commit: that identifies the wpa_supplicant commit ["nl80211: Automatically use concurrent P2P if possible"] as the reason. So since this broke, something must have changed since 2012 I guess. But I need more details, before I can do something. Regards, Christian