mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
iwlagn: split BT page and inquiry UART msg
Both inquiry and page was combine in frame7 of UART message, separate it Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
This commit is contained in:
parent
d7220f0d4f
commit
399f66fda0
@ -1984,12 +1984,14 @@ static void iwlagn_print_uartmsg(struct iwl_priv *priv,
|
||||
(BT_UART_MSG_FRAME6DISCOVERABLE_MSK & uart_msg->frame6) >>
|
||||
BT_UART_MSG_FRAME6DISCOVERABLE_POS);
|
||||
|
||||
IWL_DEBUG_NOTIF(priv, "Sniff Activity = 0x%X, Inquiry/Page SR Mode = "
|
||||
"0x%X, Connectable = 0x%X",
|
||||
IWL_DEBUG_NOTIF(priv, "Sniff Activity = 0x%X, Page = "
|
||||
"0x%X, Inquiry = 0x%X, Connectable = 0x%X",
|
||||
(BT_UART_MSG_FRAME7SNIFFACTIVITY_MSK & uart_msg->frame7) >>
|
||||
BT_UART_MSG_FRAME7SNIFFACTIVITY_POS,
|
||||
(BT_UART_MSG_FRAME7INQUIRYPAGESRMODE_MSK & uart_msg->frame7) >>
|
||||
BT_UART_MSG_FRAME7INQUIRYPAGESRMODE_POS,
|
||||
(BT_UART_MSG_FRAME7PAGE_MSK & uart_msg->frame7) >>
|
||||
BT_UART_MSG_FRAME7PAGE_POS,
|
||||
(BT_UART_MSG_FRAME7INQUIRY_MSK & uart_msg->frame7) >>
|
||||
BT_UART_MSG_FRAME7INQUIRY_POS,
|
||||
(BT_UART_MSG_FRAME7CONNECTABLE_MSK & uart_msg->frame7) >>
|
||||
BT_UART_MSG_FRAME7CONNECTABLE_POS);
|
||||
}
|
||||
|
@ -4258,9 +4258,12 @@ enum iwl_bt_coex_profile_traffic_load {
|
||||
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_POS (0)
|
||||
#define BT_UART_MSG_FRAME7SNIFFACTIVITY_MSK \
|
||||
(0x7 << BT_UART_MSG_FRAME7SNIFFACTIVITY_POS)
|
||||
#define BT_UART_MSG_FRAME7INQUIRYPAGESRMODE_POS (3)
|
||||
#define BT_UART_MSG_FRAME7INQUIRYPAGESRMODE_MSK \
|
||||
(0x3 << BT_UART_MSG_FRAME7INQUIRYPAGESRMODE_POS)
|
||||
#define BT_UART_MSG_FRAME7PAGE_POS (3)
|
||||
#define BT_UART_MSG_FRAME7PAGE_MSK \
|
||||
(0x1 << BT_UART_MSG_FRAME7PAGE_POS)
|
||||
#define BT_UART_MSG_FRAME7INQUIRY_POS (4)
|
||||
#define BT_UART_MSG_FRAME7INQUIRY_MSK \
|
||||
(0x1 << BT_UART_MSG_FRAME7INQUIRY_POS)
|
||||
#define BT_UART_MSG_FRAME7CONNECTABLE_POS (5)
|
||||
#define BT_UART_MSG_FRAME7CONNECTABLE_MSK \
|
||||
(0x1 << BT_UART_MSG_FRAME7CONNECTABLE_POS)
|
||||
|
Loading…
Reference in New Issue
Block a user