Home | History | Annotate | Download | only in netbt
History log of /src/sys/netbt/bluetooth.h
RevisionDateAuthorComments
 1.12  18-May-2014  rmind Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.

Bump for struct protosw. Welcome to 6.99.62!
 1.11  27-Apr-2011  rmind branches: 1.11.14; 1.11.18; 1.11.28;
G/C M_EMULDATA
 1.10  16-Mar-2011  plunky use C99 style for variadic macro arguments
 1.9  26-Mar-2010  pooka branches: 1.9.2;
Remove unused opt_bluetooth.h

plunky: "feel free"
 1.8  08-Sep-2008  gmcgarry branches: 1.8.14; 1.8.16;
Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
 1.7  24-Apr-2008  ad branches: 1.7.2; 1.7.4; 1.7.8;
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.6  17-Sep-2007  rillig branches: 1.6.20; 1.6.22;
Macros that are meant for statements (instead of expressions) SHALL
never be defined to an empty string, because in that case,

if (condition) DPRINTF(...); else err(...);

results in a gcc warning, and possibly worse things.
 1.5  21-Apr-2007  plunky branches: 1.5.6; 1.5.8;
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.4  16-Nov-2006  christos branches: 1.4.2; 1.4.4; 1.4.8; 1.4.10; 1.4.16;
__unused removal on arguments; approved by core.
 1.3  01-Oct-2006  plunky fix silent dependencies (uintN_t)
 1.2  19-Jun-2006  gdamore branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8; 1.2.12; 1.2.14; 1.2.16;
Make include of opt_bluetooth.h unconditional.
 1.1  19-Jun-2006  gdamore Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
 1.2.16.2  10-Dec-2006  yamt sync with head.
 1.2.16.1  22-Oct-2006  yamt sync with head
 1.2.14.2  09-Sep-2006  rpaulo sync with head
 1.2.14.1  19-Jun-2006  rpaulo file bluetooth.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:58:38 +0000
 1.2.12.1  18-Nov-2006  ad Sync with head.
 1.2.8.2  13-Jul-2006  gdamore Merge from HEAD.
 1.2.8.1  19-Jun-2006  gdamore file bluetooth.h was added on branch gdamore-uart on 2006-07-13 17:49:58 +0000
 1.2.6.2  26-Jun-2006  yamt sync with head.
 1.2.6.1  19-Jun-2006  yamt file bluetooth.h was added on branch yamt-pdpolicy on 2006-06-26 12:53:57 +0000
 1.2.4.2  22-Jun-2006  chap Complete a sync sys/ with head.
 1.2.4.1  19-Jun-2006  chap file bluetooth.h was added on branch chap-midi on 2006-06-22 03:39:50 +0000
 1.2.2.5  27-Oct-2007  yamt sync with head.
 1.2.2.4  03-Sep-2007  yamt sync with head.
 1.2.2.3  30-Dec-2006  yamt sync with head.
 1.2.2.2  21-Jun-2006  yamt sync with head.
 1.2.2.1  19-Jun-2006  yamt file bluetooth.h was added on branch yamt-lazymbuf on 2006-06-21 15:10:51 +0000
 1.4.16.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.4.10.1  11-Jul-2007  mjf Sync with head.
 1.4.8.2  09-Oct-2007  ad Sync with head.
 1.4.8.1  08-Jun-2007  ad Sync with head.
 1.4.4.1  07-May-2007  yamt sync with head.
 1.4.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.5.8.1  06-Nov-2007  matt sync with HEAD
 1.5.6.1  02-Oct-2007  joerg Sync with HEAD.
 1.6.22.1  18-May-2008  yamt sync with head.
 1.6.20.2  28-Sep-2008  mjf Sync with HEAD.
 1.6.20.1  02-Jun-2008  mjf Sync with HEAD.
 1.7.8.1  19-Oct-2008  haad Sync with HEAD.
 1.7.4.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.7.2.2  11-Aug-2010  yamt sync with head.
 1.7.2.1  04-May-2009  yamt sync with head.
 1.8.16.3  31-May-2011  rmind sync with head
 1.8.16.2  21-Apr-2011  rmind sync with head
 1.8.16.1  30-May-2010  rmind sync with head
 1.8.14.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.9.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.11.28.1  10-Aug-2014  tls Rebase.
 1.11.18.1  28-Aug-2013  rmind Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.
 1.11.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed