opnsense-src/sys/modules/netgraph/bluetooth
Vladimir Kondratyev 3544d43bb1 ng_ubt(4): do not attach Intel Wireless 8260/8265 in bootloader mode.
Add helper function for synchronous execution of HCI commands at probe
stage and use this function to check firmware state of Intel Wireless
8260/8265 bluetooth devices found in many post 2016 year laptops.

Attempt to initialize FreeBSD bluetooth stack while such a device is in
bootloader mode locks the adapter hardly so it requires power on/off
cycle to restore.

This change blocks ng_ubt attachment unless operational firmware is
loaded thus preventing the lock up.

PR:			237083
Reviewed by:		hps, emax
MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D21071
2019-08-18 22:11:42 +00:00
..
bluetooth sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
bt3c sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
h4 sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
hci sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
l2cap sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
socket sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
ubt ng_ubt(4): do not attach Intel Wireless 8260/8265 in bootloader mode. 2019-08-18 22:11:42 +00:00
ubtbcmfw sys/modules: normalize .CURDIR-relative paths to SRCTOP 2017-03-04 10:10:17 +00:00
Makefile
Makefile.inc