Home | History | Annotate | only in /src/usr.sbin/btconfig
History log of /src/usr.sbin/btconfig
RevisionDateAuthorComments
 1.2 28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 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.19 02-Dec-2021  andvar btconfig(8): s/fomat/format/ and article fix.
 1.18 15-Mar-2012  njoly Use Lk macro when dealing with URLs. While here update or remove some
dead URL links. Another part of PR/29238.
 1.17 17-Oct-2010  plunky branches: 1.17.6;
be more explicit
 1.16 11-Oct-2010  plunky some extra information about "page timeout" option
 1.15 01-Sep-2009  plunky bump date for previous
 1.14 01-Sep-2009  plunky add xrefs for bluetooth drivers bcsp(4), btbc(4) and sbt(4)
 1.13 24-Aug-2009  wiz Bump date for previous.
 1.12 24-Aug-2009  plunky add "imode" parameter to allow setting the Inquiry Mode. This supercedes
the "rssi" parameter (which remains for compatibility)

imode takes an argument: "std", "rssi" or "ext"
 1.11 20-Aug-2009  plunky add a per-unit master setting, to control requesting the master role
when accepting connections.
 1.10 20-Aug-2009  plunky clarify role switching for "switch" option

bump date for wiz
 1.9 18-Aug-2009  wiz Bump date for previous.
 1.8 18-Aug-2009  plunky update the "Class of Device" information, now that the Assigned Numbers
documents are available at www.bluetooth.com
 1.7 07-Sep-2007  plunky add new option 'rssi' to enable/disable inquiry results with RSSI, and
add recognition of the "inquiry result with RSSI" packets
 1.6 09-Aug-2007  joerg branches: 1.6.2;
Fix typo.
 1.5 22-Apr-2007  plunky add xref for btuart(4)
 1.4 27-Aug-2006  plunky 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.3 29-Jul-2006  wiz branches: 1.3.2;
Bump date for previous.
Sort SEE ALSO.
Add some dots at end of sentences.
New sentence, new line.
 1.2 26-Jul-2006  tron Bluetooth fixes by Iain Hibbert:
- Add 'page timeout' option.
- Fix printing of 2Mb/3Mb packet types.
 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.3.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.6.2.1 06-Nov-2007  matt sync with HEAD
 1.17.6.1 17-Apr-2012  yamt sync with head
 1.28 21-Dec-2017  plunky for Read_Local_Version, print also the HCI revision
 1.27 28-Nov-2015  plunky add details of later (to v4.2) specification versions and
extended feature flags,
 1.26 17-Oct-2011  mbalmer This file received some typo-love.
 1.25 27-Aug-2011  joerg static + __dead
 1.24 28-Nov-2010  plunky don't try to imitate the kernel while doing a reset, just
set the init flags and poll until they are cleared
 1.23 22-Nov-2010  plunky update for ioctl improvements
- use SIOCGBTFEAT to recover device features rather than
querying the device
- print also the max ACL/SCO buffers
 1.22 09-Oct-2009  plunky handle device page timeout value as LE
 1.21 08-Oct-2009  plunky use the bt_dev(3) api instead of rolling our own inquiry and
request functions
 1.20 08-Oct-2009  plunky fiddle with printing of "Class of Device" values
- pass the class of device octet stream to the function
- only print where the format is known (we only know format #0)
- use language from the Baseband Assigned numbers document
- use bit numbers from the Baseband Assigned numbers document
- add Health device major class

(only these changes this time :)
 1.19 08-Oct-2009  plunky revert previous commit

(bah, I committed the wrong version and there are some other
changes that may not work with current sources)
 1.18 08-Oct-2009  plunky fiddle with printing of "Class of Device" information
- pass the octet stream pointer to the function
- only print where the format is known (we only know format #0)
- use language from the Baseband Assigned numbers document
- use bit numbers from the Baseband Assigned numbers document
- add Health device major class
 1.17 11-Sep-2009  plunky print features from 3.0 + HS spec, including extended features
 1.16 01-Sep-2009  plunky update/correct printing of HCI version numbers according to the
recently published Assigned Numbers documents at www.bluetooth.com
 1.15 24-Aug-2009  plunky add "imode" parameter to allow setting the Inquiry Mode. This supercedes
the "rssi" parameter (which remains for compatibility)

imode takes an argument: "std", "rssi" or "ext"
 1.14 20-Aug-2009  plunky add a per-unit master setting, to control requesting the master role
when accepting connections.
 1.13 21-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.12 11-Feb-2008  plunky branches: 1.12.6;
remove unused code (it will never be used)
 1.11 11-Feb-2008  plunky add details relating to v2.1 of bluetooth specification
 1.10 30-Dec-2007  plunky request and keep a mask of supported commands per unit in order
to block unsupported HCI commands sent by unprivileged users
reaching the device.
 1.9 29-Dec-2007  plunky only read inquiry mode if the HCI version is appropriate
 1.8 28-Nov-2007  plunky Clean up the way that bluetooth drivers attach to the bluetooth stack,
to remove the frobbing that drivers must do in the hci_unit structure.

- driver provides a static const interface descriptor
- hci_unit is allocated by hci_attach() rather than part of softc
- statistics are compiled by driver and provided on request
- driver provides output methods and is responsible for output queue
- stack provides input methods and is responsible for input queue
- mutex is used to arbitrate device queue access
 1.7 06-Nov-2007  plunky sort & remove unnecessary include files
 1.6 07-Sep-2007  plunky add new option 'rssi' to enable/disable inquiry results with RSSI, and
add recognition of the "inquiry result with RSSI" packets
 1.5 30-Mar-2007  plunky branches: 1.5.4;
fix warnings produced by -Wextra
 1.4 16-Jan-2007  hubertf * Don't include headers twice
* Remove a few trailing whitespaces
* Rearrange and join to one #if for some headers

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
 1.3 27-Aug-2006  plunky 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 26-Jul-2006  tron branches: 1.2.2;
Bluetooth fixes by Iain Hibbert:
- Add 'page timeout' option.
- Fix printing of 2Mb/3Mb packet types.
 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.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.5.4.3 23-Mar-2008  matt sync with HEAD
 1.5.4.2 09-Jan-2008  matt sync with HEAD
 1.5.4.1 06-Nov-2007  matt sync with HEAD
 1.12.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed