From owner-freebsd-wireless@FreeBSD.ORG Sun Dec 21 21:04:13 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8113E854 for ; Sun, 21 Dec 2014 21:04:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E3802EE1 for ; Sun, 21 Dec 2014 21:04:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBLL4DQA006250 for ; Sun, 21 Dec 2014 21:04:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 193826] iwn does not scan channels Date: Sun, 21 Dec 2014 21:04:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: henry.hu.sh@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2014 21:04:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193826 --- Comment #1 from Henry Hu --- I just discovered that when wlan0 is connected and working normally, the empty scan is also going on: Dec 21 15:59:54 pepsi kernel: wlan0: ieee80211_scanreq: flags 0x20052 duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1 Dec 21 15:59:54 pepsi kernel: wlan0: ieee80211_check_scan: active scan, append, nojoin, once Dec 21 15:59:54 pepsi kernel: wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode 11ng, append, nojoin, once Dec 21 15:59:54 pepsi kernel: wlan0: scan set dwell min 20ms max 200ms Dec 21 15:59:54 pepsi kernel: wlan0: scan_task: no channels to scan Dec 21 15:59:54 pepsi kernel: wlan0: notify scan done Even if I disabled bgscan, it's still running. wlan0: flags=8843 metric 0 mtu 1500 ether c4:85:08:82:da:5c inet 192.168.1.110 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid henryhu channel 11 (2462 MHz 11g ht/20) bssid 10:fe:ed:50:0b:b8 country US authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit powersavemode CAM powersavesleep 100 txpower 11 bmiss 10 scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi wme roaming MANUAL groups: wlan uname -a: FreeBSD pepsi 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r275568M: Sat Dec 6 15:54:52 EST 2014 root@pepsi:/usr/obj/usr/src/sys/MYKERNEL amd64 -- You are receiving this mail because: You are the assignee for the bug.