aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* bluetooth: fix comment in bluetooth.device.conflherschi2023-12-261-2/+2
| | | | | | | | | The default for discoverable is 'NO' not 'YES'. This now matches the man page. Event: Advanced UNIX Programming Course (Fall'23) at NTHU. Reviewed by: imp, zlei Pull Request: https://github.com/freebsd/freebsd-src/pull/939
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-4/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* dirdeps: Update Makefile.depend* files with empty contentsStephen J. Kiernan2023-10-291-0/+16
| | | | | Some Makefile.depend* files were committed with no contents or empty DIRDEPS list, but they should have DIRDEPS with some contents.
* Remove $FreeBSD$: one-line bare tagWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-1612-12/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-163-6/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-1633-33/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-1613-13/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-1669-69/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-1616-32/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory2023-07-072-3/+3
| | | | | | | | In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
* bluetooth: Remove set but unused variable.John Baldwin2023-06-202-4/+0
| | | | Reported by: GCC
* bluetooth/ath3kfw: Propagate return value from ath3k_load_fwfile.John Baldwin2023-06-201-2/+2
| | | | | | | | | | The caller ignores the return value so this is a no-op, but ath3k_init_ar3012 returns the return values of its internal functions, so this is more consistent. Fix some misleading indentation while here. Reported by: GCC -Wunused-but-set-variable (1)
* bluetooth: Fix typosElyes Haouas2023-06-024-5/+5
| | | | | | Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
* spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSDWarner Losh2023-05-1210-10/+10
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-1281-81/+81
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* bluetooth/hccontrol: Fix unterminated command listBrian Campbell2023-05-041-0/+3
| | | | | | Signed-off-by: Brian Campbell <Brian.Campbell@ed.ac.uk> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/730
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-1913-13/+0
|
* bluetooth/hccontrol: Remove useless return at the end of void functionElyes Haouas2023-03-021-3/+0
| | | | | | Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/656
* iwmbtfw(8): Fix a typo in a kernel messageGordon Bergling2023-01-111-1/+1
| | | | | | - s/succesful/successful/ MFC after: 5 days
* hccontrol.8: missed underscore fixed.Maxim Konovalov2022-10-251-1/+1
| | | | PR: 267343
* Indicate that X(7) cross refs are satisfied by ports/x11/xorg-docs.Jens Schweikhardt2022-08-141-1/+1
|
* bluetooth(3): Fix a typo in a source code commentGordon Bergling2022-07-311-1/+1
| | | | | | - s/intrrupt/interrupt/ MFC after: 3 days
* bluetooth: remove hcserialdWarner Losh2021-09-307-389/+2
| | | | | | Without ng_h4 gone, there's no need for hcseriald. Sponsored by: Netflix
* bluetooth: Fix build after ng_h4 removalJung-uk Kim2021-09-301-1/+0
| | | | It was caused by 79a100e28e3c814773bb4c1826cfa25fbe31140e.
* iwmbtfw(8): Improve Intel 7260/7265 adaptors handlingVladimir Kondratyev2021-05-313-48/+91
| | | | | | | | | | | | | | - Allow firmware downloading for hw_variant #8; - Enter manufacturer mode for setting of event mask; - Handle multi-event response on HCI commands for 7260; This allows to remove kludge with skipping of 0xfc2f opcode. - Disable patch and exit manufacturer mode on downloading failure; - Use default firmware if correct firmware file is not found; Reviewed by: Philippe Michaud-Boudreault <pitwuu_AT_gmail_DOT_com> MFC after: 1 week Tested by: arrowd Differential revision: https://reviews.freebsd.org/D30543
* iwmbtfw(8): Add support for Intel 7260/7265 bluetooth adapter firmwaresPhilippe Michaud-Boudreault2021-05-046-72/+401
| | | | | | | | | | To use it comms/iwmbt-firmware port should be updated to 20210315 version. Submitted by: Philippe Michaud-Boudreault <pitwuu@gmail.com> Tested by: Helge Oldach <freebsd@oldach.net> Reviewed by: wulf PR: 228787 MFC after: 2 weeks
* pccard: Remove bt3c(4) driverWarner Losh2021-01-085-333/+0
| | | | | | | | pccard is being removed, so remove bt3c driver since it only has PC Card attachment. Also remove bt3cfw(8) since it's the firmware for this driver. Relnotes: Yes
* bluetooth: Fix a mandoc related issuesGordon Bergling2020-12-194-24/+25
| | | | | | | | | | | | | | - new sentence, new line - sections out of conventional order: Sh FILES - unusual Xr order: bthost(1) after bthidd(8) - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order: Sh EXIT STATUS MFC after: 1 week Notes: svn path=/head/; revision=368813
* Add le_rand command.Takanori Watanabe2020-07-082-0/+33
| | | | | | | | PR: 247808 Submitted by: Marc Veldman Notes: svn path=/head/; revision=363002
* Add le_read_channel_map and le_read_remote_features commandTakanori Watanabe2020-06-105-2/+188
| | | | | | | | PR: 247051 Submitted by: Marc Veldman marc at bumblingdork.com Notes: svn path=/head/; revision=362005
* Fix connection event message string (n->\n)Takanori Watanabe2020-05-281-1/+1
| | | | | | | | | PR: 246664 Submitted by: Marc Veldman (marc@bumblngdork.com) Reported by: Jose Luis Duran (jlduran@gmail.com) Notes: svn path=/head/; revision=361586
* Add le_connect command to connect to an LE device.Takanori Watanabe2020-05-264-0/+189
| | | | | | | | PR:246664 Submitted by:MarcVeldman Notes: svn path=/head/; revision=361520
* Add LE Whitelist commands to hccontrolTakanori Watanabe2020-05-192-0/+201
| | | | | | | | PR: 214555 Submitted by Marc Veldman Notes: svn path=/head/; revision=361251
* Add le_scan subcommand to hccontrol.Takanori Watanabe2020-05-117-81/+427
| | | | | | | | PR: 246141 Submitted by: Marc Veldman Notes: svn path=/head/; revision=360899
* Document le_enable subcommandTakanori Watanabe2020-05-081-0/+1
| | | | Notes: svn path=/head/; revision=360806
* Add le_read_buffer_size command and manpage.Takanori Watanabe2020-04-282-1/+66
| | | | | | | | | | It supports both v1 and v2 command. PR:245964 Submitted by: Marc Veldman <marc@bumblingdork.com> Notes: svn path=/head/; revision=360440
* Improve error handlingTakanori Watanabe2020-04-281-40/+87
| | | | | | | | | | | | Check return values from hci_request() Check rp.status Print error messages with hci_status2str() PR: 245769 Submitted by: Marc Veldman Notes: svn path=/head/; revision=360435
* Resolve vendor id to string.Takanori Watanabe2020-04-271-1/+2
| | | | Notes: svn path=/head/; revision=360369
* Fix advertise packet parsing.Takanori Watanabe2020-04-271-2/+33
| | | | | | | Differential Revision: https://reviews.freebsd.org/D21779 Notes: svn path=/head/; revision=360360
* Properly update AD field length in hccontrol(8).Hans Petter Selasky2020-04-261-2/+3
| | | | | | | | | | | | | While at it use strtol() instead of atoi() to support hexadecimal numbers aswell as 10-base numbers. Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245899 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360329
* Put advertising data in correct place.Hans Petter Selasky2020-04-251-0/+1
| | | | | | | | | | Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245848 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360288
* Rename two commands to match the Bluetooth specification in hccontrol(8).Hans Petter Selasky2020-04-241-9/+9
| | | | | | | | | | | | Fix some bad spelling while at it. Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245868 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360263
* Add support for LE advertising to hccontrol(8).Hans Petter Selasky2020-04-242-1/+218
| | | | | | | | | | Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245848 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360243
* Add support for Read_Local_Supported_Commands command to hccontrol(8).Hans Petter Selasky2020-04-224-0/+534
| | | | | | | | | | Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245811 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360197
* Update string tables in hccontrol(8).Hans Petter Selasky2020-04-211-14/+2185
| | | | | | | | | | Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245796 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360172
* Substitute le_read_supported_status with le_read_supported_states.Hans Petter Selasky2020-04-201-12/+18
| | | | | | | | | | | | Refer to bluetooth core v5.2 specifications Vol4. Part E. 7.8.27. PR: 245763 Submitted by: Marc Veldman <marc@bumblingdork.com> MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360116
* Fix cut and paste off-by-one error in hccontrol(8).Hans Petter Selasky2020-04-191-0/+3
| | | | | | | | | | | Make sure strncpy() doesn't write beyond its given buffer. PR: 245739 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360095
* Improve printing of le features in hccontrol(8).Hans Petter Selasky2020-04-193-6/+139
| | | | | | | | | | Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245739 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360094
* Bring HCI error messages up-to-date.Hans Petter Selasky2020-04-191-1/+29
| | | | | | | | | | | | See Bluetooth v5.6 core specification Vol.1 Part F: Controller error codes. Submitted by: Marc Veldman <marc@bumblingdork.com> PR: 245737 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=360092