Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iwm(4)



On Wed, Apr 26, 2017 at 12:21 AM, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:

> wpa_supplicant with iwm0 fails. Plugging the trusty USB wifi urtwn0 which
> appears in the re(4) saga succeeds with the unaltered wpa_supplicant.conf
> file. Given a working wpa_supplicant.conf file, Why would it matter what
> the interface is?
>
> Is this an issue?
> iwm0: Ignore new scan request for 0.500000 sec since an earlier request is scheduled to trigger sooner

Could you enable iwm(4) debug output?
And could you send wpa_supplicant.conf (please mask psk) and output of
 `wpa_supplicant -dd -i iwm0 -c <your wpa_supplicant.conf>'.

diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index 4a15ebd7d3f..da47b7d4287 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -150,10 +150,11 @@ __KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.71
2017/03/14 23:59:26 nonaka Exp $");
 #define le16_to_cpup(_a_) (le16toh(*(const uint16_t *)(_a_)))
 #define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))

+#define IWM_DEBUG
 #ifdef IWM_DEBUG
 #define DPRINTF(x)    do { if (iwm_debug > 0) printf x; } while (0)
 #define DPRINTFN(n, x)    do { if (iwm_debug >= (n)) printf x; } while (0)
-int iwm_debug = 0;
+int iwm_debug = 10;
 #else
 #define DPRINTF(x)    do { ; } while (0)
 #define DPRINTFN(n, x)    do { ; } while (0)

-- 
Kimihiro Nonaka


Home | Main Index | Thread Index | Old Index