From owner-freebsd-questions@freebsd.org Sat Jun 13 03:57:40 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E595B34F2E0 for ; Sat, 13 Jun 2020 03:57:40 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kP1w0LPPz4TBj for ; Sat, 13 Jun 2020 03:57:39 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wm1-x332.google.com with SMTP id g10so9595475wmh.4 for ; Fri, 12 Jun 2020 20:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=hZma560XkBM/RMs9Xk7wF3FUbZRbkxxmjkpEsRHCY+g=; b=i9EJ3OmwDUYK394ra9x5OWUqOjsesjUR5wQ0TyNlX30cCh0VgKKN4q4ufQl6f+llhp h8X9uRdPZh+oXiAsPWQs55VbvuIBJENh6zElu6eI3RPEJ10B1hWwRtLJan1iU8XVCroN LzZtek7x0pNAlAAsM2hMlPyfEOwkajbqC8EgSFrLCxR1Cr8qg+PmA5bhNLq9wxsoWs6I 6vSl7Ei4fi9Ingip3Dlx8IZm/nFVi6/DhhGoAcX6JyIB0Ko1BgPFA+QFaVv4yFsWeagq uMxDN+TjN5xzDKm1IvMYQZBJ2qu9VegUCuBQq0XShsvfGHMi9hR2m9PhLiPPXk/YCrE+ JU8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hZma560XkBM/RMs9Xk7wF3FUbZRbkxxmjkpEsRHCY+g=; b=tXA7fvTu/Cd/jL/XI6gZ1w6/brSjawgFPG2QcfZSZIT9rrGB9f4cbtFv/tthGLyMAI kSIj1Nn2hYZStpZxS+tBEyMBxW8jaB39g7hZXno2qFpMTXDVtlpvHdSzXVOfDm2+OH5A CfD2DJQxOLUDsGGLf5YzbY60WdU90h7Sz0v6LyBBRw3R4Fjbn+VbHVocc0/QA9pkp6cL DUevwth/eRAAq5aNgSAjWHinpTeW4u0UdrN/udMnqOFX25pS9hUyM/sM8JLAd/fpjtXU oKgaex9HgIzqWjJrq7E6/Y7igi+mX7Hi9JOTvmIhKd2SqzEN1Q7bJKy36wuJ4CH6Xe6L 683g== X-Gm-Message-State: AOAM5335epblEFavR+EWI3ThpWR5MbuMhhujk8V2dLz/9u8LvW4a2nYt Cdk/xJ5RvgC6p+Sf35R3lfwJ10/Raf0x8IceCmgJ5n72eDV/rg== X-Google-Smtp-Source: ABdhPJwNL5MWKMhQrtFRheqJS9zoI1fCVLqQYayNOQF/evUzULL3aAB9vvqGoFXl1EtAFB9kmBEVJSdWxEwlnnx4KBY= X-Received: by 2002:a7b:c385:: with SMTP id s5mr2109905wmj.121.1592020657955; Fri, 12 Jun 2020 20:57:37 -0700 (PDT) MIME-Version: 1.0 From: Tomasz CEDRO Date: Sat, 13 Jun 2020 05:56:38 +0200 Message-ID: Subject: iwm0: could not initiate scan To: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49kP1w0LPPz4TBj X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=i9EJ3Omw; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::332) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-0.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.17)[-0.172]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.19)[-0.195]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; NEURAL_SPAM_SHORT(0.49)[0.487]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 03:57:41 -0000 Hello world :-) I have wpa_supplicant() enabled by default on my laptop. But also I have radio disable switch. I want to use WiFi only when the radio switch is set to on, otherwise I want radio to remain silent. That works fine, except when radio is turned off the iwm driver trashes my dmesg with following: +iwm0: could not initiate scan After some time I only get those messages in my dmesg log, what I consider unwanted and unnecessary massage flood. How can I get rid of those messages when iwm driver radio is off? Shouldn't iwm or wpa_supplicant check in the first place whether radio is enabled? Should I diable wpa_supplicant by default and then start it by hand when needed? Is there any other simple and elegant way like the radio switch button? I also imagine that this situation may have negative impact on power usage on the laptop? Any hints appreciated :-) Tomek ps/2: How can I enable timestamp before each dmesg line so I know when the message was generated? This may be beneficial and I think this could be enabled by default..? :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info