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
@@ -145,8 +145,18 @@ struct rsi_data_desc {
|
||||
u8 sta_id;
|
||||
} __packed;
|
||||
|
||||
struct rsi_bt_desc {
|
||||
__le16 len_qno;
|
||||
__le16 reserved1;
|
||||
__le32 reserved2;
|
||||
__le32 reserved3;
|
||||
__le16 reserved4;
|
||||
__le16 bt_pkt_type;
|
||||
} __packed;
|
||||
|
||||
int rsi_hal_device_init(struct rsi_hw *adapter);
|
||||
int rsi_prepare_beacon(struct rsi_common *common, struct sk_buff *skb);
|
||||
int rsi_send_pkt_to_bus(struct rsi_common *common, struct sk_buff *skb);
|
||||
int rsi_send_bt_pkt(struct rsi_common *common, struct sk_buff *skb);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user