Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4713358ybl; Tue, 4 Feb 2020 00:24:58 -0800 (PST) X-Google-Smtp-Source: APXvYqyveHznsMAxt7sEnVB/ACLHdokbdJbA+3wJoRo/0fkTGUtHgB1jmXJit5inMNAiNT/i74ZP X-Received: by 2002:a54:4816:: with SMTP id j22mr2668708oij.179.1580804698379; Tue, 04 Feb 2020 00:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580804698; cv=none; d=google.com; s=arc-20160816; b=GUmWIuYh5jcsH32U6qFrpikLypt9sRSFtxJQfi+WdWKMVni97MGvW8+WvloHRyqOLw cS+k+qgbpOPTpBxnh2aAd+SIwQ48W2i+wwpfws1aV8pIRgyFroD1lBbIQ3fe7daEDWnf sqP/QDUQkMAyCX7vEQEEbArfQJn28B0vLIj2C/XUnhT3sXd1mX5Nc1wy4+ZUWnu+L/wy /7EynH+JQ6YNARmJ0aRAbXpAK0S9BYhTf5IfR9UKCxT/WkpsGKWtJIU90tUsWjYHSVGX KvLqOE9yQS/h5HHpp+uj6gCLfH9Noeu56x59ET1gI5RatrYLzlVQoTpMbKjoafcTh6ED Alxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=MnAhQDj3yWjMTNkH0RGkdMQDN7iPmhxGgXpOdkwOZJc=; b=oqcnROdaQg7xNWLobNhkLRHzUKm8rBrm5w0VMegVrHRI9zKAgG4laDlemrlwoowLbP OUExYHmgvR6qJy0HzWw9lsszQKv/QRVyHVoY92RV9IH931pypkO7mvEp2kZhslxuABq4 9mNTA3NQxjEGCKVScR3APmm6sNsz4globGUc3C+yUlY5RyuAMC/sJeGPLfPyFyMpKiFk RuazvFSW58+L8PB1XpBuwdeKi10tFyCU2WFjbZxiOzThuaHQaKPfsYs/VqAa8lLAfbAp 8nvV9KVYPNTii5rr3zNJjTb2SxHmz6Nwpwd7xjMsAU+s82HdKo3oOpQ+KGgDbLRQ8AiW df+A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si10790121otr.207.2020.02.04.00.24.38; Tue, 04 Feb 2020 00:24:58 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=monom.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbgBDIYS (ORCPT + 99 others); Tue, 4 Feb 2020 03:24:18 -0500 Received: from mail.monom.org ([188.138.9.77]:40024 "EHLO mail.monom.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbgBDIYS (ORCPT ); Tue, 4 Feb 2020 03:24:18 -0500 X-Greylist: delayed 581 seconds by postgrey-1.27 at vger.kernel.org; Tue, 04 Feb 2020 03:24:17 EST Received: from mail.monom.org (localhost [127.0.0.1]) by filter.mynetwork.local (Postfix) with ESMTP id 7EC345004A3; Tue, 4 Feb 2020 09:14:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.monom.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (b9168f78.cgn.dg-w.de [185.22.143.120]) by mail.monom.org (Postfix) with ESMTPSA id 4F4E0500493; Tue, 4 Feb 2020 09:14:35 +0100 (CET) Date: Tue, 4 Feb 2020 09:14:35 +0100 From: Daniel Wagner To: JH Cc: linux-wireless , connman Subject: Re: Failed to can wifi Invalid Sched_scan parameters Message-ID: <20200204081435.zhzqtsnrcgkzhpdw@beryllium.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi JH, On Tue, Feb 04, 2020 at 04:00:54PM +1100, JH wrote: > [23703.958751] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : > Invalid Sched_scan parameters > > Where is the WiFi driver? Please let me know if you need more debug information. linux/drivers/net/wireless/marvell/mwifiex > > I am running kernel 4.19.75 on iMX6, the WiFi was working most of > > time, but from time to time, the connman could not get WiFi be > > connected due to following error: > > > > [23703.958751] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start : > > Invalid Sched_scan parameters > > > > What does that error means, in which circumstance it occurred? How can > > we prevent it? The 'Invalid Sched_scan parameters' indicates, wpa_supplicant is providing the wrong parameters. Best thing is to monitor between wpa_supplicant and kernel the netlink messages. iwmon is an excellent tool for this. Thanks, Daniel