Commit Graph

8 Commits

Author SHA1 Message Date
Zhu Lv af9a4dcafe bt: fix bt open fail when wifi off [1/1]
PD#SWPL-166010

Problem:
bt open fail when wifi off

Solution:
bt default power on

Verify:
soddy

Change-Id: I253a4568360ff839c23480d73d725b83d5f3ec35
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
2024-04-30 02:35:26 -07:00
Jun Zhang 140e717a53 BT-RFKILL: fix the duplicated power action on yocto platform [1/1]
PD#SWPL-166565

Problem:
multiple state setting by systemd-rfkill will trigger the
duplicated-power-on action in bluetooth kernel driver, and cause the
WiFi firmware loading failure when the power pin is shared by WiFi
and bluetooth device.

Solution:
add static device blocking state to prevent the duplicated power action

Verify:
t5w/s4/sc2/s7

Change-Id: I37081caed3f59af39b97449113027d22f9740696
Signed-off-by: Jun Zhang <jun.zhang@amlogic.com>
2024-04-29 23:53:21 -07:00
Jiacai.Liu b8e7921369 BT: add config to define the init state of rfkill sw block [1/1]
PD#SWPL-154847

Problem:
the init state of rfkill sw block is set to true which will cause the
power of bt device not applicable.

Solution:
add CONFIG_AMLOGIC_RFKILL_INIT_SW_UNBLOCK to set the init state of sw
block as false if the config is defined.
cherry-pick from: https://scgit.amlogic.com/#/c/391514/

Verify:
local sc2

Change-Id: I4f23651b1066146066e434a0869c94c625c8d3a9
Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
2024-02-27 01:59:49 -08:00
Zhu Lv 78add0a045 bt: optimize aml_bt driver loading time [1/1]
PD#SWPL-155688

Problem:
aml_bt driver loading time too long

Solution:
optimize aml_bt driver loading time

Verify:
calla

Change-Id: I3b9f8dbd9e2b5f278a4d1c0d01f64c1172693f85
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
2024-02-22 01:53:57 -07:00
jiabin.chen 7748acdd43 bt: Optimize the power on [1/1]
PD#SWPL-153207

Problem:
power on delay more 200ms

Solution:
On the Android platform calling wifi API can save 200ms time
Linux platform unchanged

Verify:
ohm

Change-Id: I1dbf3f1681e2281336e810e4b726ca8d72c6ef5f
Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
2024-01-23 06:38:16 -07:00
Zhu Lv 859db62629 bt: abnormal wakeup [1/2]
PD#SWPL-149222

Problem:
bt abnormal wakeup

Solution:
improve  str standby process of qca6174

Verify:
ohm

Change-Id: I099da28cb0d1e84abd2f9d82b5457ab71c84918e
Signed-off-by: Zhu Lv <zhu.lv@amlogic.com>
2023-12-20 20:51:41 -07:00
Kuibao Zhang 47bca1e0f0 BT: bt state is abnormal when rtc [1/1]
PD#SWPL-142862

Problem:
1.bt open fail when rtc wakeup;

Solution:
1.reset this state when rtc wakeup;

Verify:
ohm.

Change-Id: If86fd7eef5926ee44a6740ba229ee040759389a4
Signed-off-by: Kuibao Zhang <kuibao.zhang@amlogic.com>
2023-11-20 00:35:06 -07:00
qinglin.li 55312c58ed wireless: combine wifi and bluetooth modules [1/1]
PD#SWPL-95684

Problem:
combine wifi and bluetooth modules

Solution:
result: amlogic-wireless.ko
original: amlogic-wifi.ko bt_device.ko

Verify:
sc2

Change-Id: I2b8ff4c2471407e419772e22920434c5c74b843e
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2022-11-05 12:30:53 +08:00