opnsense-src/sys/modules/netgraph
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
..
async
atm
atmllc
bluetooth ng_ubt(4): do not attach Intel Wireless 8260/8265 in bootloader mode. 2019-08-18 22:11:42 +00:00
bpf
bridge
car
checksum
cisco
deflate
device
echo
eiface
etf
ether
ether_echo
frame_relay
gif
gif_demux
hole
hub
iface
ip_input
ipfw Move most of the 15 variations on generating opt_inet.h and 2014-08-04 22:37:02 +00:00
ksocket
l2tp
lmi
mppc
nat
netflow
netgraph
one2many
patch
pipe
ppp
pppoe
pptpgre
pred1
rfc1490
sample
socket
source
split
sppp
tag
tcpmss
tee
tty
UI
vjc
vlan
Makefile
Makefile.inc