Home
last modified time | relevance | path

Searched refs:le_states (Results 1 – 4 of 4) sorted by relevance

/linux/include/net/bluetooth/
H A Dhci_core.h385 __u8 le_states[8]; member
856 ((hdev)->le_states[4] & 0x08) && /* Central */ \
857 ((hdev)->le_states[4] & 0x40) && /* Peripheral */ \
858 ((hdev)->le_states[3] & 0x10)) /* Simultaneous */
H A Dhci.h1798 __u8 le_states[8]; member
/linux/net/bluetooth/
H A Dhci_sync.c989 /* Check le_states if there is any connection in peripheral role. */ in is_advertising_allowed()
994 if (!connectable && !(hdev->le_states[2] & 0x10)) in is_advertising_allowed()
1000 if (connectable && (!(hdev->le_states[4] & 0x40) || in is_advertising_allowed()
1001 !(hdev->le_states[2] & 0x20))) in is_advertising_allowed()
1005 /* Check le_states if there is any connection in central role. */ in is_advertising_allowed()
1008 if (!connectable && !(hdev->le_states[2] & 0x02)) in is_advertising_allowed()
1014 if (connectable && (!(hdev->le_states[4] & 0x08) ||
1015 !(hdev->le_states[2] & 0x08))) in adv_use_rpa()
H A Dhci_event.c1937 memcpy(hdev->le_states, rp->le_states, 8);
6110 !(hdev->le_states[3] & 0x10))) in check_pending_le_conn()