Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp414ybi; Fri, 26 Jul 2019 05:09:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEQwM1cPf50sBzGAMpv8vskKO84EWIwliymVX2aDpuu3It0rILIZrAnX/HHzvd294YvCtH X-Received: by 2002:aa7:8481:: with SMTP id u1mr20947830pfn.243.1564142963141; Fri, 26 Jul 2019 05:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564142963; cv=none; d=google.com; s=arc-20160816; b=M95hwKvCNJpYofyxbokh4GW4IKThP7InHfph9FGrDqoOz1gi473C5KNR52Hmli300f Out4Z6/C8KACDcSv1I85xrq6xG3cOygqEmhUyPPysO9soVxdUGELcYAZ0Ty1lGnKGqA1 GzKhLp17tIUK9XdVyELgV15GBg+keBHLxNIys5r3gBIly4TKuoHjy3bcMgS6LXTGyfjP yFcjjzOCSVYOsIy3+bp/A2lMdXwKnbDw1KLci1r2JbuZhdG9HerIO1QUEJsw0a7hMRBm cysSShYIPBP4t3MtSKnOeOxZGY56nqMSsp1nA0Nxg3aTeLHDerDMZpWNqVp0iFXMEa3p I4JA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=bJOjygGUOqb/MiH0FPtsGDGanqwL0XFtdHsKVRLGf2Q=; b=j4cbpN27YsiTuQ8h2XWeG4ebsUPPWKsAnan5GZsQfUZyUEP2eUqhZuakc+QETo0Xqt E4yTPE2Cm+IcO2tBctazi3B+2LgbwVxWh8Ix7a4v/2x8HNCfaNqKoopTnqdm0StlAZdS kTUDI8YJWyJWXXUjWn7vKXN0BsvLvY6AuA6npcm5ow/ddBhQdKpAwiJ0OHn/xi1k4r+E B3gtZPwcH3Y5dDxNAg8J3m+xNov0GlRCN9Ubu+8+Q9MDaCNNg9n0FNOSs3/WaDscUxNG ejiFORlH0O+JSPcU5xS0137c0jUfOWjCVlGRvoyfvLq/cjxSIQh2nIoQCGKQwrtZ4nqn wSOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si18217228pgi.570.2019.07.26.05.09.06; Fri, 26 Jul 2019 05:09:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726282AbfGZMCR (ORCPT + 99 others); Fri, 26 Jul 2019 08:02:17 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:47982 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbfGZMCQ (ORCPT ); Fri, 26 Jul 2019 08:02:16 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hqyvP-0002Nq-1Q; Fri, 26 Jul 2019 14:02:15 +0200 Message-ID: <9e95c120de95c9f5f64ea8e589f036a1d338ad96.camel@sipsolutions.net> Subject: Re: [RFC PATCH v3 0/2] cfg80211: fix duplicated scan entries after channel switch From: Johannes Berg To: Sergey Matyukevich Cc: "linux-wireless@vger.kernel.org" , Igor Mitsyanko , Mikhail Karpenko Date: Fri, 26 Jul 2019 14:02:10 +0200 In-Reply-To: <20190726101150.lykay6apgzvsb4ov@bars> References: <20190710173651.15770-1-sergey.matyukevich.os@quantenna.com> <1c371a5921200a11da459b591df121bbcb0f967d.camel@sipsolutions.net> <20190712092716.ywnkns473s5rtoku@bars> <43055be7b2d7ff0f8dbadd19443fc73f30f93bb6.camel@sipsolutions.net> <20190712105212.clf77zne6i4gh5ti@bars> <2efa83ab8120e29d1eb1be8295d59568b4eacc9a.camel@sipsolutions.net> <20190726101150.lykay6apgzvsb4ov@bars> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Sergey, > Yes, this is the use-case that I tried to address in the last revision > of the patch. OK! I didn't see it here and I guess I didn't look at the latest version yet, or I missed it. > If you take a look at the top of new cfg80211_update_assoc_bss_entry > function: > > + /* use transmitting bss */ > + if (cbss->pub.transmitted_bss) > + cbss = container_of(cbss->pub.transmitted_bss, > + struct cfg80211_internal_bss, > + pub); Right, makes sense! > Actually one of the major concerns is the lack of testing for the 'multi-BSSID' > scenario. I verified the 'normal' scenario using both mac80211 (iwlwifi) and > FullMAC (qtnfmac) cards. But at the moment I don't have any mac80211 card > supporting multi-BSSID. You might be able to do that with hwsim? There are multi-bssid test cases in the hostap repository, and CSA test cases as well, so I guess it'd be possible to come up with a combined one. I'm not *too* worried about this though - we're still all testing and developing this. johannes