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.h382 __u8 le_states[8]; member
872 ((hdev)->le_states[4] & 0x08) && /* Central */ \
873 ((hdev)->le_states[4] & 0x40) && /* Peripheral */ \
874 ((hdev)->le_states[3] & 0x10)) /* Simultaneous */
H A Dhci.h1805 __u8 le_states[8]; member
/linux/net/bluetooth/
H A Dhci_sync.c986 /* Check le_states if there is any connection in peripheral role. */ in is_advertising_allowed()
991 if (!connectable && !(hdev->le_states[2] & 0x10)) in is_advertising_allowed()
997 if (connectable && (!(hdev->le_states[4] & 0x40) || in is_advertising_allowed()
998 !(hdev->le_states[2] & 0x20))) in is_advertising_allowed()
1002 /* Check le_states if there is any connection in central role. */ in is_advertising_allowed()
1005 if (!connectable && !(hdev->le_states[2] & 0x02)) in is_advertising_allowed()
1011 if (connectable && (!(hdev->le_states[4] & 0x08) || in adv_use_rpa()
1012 !(hdev->le_states[2] & 0x08))) in adv_use_rpa()
H A Dhci_event.c1979 memcpy(hdev->le_states, rp->le_states, 8); in hci_cc_le_read_supported_states()
6160 !(hdev->le_states[3] & 0x10))) in check_pending_le_conn()