Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2017 01:01:16 +0000 (UTC)
From:      Fehmi Noyan ISI <fnoyanisi@yahoo.com>
To:        "khanzf@gmail.com" <khanzf@gmail.com>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: ieee80211_waitfor_parent hangs forever
Message-ID:  <1598772807.920089.1503190876138@mail.yahoo.com>
In-Reply-To: <CAFd4kYB-StgfzXMOwyGaNbDv=HHjirPgXBf23ARJycSmQFMKeA@mail.gmail.com>
References:  <CAFd4kYB-StgfzXMOwyGaNbDv=HHjirPgXBf23ARJycSmQFMKeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
as you might have noticed, ieee80211_draintask() is a wrapper around taskqueue_drain(9). Have you had a look at taskqueue_drain(9) man page?
https://www.freebsd.org/cgi/man.cgi?query=taskqueue_drain&apropos=0&sektion=0&manpath=FreeBSD+11.1-RELEASE+and+Ports&arch=default&format=html

 
 
  On Sun, Aug 20, 2017 at 11:48, Farhan Khan<khanzf@gmail.com> wrote:   Hi all,

I traced back where my driver-in-development hangs when I issue "ifconfig
wlan0 up", and it hangs on ieee80211_waitfor_parent(), specifically:

ieee80211_draintask(ic, &ic->ic_parent_task);

Reference:
http://src.illumos.org/source/xref/freebsd-head/sys/net80211/ieee80211_proto.c#1406

I am not familiar with the source just yet, What does this function do?
And, what is ic_parent_task?

It appears that Andriy reported this same issue here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208860 but I did not see
a resolution.

Thanks!

--
Farhan Khan
PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1598772807.920089.1503190876138>