<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/bluetooth/btqca.h, branch linux-5.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-06-26T05:12:29Z</updated>
<entry>
<title>Bluetooth: btqca: Add support for firmware image with mbn type for WCN6750</title>
<updated>2021-06-26T05:12:29Z</updated>
<author>
<name>Venkata Lakshmi Narayana Gubba</name>
</author>
<published>2021-05-18T16:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ecf6b2d9566606cd78bdc0af36e5a938624b13d1'/>
<id>urn:sha1:ecf6b2d9566606cd78bdc0af36e5a938624b13d1</id>
<content type='text'>
1. Added support to download firmware image with mbn type for wcn6750
   as it supports mbn type image.
2. If mbn type image is not present then check for tlv type image.
3. Added debug logs for mbn type image.

Signed-off-by: Venkata Lakshmi Narayana Gubba &lt;gubbaven@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750</title>
<updated>2021-06-26T05:12:29Z</updated>
<author>
<name>Venkata Lakshmi Narayana Gubba</name>
</author>
<published>2021-05-18T16:34:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d8f97da1b92d2fe89d51c673ecf80c4016119e5c'/>
<id>urn:sha1:d8f97da1b92d2fe89d51c673ecf80c4016119e5c</id>
<content type='text'>
Added regulators,GPIOs and changes required to power on/off wcn6750.
Added support for firmware download for wcn6750.

Changes done in detail:
1. Added regulators and corresponding current values.
2. Added sw_ctrl GPIO pin which is output from BT SoC and indicates
   status of clock supply to BT SoC.
3. Added inline function to check if the SoC type is wcn6750.
4. Modified the function qca_wcn3990_init() to support wcn6750 and
   renamed it to qca_regulator_init().

Signed-off-by: Venkata Lakshmi Narayana Gubba &lt;gubbaven@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC</title>
<updated>2020-12-18T21:23:50Z</updated>
<author>
<name>Venkata Lakshmi Narayana Gubba</name>
</author>
<published>2020-12-08T11:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0187b0bd3e94c48050687d87b2c3c9fbae98ae9'/>
<id>urn:sha1:c0187b0bd3e94c48050687d87b2c3c9fbae98ae9</id>
<content type='text'>
Add support to read FW build version from debugfs node.
This info can be read from
/sys/kernel/debug/bluetooth/hci0/firmware_info

Signed-off-by: Venkata Lakshmi Narayana Gubba &lt;gubbaven@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: btqca: Use NVM files based on SoC ID for WCN3991</title>
<updated>2020-12-07T14:59:55Z</updated>
<author>
<name>Venkata Lakshmi Narayana Gubba</name>
</author>
<published>2020-11-19T12:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=059924fdf6c1c31a7c1aa1915884e23f4313dde2'/>
<id>urn:sha1:059924fdf6c1c31a7c1aa1915884e23f4313dde2</id>
<content type='text'>
This change will allow to use different NVM file based
on WCN3991 BT SoC ID.Need to use different NVM file based on
fab location for WCN3991 BT SoC.

Signed-off-by: Venkata Lakshmi Narayana Gubba &lt;gubbaven@codeaurora.org&gt;
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: hci_qca: Disable SoC debug logging for WCN3991</title>
<updated>2020-06-12T13:17:47Z</updated>
<author>
<name>Balakrishna Godavarthi</name>
</author>
<published>2020-06-12T12:20:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=590deccf4c0690597ca69349fe46ee124944d8c5'/>
<id>urn:sha1:590deccf4c0690597ca69349fe46ee124944d8c5</id>
<content type='text'>
By default, WCN3991 sent debug packets to HOST via ACL packet
with header 0xDC2E. This logging is not required on commercial
devices. With this patch SoC logging is disabled post fw
download.

Signed-off-by: Balakrishna Godavarthi &lt;bgodavar@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC QCA6390</title>
<updated>2020-04-02T06:25:19Z</updated>
<author>
<name>Rocky Liao</name>
</author>
<published>2020-03-25T02:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5d6468fe9d8dced9af0c548a359a7dbeb31c931'/>
<id>urn:sha1:e5d6468fe9d8dced9af0c548a359a7dbeb31c931</id>
<content type='text'>
This patch adds support for QCA6390, including the devicetree and acpi
compatible hwid matching, and patch/nvm downloading.

Signed-off-by: Rocky Liao &lt;rjliao@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Replace zero-length array with flexible-array member</title>
<updated>2020-02-28T07:30:02Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
</author>
<published>2020-02-26T23:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7e454542bf8d57c75f59e7e7326c21db3d0bb3f'/>
<id>urn:sha1:a7e454542bf8d57c75f59e7e7326c21db3d0bb3f</id>
<content type='text'>
The current codebase makes use of the zero-length array language
extension to the C90 standard, but the preferred mechanism to declare
variable-length types such as these ones is a flexible array member[1][2],
introduced in C99:

struct foo {
        int stuff;
        struct boo array[];
};

By making use of the mechanism above, we will get a compiler warning
in case the flexible array does not occur last in the structure, which
will help us prevent some kind of undefined behavior bugs from being
inadvertently introduced[3] to the codebase from now on.

Also, notice that, dynamic memory allocations won't be affected by
this change:

"Flexible array members have incomplete type, and so the sizeof operator
may not be applied. As a quirk of the original implementation of
zero-length arrays, sizeof evaluates to zero."[1]

This issue was found with the help of Coccinelle.

[1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
[2] https://github.com/KSPP/linux/issues/21
[3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour")

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC WCN3991</title>
<updated>2019-11-09T02:26:47Z</updated>
<author>
<name>Balakrishna Godavarthi</name>
</author>
<published>2019-11-06T09:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d250a062f75e6ee8368b64ac6ff1e09fbb6783d'/>
<id>urn:sha1:7d250a062f75e6ee8368b64ac6ff1e09fbb6783d</id>
<content type='text'>
This patch add support for WCN3991 i.e. current values and fw download
support.

Signed-off-by: Balakrishna Godavarthi &lt;bgodavar@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: btqca: Rename ROME specific variables to generic variables</title>
<updated>2019-11-09T02:26:47Z</updated>
<author>
<name>Balakrishna Godavarthi</name>
</author>
<published>2019-11-06T09:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e303d124b70920ef86b26d792d8b959166a28f6e'/>
<id>urn:sha1:e303d124b70920ef86b26d792d8b959166a28f6e</id>
<content type='text'>
Variables which are named with rome are commonly used for all the
BT SoC's. Instead of continuing further, renamed them to generic
name.

Signed-off-by: Balakrishna Godavarthi &lt;bgodavar@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: hci_qca: Send VS pre shutdown command.</title>
<updated>2019-08-12T16:23:50Z</updated>
<author>
<name>Harish Bandi</name>
</author>
<published>2019-07-12T05:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2780889e247561744dd8efbd3478a1999b72ae3'/>
<id>urn:sha1:a2780889e247561744dd8efbd3478a1999b72ae3</id>
<content type='text'>
WCN399x chips are coex chips, it needs a VS pre shutdown
command while turning off the BT. So that chip can inform
BT is OFF to other active clients.

Signed-off-by: Harish Bandi &lt;c-hbandi@codeaurora.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
</feed>
