#
c0633eb0 |
| 21-Sep-2021 |
christos <christos@NetBSD.org> |
don't opencode kauth_cred_get()
|
#
78876854 |
| 03-Feb-2019 |
mrg <mrg@NetBSD.org> |
- 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
|
#
0ac64c9f |
| 28-Nov-2015 |
plunky <plunky@NetBSD.org> |
add version and extended feature flags defined in 4.2 specification, add cache for page 2 of extended features and return this in the SIOCGBTFEAT ioctl (no change in size)
|
#
ae1253a1 |
| 01-Jul-2014 |
rtr <rtr@NetBSD.org> |
fix parameter types in pr_ioctl, called xx_control() functions and remove abuse of pointer to struct mbuf type.
param2 changed to u_long type and uses parameter name 'cmd' (ioctl command) param3 cha
fix parameter types in pr_ioctl, called xx_control() functions and remove abuse of pointer to struct mbuf type.
param2 changed to u_long type and uses parameter name 'cmd' (ioctl command) param3 changed to void * type and uses parameter name 'data' param4 changed to struct ifnet * and uses parameter name 'ifp' param5 has been removed (formerly struct lwp *) and uses of 'l' have been replaced with curlwp from curproc(9).
callers have had (now unnecessary) casts to struct mbuf * removed, called code has had (now unnecessary) casts to u_long, void * and struct ifnet * respectively removed.
reviewed by rmind@
show more ...
|
#
4c58642f |
| 22-Jun-2014 |
rtr <rtr@NetBSD.org> |
* split PRU_CONTROL functionality out of xxx_userreq() switches and place into separate xxx_ioctl() functions. * place KASSERT(req != PRU_CONTROL) inside xxx_userreq() as it is now inappropriate
* split PRU_CONTROL functionality out of xxx_userreq() switches and place into separate xxx_ioctl() functions. * place KASSERT(req != PRU_CONTROL) inside xxx_userreq() as it is now inappropriate for req = PRU_CONTROL in xxx_userreq(). * replace calls to pr_generic() with req = PRU_CONTROL with pr_ioctl(). * remove & fixup references to PRU_CONTROL xxx_userreq() function comments. * fix various comments references for xxx_userreq() that mentioned PRU_CONTROL as xxx_userreq() no longer handles the request.
a further change will follow to fix parameter and naming inconsistencies retained from original code.
Reviewed by rmind@
show more ...
|
#
2c6dc8c0 |
| 22-Nov-2010 |
plunky <plunky@NetBSD.org> |
upon device initialisation, query and cache the device features, and cache the maximum ACL/SCO packet buffers.
provide an additional SIOCGBTFEAT ioctl to retrieve the cached features, and add the ma
upon device initialisation, query and cache the device features, and cache the maximum ACL/SCO packet buffers.
provide an additional SIOCGBTFEAT ioctl to retrieve the cached features, and add the max values to the SIOC?BTINFO results.
(btreq does not change size)
show more ...
|
#
b7dec17f |
| 20-Aug-2009 |
plunky <plunky@NetBSD.org> |
add a per-unit master setting, to control requesting the master role when accepting connections.
|
#
fda35a52 |
| 03-May-2009 |
elad <elad@NetBSD.org> |
Add a bluetooth action to the device scope and use it in netbt as a replacement for KAUTH_GENERIC_ISSUSER.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/25/msg004905.html
Add a bluetooth action to the device scope and use it in netbt as a replacement for KAUTH_GENERIC_ISSUSER.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/25/msg004905.html
Bluetooth-specific authorization wrapper might come later.
show more ...
|
#
736a9db0 |
| 28-Nov-2007 |
plunky <plunky@NetBSD.org> |
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 -
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
show more ...
|
#
0b799668 |
| 10-Nov-2007 |
plunky <plunky@NetBSD.org> |
use more device_t and device_xxx() accessors
make bluetooth stack keep device_t instead of softc pointer as device is not necessarily part of softc, and pass device_t to driver callbacks. hci_devnam
use more device_t and device_xxx() accessors
make bluetooth stack keep device_t instead of softc pointer as device is not necessarily part of softc, and pass device_t to driver callbacks. hci_devname is no longer required.
show more ...
|
#
b2eb9a53 |
| 04-Jan-2007 |
elad <elad@NetBSD.org> |
Consistent usage of KAUTH_GENERIC_ISSUSER.
|
#
264c7935 |
| 11-Sep-2006 |
plunky <plunky@NetBSD.org> |
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.
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@
show more ...
|
#
c980b109 |
| 27-Aug-2006 |
plunky <plunky@NetBSD.org> |
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 bt
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.
show more ...
|
#
f474dceb |
| 23-Jul-2006 |
ad <ad@NetBSD.org> |
Use the LWP cached credentials where sane.
|
#
a5c89047 |
| 19-Jun-2006 |
gdamore <gdamore@NetBSD.org> |
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 inc
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.
show more ...
|