History log of /src/sys/dev/bluetooth/btsco.c |
Revision | | Date | Author | Comments |
1.43 |
| 05-Jul-2024 |
rin | sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD: https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
|
1.42 |
| 11-Jun-2020 |
thorpej | Update for proplib(3) API changes.
|
1.41 |
| 08-Jun-2019 |
isaki | Clean get_props(). - Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CAPTURE. - All get_props() doesn't need to return AUDIO_PROP_MMAP. It is handled in the audio layer now.
|
1.40 |
| 25-May-2019 |
isaki | Make it compilable even with debug option.
|
1.39 |
| 08-May-2019 |
isaki | Merge isaki-audio2 branch, the overhaul of audio subsystem. - Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible).
Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
|
1.38 |
| 16-Mar-2019 |
isaki | branches: 1.38.2; Use C99 style struct initializer to audio_hw_if.
|
1.37 |
| 03-Feb-2019 |
mrg | - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
1.36 |
| 01-Jun-2017 |
chs | branches: 1.36.10; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
1.35 |
| 28-May-2017 |
nat | bt_lock is now used as the audio interrupt lock. This is more appropriate as the interrupt lock deals with the hardware.
btsco audio works again with the new audio changes.
|
1.34 |
| 10-Jul-2015 |
nat | Wrap up calls to softint_schedule in kpeempt_[dis/en]able.
Addresses PR kern/48459.
This commit was approved by christos@
|
1.33 |
| 05-Aug-2014 |
rtr | branches: 1.33.4; split PRU_SEND function out of pr_generic() usrreq switches and put into separate functions
xxx_send(struct socket *, struct mbuf *, struct mbuf *, struct mbuf *, struct lwp *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_SEND with calls to pr_send()
rename existing functions that operate on PCB for consistency (and to free up their names for xxx_send() PRUs
- l2cap_send() -> l2cap_send_pcb() - sco_send() -> sco_send_pcb() - rfcomm_send() -> rfcomm_send_pcb()
patch reviewed by rmind
|
1.32 |
| 31-Jul-2014 |
rtr | split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out of pr_generic() usrreq switches and put into separate functions
xxx_disconnect(struct socket *) xxx_shutdown(struct socket *) xxx_abort(struct socket *)
- always KASSERT(solocked(so)) even if not implemented - replace calls to pr_generic() with req = PRU_{DISCONNECT,SHUTDOWN,ABORT} with calls to pr_{disconnect,shutdown,abort}() respectively
rename existing internal functions used to implement above functionality to permit use of the names for xxx_{disconnect,shutdown,abort}().
- {l2cap,sco,rfcomm}_disconnect() -> {l2cap,sco,rfcomm}_disconnect_pcb() - {unp,rip,tcp}_disconnect() -> {unp,rip,tcp}_disconnect1() - unp_shutdown() -> unp_shutdown1()
patch reviewed by rmind
|
1.31 |
| 30-Jul-2014 |
rtr | split PRU_CONNECT function out of pr_generic() usrreq switches and put into seaparate functions
xxx_listen(struct socket *, struct mbuf *)
- always KASSERT(solocked(so)) and KASSERT(nam != NULL) - replace calls to pr_generic() with req = PRU_CONNECT with pr_connect() - rename existin {l2cap,sco,rfcomm}_connect() to {l2cap,sco,rfcomm}_connect_pcb() respectively to permit naming consistency with other protocols functions. - drop struct lwp * parameter from unp_connect() and at_pcbconnect() and use curlwp instead where appropriate.
patch reviewed by rmind
|
1.30 |
| 24-Jul-2014 |
rtr | split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq switches and put into separate functions xxx_bind(struct socket *, struct mbuf *) xxx_listen(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_BIND with call to pr_bind()
- replace calls to pr_generic() with req = PRU_LISTEN with call to pr_listen()
- drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and unp_bind() and always use curlwp.
rename existing functions that operate on PCB for consistency (and to free up their names for xxx_{bind,listen}() PRUs
- l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb() - sco_{bind,listen}() -> sco_{bind,listen}_pcb() - rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()
patch reviewed by rmind
welcome to netbsd 6.99.48
|
1.29 |
| 20-May-2014 |
rmind | netbt: rename some attach/detach functions to have _pcb suffix, so we could use standard attach/detach naming for pr_usrreq functions. No functional change.
|
1.28 |
| 03-Apr-2012 |
plunky | branches: 1.28.2; 1.28.12;
register/deregister pmf(9) NULL handlers for bthub(4) and bluetooth devices which attach there, to fix PR/39006
|
1.27 |
| 26-Mar-2012 |
mrg | don't use mutex_spin*() on an IPL_NONE mutex. fixes PR#46120.
|
1.26 |
| 10-Dec-2011 |
jmcneill | branches: 1.26.2; no need to acquire thread lock in btsco_open / btsco_close, as they are already held by MI audio when these methods are called
|
1.25 |
| 23-Nov-2011 |
jmcneill | branches: 1.25.2; Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
1.24 |
| 16-Mar-2011 |
plunky | branches: 1.24.4; 1.24.6; use C99 style for variadic macro arguments
|
1.23 |
| 12-May-2009 |
cegger | branches: 1.23.4; 1.23.6; struct cfdata * -> cfdata_t, no functional changes intended.
|
1.22 |
| 06-Aug-2008 |
plunky | branches: 1.22.6; 1.22.8; Convert socket options code to use a sockopt structure instead of laying everything into an mbuf.
approved by core
|
1.21 |
| 23-Jun-2008 |
plunky | branches: 1.21.2; hold bt_lock when sending data via sco_send()
|
1.20 |
| 24-Apr-2008 |
ad | branches: 1.20.2; 1.20.4; 1.20.6; Merge the socket locking patch:
- Socket layer becomes MP safe. - Unix protocols become MP safe. - Allows protocol processing interrupts to safely block on locks. - Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
|
1.19 |
| 28-Mar-2008 |
plunky | branches: 1.19.2; Use deviter API to search for child devices.
As all identifying information is stored in the device properties, this removes the need for child devices to have a reserved area (struct btdev) in the softc, and bthub(4) does no longer need to have a softc at all.
|
1.18 |
| 11-Nov-2007 |
plunky | branches: 1.18.14; convert device printf() usages to aprint_xxxx()
|
1.17 |
| 07-Nov-2007 |
ad | Merge from vmlocking:
- pool_cache changes. - Debugger/procfs locking fixes. - Other minor changes.
|
1.16 |
| 03-Nov-2007 |
plunky | branches: 1.16.2; switch devices to using CFATTACH_DECL_NEW() softc no longer contains 'struct device' by default use 'device_t' instead of 'struct device *' use device_xxx() accessor functions remove casting of 'xxx_softc *' & 'struct device *' use aprint_xxx_dev() routines
|
1.15 |
| 08-Oct-2007 |
ad | branches: 1.15.2; Use the softint API.
|
1.14 |
| 21-Apr-2007 |
plunky | branches: 1.14.6; 1.14.8; 1.14.10; Add 'service level' security for L2CAP and RFCOMM connections, following the Linux (BlueZ) API.
- L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key)
- for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails.
- mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set.
- It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug)
- bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options
- btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it)
|
1.13 |
| 13-Mar-2007 |
plunky | remove extraneous whitespace
|
1.12 |
| 04-Mar-2007 |
christos | branches: 1.12.2; 1.12.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.11 |
| 16-Nov-2006 |
christos | branches: 1.11.2; 1.11.4; 1.11.6; 1.11.8; 1.11.10; __unused removal on arguments; approved by core.
|
1.10 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.9 |
| 04-Oct-2006 |
plunky | Internally, use the service name as the identifier for matching
|
1.8 |
| 24-Sep-2006 |
plunky | utilise auconv_set_converter() to handle the filter setup, so that its done properly.
|
1.7 |
| 24-Sep-2006 |
plunky | adjust indentation
|
1.6 |
| 23-Sep-2006 |
plunky | guard against possible race conditions when detaching SCO pcb's
|
1.5 |
| 23-Sep-2006 |
plunky | return ENOTCONN when not connected, rather than EINVAL
|
1.4 |
| 11-Sep-2006 |
plunky | branches: 1.4.2; btsco.c: - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t, not an int. So change sc_mtu's type to uint16_t. - Try a little harder to ensure btsco_round_blocksize() does not return zero. Prevents a subsequent panic in audio_init_ringbuffer().
from scw@
|
1.3 |
| 10-Sep-2006 |
plunky | update to bluetooth device attachment:
remove pseudo-device btdev(4) and inherent limitations
add bthub(4) which autoconfigures at bluetooth controllers as they are enabled. bluetooth devices now attach here.
btdevctl(8) and its cache is updated to handle new semantics
etc/rc.d/btdevctl is updated to configure devices from a list in /etc/bluetooth/btdevctl.conf
|
1.2 |
| 27-Aug-2006 |
plunky | branches: 1.2.2; 1.2.4; BluetootH SCO Audio update.
Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent.
Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program.
Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access.
Fix incoming connection handling for btsco(4) and SCO sockets.
Fix documentation to reflect the new world order.
|
1.1 |
| 26-Jul-2006 |
tron | branches: 1.1.2; 1.1.4; Bluetooth fixes by Iain Hibbert: Remove bthset(4) device and add btsco(4) in its place. This is an improved version which is not just for headsets, as it can receive incoming connections (eg for Hands Free Profile). Update bthset(1) control utlitiy to relate to new device.
|
1.1.4.4 |
| 14-Sep-2006 |
yamt | sync with head.
|
1.1.4.3 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.1.4.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.1.4.1 |
| 26-Jul-2006 |
yamt | file btsco.c was added on branch yamt-pdpolicy on 2006-08-11 15:43:59 +0000
|
1.1.2.2 |
| 14-Sep-2006 |
riz | Pull up following revision(s) (requested by plunky in ticket #161): sys/dev/bluetooth/btdev.h: revision 1.4 distrib/sets/lists/comp/mi: revision 1.922 usr.sbin/postinstall/postinstall: revision 1.25 sys/netbt/hci_unit.c: revision 1.3 sys/netbt/hci_ioctl.c: revision 1.4 usr.sbin/sdpd/profile.c: revision 1.2 usr.sbin/btdevctl/btdevctl.c: revision 1.2 share/man/man4/Makefile: revision 1.405 distrib/sets/lists/man/mi: revision 1.930 distrib/sets/lists/etc/mi: revision 1.176 usr.sbin/sdpd/profile.c: revision 1.3 usr.sbin/btdevctl/btdevctl.c: revision 1.3 etc/MAKEDEV.tmpl: revision 1.62 distrib/sets/lists/base/mi: revision 1.650 usr.sbin/btdevctl/btdevctl.h: revision 1.2 usr.bin/sdpquery/sdpquery.1: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.2 usr.sbin/btdevctl/btdevctl.8: revision 1.3 usr.bin/sdpquery/search.c: revision 1.2 usr.sbin/sdpd/Makefile: revision 1.2 sys/dev/bluetooth/Makefile: revision 1.3 usr.sbin/btdevctl/cfg.c: file removal sys/netbt/files.netbt: revision 1.4 usr.sbin/btdevctl/sdp.c: revision 1.1 sys/dev/bluetooth/bthidev.c: revision 1.3 etc/bluetooth/Makefile: revision 1.3 sys/dev/pcmcia/files.pcmcia: revision 1.51 sys/dev/bluetooth/bthidev.c: revision 1.4 sys/dev/bluetooth/bthidev.h: revision 1.3 usr.sbin/btdevctl/dev.c: file removal sys/dev/bluetooth/files.bluetooth: revision 1.10 sys/arch/i386/conf/GENERIC: revision 1.777 share/man/man4/ubt.4: revision 1.6 share/man/man4/bthub.4: revision 1.3 sys/netbt/hci.h: revision 1.5 sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.202 lib/libsdp/sdp.h: revision 1.2 usr.sbin/btdevctl/print.c: revision 1.1 share/man/man4/bthidev.4: revision 1.5 share/man/man4/btdev.4: file removal usr.sbin/btdevctl/print.c: revision 1.2 sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.205 usr.sbin/btdevctl/Makefile: revision 1.2 sys/dev/usb/files.usb: revision 1.70 sys/netbt/l2cap_signal.c: revision 1.2 sys/netbt/hci_link.c: revision 1.4 sys/dev/bluetooth/bthub.c: revision 1.3 share/man/man4/btsco.4: revision 1.5 sys/netbt/hci_link.c: revision 1.5 share/man/man4/btdev.4: revision 1.4 sys/dev/bluetooth/btkbd.c: revision 1.3 sys/dev/bluetooth/btdev.c: file removal sys/netbt/hci_event.c: revision 1.2 sys/dev/bluetooth/btsco.h: revision 1.2 etc/mtree/special: revision 1.101 sys/dev/bluetooth/btsco.c: revision 1.3 sys/conf/majors: revision 1.27 usr.sbin/sdpd/hf.c: revision 1.1 sys/dev/bluetooth/btsco.c: revision 1.4 share/man/man5/rc.conf.5: revision 1.107 sys/dev/bluetooth/btdev.c: revision 1.2 etc/rc.d/btdevctl: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.1 etc/rc.d/btdevctl: revision 1.3 etc/bluetooth/btdevctl.conf: revision 1.1 usr.sbin/btdevctl/hid.c: file removal sys/arch/i386/conf/GENERIC: revision 1.781 sys/dev/bluetooth/btdev.h: revision 1.3 Make btdev default count explicit Fix typo in variable name update to bluetooth device attachment: remove pseudo-device btdev(4) and inherent limitations add bthub(4) which autoconfigures at bluetooth controllers as they are enabled. bluetooth devices now attach here. btdevctl(8) and its cache is updated to handle new semantics etc/rc.d/btdevctl is updated to configure devices from a list in /etc/bluetooth/btdevctl.conf also include service name in dictionary being sent to kernel. (this is not used just yet, but it might be in the future and it will be easier if we dont have to provide code to handle its absence) clarify the CAVEAT section somewhat Add service discovery support for the Handsfree profile Replace static 'FreeBSD' string with operating system name gleaned from uname(3) Halt the callout on detach btsco.c: - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t, not an int. So change sc_mtu's type to uint16_t. - Try a little harder to ensure btsco_round_blocksize() does not return zero. Prevents a subsequent panic in audio_init_ringbuffer(). from scw@ Endian issues: hci_event.c: - Convert memo->response.clock_offset to host-endian. hci_ioctl.c: - printf format tweak (size_t) hci_link.c: - Convert memo->response.clock_offset from host-endian. - Tweak a DIAGNOSTIC message. l2cap_signal.c: - In l2cap_recv_config_req(), rp->scid is little-endian so make sure we convert from host-endian. from scw@ hci_link.c: - In hci_link_free(), do not unlink items from a LIST queue within a LIST_FOREACH() iterator. rfcomm_session.c: - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST queue within a LIST_FOREACH() iterator. from scw@ guard against a possible situation where the list of l2cap channels is changed when the bluetooth code is not expecting it to be. During a disconnect, we can detach the channel that is being disconnected, but its not really safe to detach any others. Print explicit 64-bit types using the format macros from int_fmtio.h. Unbreaks the build for our LP64 ports, where "long long" typically is not 64 bits.
|
1.1.2.1 |
| 07-Sep-2006 |
tron | Pull up following revision(s) (requested by plunky in ticket #81): sys/netbt/sco_upper.c: revision 1.2 usr.sbin/btconfig/btconfig.c: revision 1.3 sys/netbt/hci_ioctl.c: revision 1.3 usr.sbin/btconfig/btconfig.8: revision 1.4 usr.sbin/btdevctl/btdevctl.8: revision 1.2 sys/netbt/files.netbt: revision 1.3 sys/netbt/bt_proto.c: revision 1.2 share/man/man4/ubt.4: revision 1.4 usr.sbin/btdevctl/cfg.c: revision 1.3 sys/netbt/hci.h: revision 1.4 share/man/man4/bluetooth.4: revision 1.2 share/man/man4/btsco.4: revision 1.4 sys/dev/bluetooth/btsco.c: revision 1.2 sys/netbt/bt_sysctl.c: revision 1.2 BluetootH SCO Audio update. Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent. Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program. Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access. Fix incoming connection handling for btsco(4) and SCO sockets. Fix documentation to reflect the new world order.
|
1.2.4.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.2.4.1 |
| 27-Aug-2006 |
rpaulo | file btsco.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:44 +0000
|
1.2.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.4.2.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.4.2.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.11.10.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
1.11.8.1 |
| 27-Feb-2007 |
ad | Add MP locking for audio drivers.
|
1.11.6.3 |
| 07-May-2007 |
yamt | sync with head.
|
1.11.6.2 |
| 24-Mar-2007 |
yamt | sync with head.
|
1.11.6.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.11.4.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.11.4.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.11.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.11.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.11.4.1 |
| 16-Nov-2006 |
yamt | file btsco.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:57 +0000
|
1.11.2.1 |
| 19-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by plunky in ticket #744): sys/netbt/l2cap_lower.c: revision 1.6 sys/dev/bluetooth/btdev.h: revision 1.6 sys/netbt/sco_socket.c: revision 1.9 sys/netbt/rfcomm_upper.c: revision 1.3 sys/netbt/l2cap_socket.c: revision 1.7 sys/netbt/rfcomm_upper.c: revision 1.5 lib/libusbhid/usbhid.h: revision 1.5 sys/netbt/rfcomm_upper.c: revision 1.6 usr.sbin/btdevctl/btdevctl.c: revision 1.4 usr.sbin/btdevctl/btdevctl.h: revision 1.3 usr.sbin/btdevctl/btdevctl.8: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.5 sys/netbt/hci.h: revision 1.10 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.6 sys/netbt/hci_link.c: revision 1.11 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.7 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.8 sys/dev/bluetooth/btsco.c: revision 1.14 sys/netbt/rfcomm_session.c: revision 1.9 usr.sbin/btdevctl/sdp.c: revision 1.2 share/man/man9/bluetooth.9: revision 1.2 usr.sbin/btdevctl/sdp.c: revision 1.3 sys/dev/bluetooth/bthidev.c: revision 1.8 sys/netbt/l2cap.h: revision 1.4 sys/netbt/rfcomm.h: revision 1.3 sys/netbt/l2cap.h: revision 1.5 sys/netbt/l2cap_misc.c: revision 1.3 share/man/man4/bluetooth.4: revision 1.5 lib/libusbhid/usbhid.3: revision 1.11 sys/netbt/bluetooth.h: revision 1.5 share/man/man4/bthidev.4: revision 1.8 sys/netbt/rfcomm_dlc.c: revision 1.3 usr.sbin/btdevctl/print.c: revision 1.8 sys/netbt/rfcomm_socket.c: revision 1.7 sys/netbt/l2cap_signal.c: revision 1.4 sys/netbt/l2cap_signal.c: revision 1.5 sys/netbt/l2cap_signal.c: revision 1.7 sys/netbt/hci_event.c: revision 1.6 usr.bin/rfcomm_sppd/rfcomm_sppd.1: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.3 sys/netbt/l2cap_lower.c: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.3 sys/netbt/l2cap_upper.c: revision 1.6 lib/libusbhid/descr.c: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.7 sys/netbt/l2cap_lower.c: revision 1.4 Add 'service level' security for L2CAP and RFCOMM connections, following the Linux (BlueZ) API. - L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key) - for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails. - mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set. - It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug) - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it) - ALSO INCLUDES OTHER MINOR FIXES
|
1.12.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.12.2.4 |
| 01-Sep-2007 |
ad | Update for pool_cache API changes.
|
1.12.2.3 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
1.12.2.2 |
| 27-May-2007 |
ad | Sync with head.
|
1.12.2.1 |
| 10-Apr-2007 |
ad | Sync with head.
|
1.14.10.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.14.8.3 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.14.8.2 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.14.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.14.6.3 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.14.6.2 |
| 04-Nov-2007 |
jmcneill | Sync with HEAD.
|
1.14.6.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.15.2.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.16.2.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.18.14.4 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.18.14.3 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.18.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.18.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.19.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.20.6.1 |
| 27-Jun-2008 |
simonb | Sync with head.
|
1.20.4.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.20.2.2 |
| 16-May-2009 |
yamt | sync with head
|
1.20.2.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.21.2.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.22.8.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.22.6.3 |
| 12-Dec-2008 |
ad | Checkpoint work in progress.
|
1.22.6.2 |
| 07-Dec-2008 |
ad | No need for sc_intr_lock to be a spinlock any more, since we don't have a hardware interrupt.
|
1.22.6.1 |
| 07-Dec-2008 |
ad | Ressurect the ad-audiomp branch at request of matt@.
With this commit:
- core audio subsystem made MPSAFE - eap, btsco drivers made MPSAFE
TODO:
- midi - convert remaining drivers
|
1.23.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.23.4.1 |
| 21-Apr-2011 |
rmind | sync with head
|
1.24.6.2 |
| 22-Nov-2011 |
jmcneill | get rid of unused 'powerstate' callback in audio_hw_if
|
1.24.6.1 |
| 19-Nov-2011 |
jmcneill | port ad-audiomp2 branch changes to 5.99.56 todo: - port ad-audiomp2 pcppi changes - these drivers need to be fixed: - emuxki - gcscaudio - hdafg - uaudio - umidi - MD audio drivers
|
1.24.4.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.25.2.2 |
| 05-Apr-2012 |
mrg | sync to latest -current.
|
1.25.2.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.26.2.2 |
| 09-Apr-2012 |
riz | Pull up following revision(s) (requested by mrg in ticket #165): sys/dev/bluetooth/btsco.c: revision 1.27 don't use mutex_spin*() on an IPL_NONE mutex. fixes PR#46120.
|
1.26.2.1 |
| 03-Apr-2012 |
riz | Pull up following revision(s) (requested by plunky in ticket #159): sys/dev/bluetooth/btsco.c: revision 1.28 sys/dev/bluetooth/bthidev.c: revision 1.22 sys/dev/bluetooth/bthub.c: revision 1.18 sys/dev/bluetooth/btkbd.c: revision 1.14 sys/dev/bluetooth/btms.c: revision 1.10 sys/dev/bluetooth/btmagic.c: revision 1.2 register/deregister pmf(9) NULL handlers for bthub(4) and bluetooth devices which attach there, to fix PR/39006
|
1.28.12.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.28.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.28.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.33.4.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.33.4.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.36.10.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.38.2.4 |
| 04-May-2019 |
isaki | Move dev/audio_if.h -> dev/audio/audio_if.h
|
1.38.2.3 |
| 04-May-2019 |
isaki | Remove obsoleted methods in audio_hw_if. - drain: is handled in audio upper layer now. - mappage: is handled in audio upper layer now. - setfd: no one uses and it's meaningless now.
|
1.38.2.2 |
| 24-Apr-2019 |
isaki | Adapt to audio2.
|
1.38.2.1 |
| 21-Apr-2019 |
isaki | Use C99 style struct initializer to audio_format.
|