rsi: handle BT traffic in driver
BT frames are passed through coex and hal modules to BUS. After firmware is loaded, based on the operating mode CARD READY frame comes for each protocol. When BT card ready is received, BT attach is called. Protocol operations are exchanged between the modules at initialization time. Build flag CONFIG_RSI_COEX is introduced to enable coex support if CONFIG_BT_RSIHCI is enabled. Coex operations are valid if coex mode is greater than 1 only. Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com> Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
38aa4da504
commit
716b840c76
@@ -62,6 +62,7 @@ static inline int rsi_create_kthread(struct rsi_common *common,
|
||||
u8 *name)
|
||||
{
|
||||
init_completion(&thread->completion);
|
||||
atomic_set(&thread->thread_done, 0);
|
||||
thread->task = kthread_run(func_ptr, common, "%s", name);
|
||||
if (IS_ERR(thread->task))
|
||||
return (int)PTR_ERR(thread->task);
|
||||
|
Reference in New Issue
Block a user