Hi I'm wondering on how to setup Bluetooth Coexistence and if it is possible under OpenWrt?
The device has a csr8811 HSI UART connected Bluetooth chip and it has a several GPIO attached to the GPIO of the IPQ8074.
The device has an ath11k chipset that supports bt_coex.
In the stock device the GPIO are labeled but not as the intended signal just labeled and defined as pta1_0, pta1_1, pta1_2, pta2_0, pta2_1 and pta2_2 so it is not real apparent what the gpio is.
Is there a way to determine this and is there a device setup with this configured so I may look at the dts?
I know the terminals are for PTA (Packet Traffic Arbitration), is there software to look at the firmware of the module and determine the pinout as I have a dump of the firmware?
WLAN_ACTIVE - signals when an 802.11 device is active, 802.11–>BT
BT_PRIORITY - categorizes the Bluetooth signal, BT–>802.11
BT_STATE - signals the presence of a Bluetooth transmission.
I was not really planning anything more just looking to support what best I can the oem functions in porting this device to vanilla OpenWrt.
I'm sort of using it to tinker and learn, but to be honest I'm really unsure of a relevant purpose for Bluetooth on a router, I'm sort of lost as in a use case for it?
I guess If the Bluetooth module can detect the presence of Bluetooth in use and disable the overlapping channels of WI-FI that would be great I guess, I don't know is that a possibility?
The interesting thing is the router does have a speaker so in theory it could be used for Bluetooth speaker if you really did not care for sound quality.
It does look like the Bluetooth is just used in the factory software to configure the device to atatch to the correct WI-FI network from an apple device.
Setup is done over Wi-Fi.
I don't know if there is any other feature outside of that but there is a mac address assigned to it in the app.
I looked through the /torvalds/linux driver source and it seems there is little to nothing in the ath 10k and 11k regarding bx_coex it seems ath9k has all the dps properties for 2 and 3 wire bt_coex.
i read a bit and it seems ath10 and 11k do some sort of digital or serial channel, and it is behind the great Qualcomm firewall.
Yeah - QSDK and the closed sourced drivers have some of this, and keep in mind that the driver does have to coordinate with both devices - should note that CSR is owned by Qualcomm - one of many companies they've acquired over the years...
I’m really unsure if we are gonna get LCD, Bluetooth and Speaker to work in OpenWRT…. The speaker is connected directly to the LCD module anyway as you know, the LCD even has an vibration motor and is touch capable if you didn’t already know i don’t know for which purpose it will be useful​:thinking:
We need to get the cooling Fan working first I guess as it gets very hot👍 and LED ring at the bottom base is always at full brightness which will get annoying after a while.