summaryrefslogtreecommitdiffstats
path: root/sys/netbt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* "It's not the years, honey; it's the mileage."tedu2014-07-1125-14380/+0
| | | | | | bluetooth support doesn't work and isn't going anywhere. the current design is a dead end, and should not be the basis for any future support. general consensus says to whack it so as to not mislead the unwary.
* acknowlege -> acknowledgemartynas2013-01-061-2/+2
| | | | | | compatability -> compatibility OK jmc@.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-054-12/+4
| | | | ok guenther millert kettenis
* cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmhenning2011-07-061-6/+6
|
* add format strings implied by surplus argumentsjsg2010-08-201-2/+3
| | | | found via the clang static analyser
* sort pool.h into the list of includes alphabeticallyblambert2010-07-293-6/+6
| | | | pointed out by kettenis@, ok miod@
* #include <sys/pool.h> directly, instead of relying on mbuf.h to inlcude itblambert2010-07-293-3/+6
| | | | ok miod@ tedu@
* m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsblambert2010-07-023-7/+8
| | | | | | | | | are required to detect that. Change the function to take a wait argument (used in nfs server, but M_NOWAIT everywhere else for now) and to return an error ok claudio@ henning@ krw@
* User triggerable KASSERT()s and NULL dereferences in netbt setsockopt()s,guenther2009-11-2111-87/+130
| | | | | | | found by Clement LECIGNE, localhost DoS everywhere. Also, don't leak the mbuf when the wrong level is used. ok claudio@, "just commit" deraadt@
* Accoring to the C standard uint16_t can't be the type of the ``last'' argumentgrange2009-01-141-3/+3
| | | | | | | of va_start() since it's not compatible with the type that results after application of the default argument promotion. So change it to uint32_t. ok miod@
* unbreak build on sgi (thanks jasper)uwe2008-11-251-2/+3
|
* hopefully that unbreaks macppc; reported by todd and mkuwe2008-11-241-2/+2
|
* Stop a possible race in hci_enable()uwe2008-11-221-1/+8
|
* Sync bluetooth with NetBSDuwe2008-11-2220-410/+478
|
* Convert timeout_add() calls using multiples of hz to timeout_add_sec()blambert2008-09-105-24/+22
| | | | | | | Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
* timeout_del() removes the triggered flag so check if the timeout triggeredclaudio2008-06-081-4/+4
| | | | | | before doing the timeout_del() -- which is actually not needed as triggered timeouts are already removed. While there fix a obvious use after free issue. with mk@ OK canacar@
* bring netbt's usrreqs up to speed on the usrreq changes.thib2008-05-278-19/+22
| | | | | | allows it too compile again. pointed out by mk@ and deraadt@
* Handle "QOS" L2CAP configuration request option, enabling L2CAPuwe2008-02-241-1/+46
| | | | connections to Sony Ericsson W880i mobile phones
* Sync sys/netbt with NetBSDuwe2008-02-2417-506/+1317
| | | | ok deraadt@
* Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'krw2007-10-014-14/+9
| | | | where obvious.
* Only the most obvious bzero() -> M_ZERO changes. No cast changes, nokrw2007-09-173-9/+6
| | | | | MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
* spacing, chop some of the more obscenely long lines.gwk2007-07-223-53/+55
|
* Fix "the the"s. ok miod@.tom2007-06-261-2/+2
|
* Remove some unused leftover code; original request from jasper@uwe2007-06-245-55/+8
|
* Abort all pending ACL connections when we get an HCI command parameteruwe2007-06-193-4/+34
| | | | | | error in response to a HCI_CMD_CREATE_CON command instead of waiting that the user aborts due to boredom. Unfortunately, the command status event does not include a hint to tells us which connection failed.
* No need to call hci_enable() when we can do "btconfig <dev> up"; ok gwkuwe2007-06-061-11/+1
|
* Do not dereference a garbage pointer in hci_acl_send()uwe2007-06-061-1/+2
| | | | testing ckuethe
* Set a flag in hci_usrreq() to allow priviledged operationsuwe2007-06-021-5/+2
|
* Set BTF_UP before hci_enable() to make hci_unit_lookup() work; ok gwkuwe2007-06-011-3/+4
|
* workq_add_task() flags argument position changeduwe2007-06-011-3/+3
|
* set debug level to 0uwe2007-06-011-2/+2
|
* complete the sys/netbt import and adopt some more code to our interfacesuwe2007-06-0119-54/+5466
|
* Enable packet flow between HCI driver and controlleruwe2007-05-314-55/+49
| | | | | | - not all platforms have generic sofintr support, use schednetisr() - enable HCI driver at attach time (for development, since we have no userland tools yet)
* Unbreak the tree for gwkuwe2007-05-302-13/+8
|
* Import parts of the NetBSD bluetooth stack; ok gwk, and grange on removaluwe2007-05-3018-4671/+7120
| | | | of the existing code
* one extern seems to be better than 20 for ifqmaxlen; ok krwjason2007-05-261-2/+1
|
* spelling: queue, not qeueuecamield2006-12-011-2/+2
|
* With the exception of two other small uncommited diffs this movesbrad2006-03-042-5/+5
| | | | | | the remainder of the network stack from splimp to splnet. ok miod@
* From FreeBSD netgraph/bluetooth/include/ng_hci.h rev. 1.5:grange2005-07-151-2/+2
| | | | | | | Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure. class is a reserved word in C++ Submitted by: Markus Brueffer < markus AT brueffer DOT de >
* cleanup rcsidsmickey2005-01-179-18/+9
|
* Restrict AF_BLUETOOTH sockets to root for now. Discussed with theo andgrange2005-01-141-2/+6
| | | | markus.
* First step in Bluetooth protocol stack support.grange2005-01-1412-0/+5597
The code is adopted from the FreeBSD netgraph-based Bluetooth implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but all netgraph glue was replaced with usual BSD network stack hooks. This is a work in progress. Only HCI layer works for now, L2CAP and RFCOMM are on the way. Help in testing from many, ok markus@.