Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp637597ybi; Fri, 12 Jul 2019 02:12:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGJcP2IY/8tmmhqUDZnhbQPuEH1xulCIjFIQpTirHslvroJ9CJUEEAT1v5m2qOvkJVB9Op X-Received: by 2002:a17:90a:4806:: with SMTP id a6mr10491150pjh.38.1562922721454; Fri, 12 Jul 2019 02:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562922721; cv=none; d=google.com; s=arc-20160816; b=MLY81CncUWtCmwY4Psvd/U/MSRf21pn8+TbTR2RNdoZNfTsEoLS5LXdWFORAPIcu09 LJJotzuBFyFgkzmKGZASKoh1XAQQ6FOB4rKi32B762MTZGThFZAiV/+ghSXmXo/UFUkf 1IctzDc326/l3AU91E8j6YxA0gv1N9ThV065zuVrhgd031prcsdRk6G3BGzOvyXPqtln d4xsQdAqCyoafylybvv3WDjgkZxs+qOQgcYBKrVoHCURrMyIPA7dgsyoul21lYXimc1L LpWdNbpJ4m5VV54s6CHrmMwD1nyhbCMTV8wMaSYRJkyZU+sP1B5nPGU6YbnBUIfbJ6VH ilVQ== 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:date:cc:to:from:subject:message-id; bh=zOLN6CDjgesS0bfXYTIVwgKKig3TL0sEpHaNo71gcj0=; b=dZVib/GIBzGshXD4vrXqGk4DW3eomtu/ZbQNFkdUGfpfpdeqS5cDotgWk+AKtnyRa7 W11cYoVLff10D2Kl298rMO65BLshr/TnYP7t9kbsjpby0MVwHlMtPDU9yY9BAvWJ/BGA 3jV2oiRvB7pj40dVhm1mi/dk8bL5sYPY1WT2+UzBU7QEu44WkVqisxcIBubaiOjPeASr /4mmORaKVynrV5cSExidl+sGzKlpvSUDShKn321rbRVfR5uW5m2XOVcHydQp013z48es XRfsWwv39qUdfE0I5MzJjwmhO0DBLRU0LZUkfDTOJjfy5aC7KzdQPJpb0/O8ptlVG7XL 9JQg== 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 69si7397895pgc.40.2019.07.12.02.11.34; Fri, 12 Jul 2019 02:12:01 -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 S1726224AbfGLJLX (ORCPT + 99 others); Fri, 12 Jul 2019 05:11:23 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:55376 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfGLJLX (ORCPT ); Fri, 12 Jul 2019 05:11:23 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hlraL-0006OG-CW; Fri, 12 Jul 2019 11:11:21 +0200 Message-ID: <1c371a5921200a11da459b591df121bbcb0f967d.camel@sipsolutions.net> Subject: Re: [RFC PATCH v3 0/2] cfg80211: fix duplicated scan entries after channel switch From: Johannes Berg To: Sergey Matyukevich , "linux-wireless@vger.kernel.org" Cc: Igor Mitsyanko , Mikhail Karpenko Date: Fri, 12 Jul 2019 11:11:19 +0200 In-Reply-To: <20190710173651.15770-1-sergey.matyukevich.os@quantenna.com> References: <20190710173651.15770-1-sergey.matyukevich.os@quantenna.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-3.fc28) 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 > Suggested approach to handle non-transmitting BSS entries is simplified in the > following sense. If new entries have been already created after channel switch, > only transmitting bss will be updated using IEs of new entry for the same > transmitting bss. Non-transmitting bss entries will be updated as soon as > new mgmt frames are received. Updating non-transmitting bss entries seems > too expensive: nested nontrans_list traversing is needed since we can not > rely on the same order of old and new non-transmitting entries. That sounds like a reasonable trade-off. I do wonder though what happens if we're connected to a non-transmitting BSS? johannes