<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/bluetooth/bluetooth.h, branch v4.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-11-19T16:50:28Z</updated>
<entry>
<title>Bluetooth: Add support for sending system notes to monitor channel</title>
<updated>2015-11-19T16:50:28Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2015-11-08T06:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dd31506d4aece48943802c2bca3f1f7d2e7266b4'/>
<id>urn:sha1:dd31506d4aece48943802c2bca3f1f7d2e7266b4</id>
<content type='text'>
The monitor channel can be used to send generic system notes as text
strings for debugging purposes. This adds the system note monitor code
and uses it for including kernel and subsystem version into traces.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Compress the size of struct hci_ctrl</title>
<updated>2015-11-19T16:50:27Z</updated>
<author>
<name>Johan Hedberg</name>
<email>johan.hedberg@intel.com</email>
</author>
<published>2015-11-05T07:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=44d271377479c4d4fe7f2d07d188656684773fbd'/>
<id>urn:sha1:44d271377479c4d4fe7f2d07d188656684773fbd</id>
<content type='text'>
We can reduce the size of the hci_ctrl struct by converting
'bool req_start' to 'u8 req_flags' and making the two function
pointers a union (since only one is ever set at a time).

Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Remove redundant setting to zero of bt_cb</title>
<updated>2015-11-19T16:50:27Z</updated>
<author>
<name>Johan Hedberg</name>
<email>johan.hedberg@intel.com</email>
</author>
<published>2015-11-05T07:31:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5fcc86bd2695d4ccad2d87cb424f4c01a4e544f3'/>
<id>urn:sha1:5fcc86bd2695d4ccad2d87cb424f4c01a4e544f3</id>
<content type='text'>
The socket allocation functions will always memset skb-&gt;cb to zero so
there's no need to make other initializations needing the same thing.

Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add hci_skb_* helper wrappers for bt_cb(skb) access</title>
<updated>2015-11-19T16:50:26Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2015-11-05T06:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f5c4a42a7549cbc29dbac2b5ede05a3bc2bb4522'/>
<id>urn:sha1:f5c4a42a7549cbc29dbac2b5ede05a3bc2bb4522</id>
<content type='text'>
For all the HCI driver related variables accesssed via bt_cb(skb),
provide helper wrappers.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Rename bt_cb()-&gt;req into bt_cb()-&gt;hci</title>
<updated>2015-10-26T06:21:03Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2015-10-25T21:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=242c0ebd3730334c43b9c04eeec40d8dd5c3a26e'/>
<id>urn:sha1:242c0ebd3730334c43b9c04eeec40d8dd5c3a26e</id>
<content type='text'>
The SKB context buffer for HCI request is really not just for requests,
information in their are preserved for the whole HCI layer. So it makes
more sense to actually rename it into bt_cb()-&gt;hci and also call it then
struct hci_ctrl.

In addition that allows moving the decoded opcode for outgoing packets
into that struct. So far it was just consuming valuable space from the
main shared items. And opcode are not valid for L2CAP packets.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add BT_WARN and bt_dev_warn logging macros</title>
<updated>2015-09-24T14:25:44Z</updated>
<author>
<name>Frederic Danis</name>
<email>frederic.danis@linux.intel.com</email>
</author>
<published>2015-09-23T16:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=594b31ea7dc6101519deee1b31483fce2e1a7414'/>
<id>urn:sha1:594b31ea7dc6101519deee1b31483fce2e1a7414</id>
<content type='text'>
Add warning logging macros to bluetooth subsystem logs.

Signed-off-by: Frederic Danis &lt;frederic.danis@linux.intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add BT_ERR_RATELIMITED</title>
<updated>2015-09-18T07:53:19Z</updated>
<author>
<name>Szymon Janc</name>
<email>ext.szymon.janc@tieto.com</email>
</author>
<published>2015-09-16T18:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e781b7f7fcc141d69f63d4eef70d249549dfaeda'/>
<id>urn:sha1:e781b7f7fcc141d69f63d4eef70d249549dfaeda</id>
<content type='text'>
This patch adds ratelimited version of the BT_ERR macro.

Signed-off-by: Szymon Janc &lt;ext.szymon.janc@tieto.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add bt_dev logging macros</title>
<updated>2015-09-17T11:20:00Z</updated>
<author>
<name>Loic Poulain</name>
<email>loic.poulain@intel.com</email>
</author>
<published>2015-08-30T16:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6f558b70fb39fc8272fc513ecf191b3ad87d867b'/>
<id>urn:sha1:6f558b70fb39fc8272fc513ecf191b3ad87d867b</id>
<content type='text'>
Add specific bluetooth device logging macros since hci device name is
repeatedly referred in bluetooth subsystem logs.

Signed-off-by: Loic Poulain &lt;loic.poulain@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Move SCO support under BT_BREDR config option</title>
<updated>2015-06-09T11:41:36Z</updated>
<author>
<name>Arron Wang</name>
<email>arron.wang@intel.com</email>
</author>
<published>2015-06-09T09:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ff50e8afc537e66bb3daf5d1cd6628d6b76e7f06'/>
<id>urn:sha1:ff50e8afc537e66bb3daf5d1cd6628d6b76e7f06</id>
<content type='text'>
SCO/eSCO link is supported by BR/EDR controller, it is
suitable to move them under BT_BREDR config option

Signed-off-by: Arron Wang &lt;arron.wang@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add second hci_request callback option for full skb</title>
<updated>2015-04-02T14:09:27Z</updated>
<author>
<name>Johan Hedberg</name>
<email>johan.hedberg@intel.com</email>
</author>
<published>2015-04-02T10:41:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e6214487492566b15ff24e97c6747bb2e5d9e040'/>
<id>urn:sha1:e6214487492566b15ff24e97c6747bb2e5d9e040</id>
<content type='text'>
This patch adds a second possible callback for HCI requests where the
callback will receive the full skb of the last successfully completed
HCI command. This API is useful for cases where we want to use a request
to read some data and the existing hci_event.c handlers do not store it
e.g. in the hci_dev struct.

The reason the patch is a bit bigger than just adding the new API is
because the hci_req_cmd_complete() functions required some refactoring
to enable it: now hci_req_cmd_complete() is simply used to request the
callback pointers if any, and the actual calling of them happens from a
single place at the end of hci_event_packet(). The reason for this is
that we need to pass the original skb (without any skb_pull, etc
modifications done to it) and it's simplest to keep track of it within
the hci_event_packet() function.

Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
</feed>
