hci.c (51e51a58dec605e986a053950dbc1e3dd173d630) hci.c (91d9e5d0d4e73cf5ec11d3ad1bdc806a9c2028df)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 1796 unchanged lines hidden (view full) ---

1805 break;
1806 }
1807
1808 /* fall through */
1809
1810 case HCI_INIT_LE_SET_EVENT_MASK:
1811 if (hci_le_supported()){
1812 hci_stack->substate = HCI_INIT_W4_LE_SET_EVENT_MASK;
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 1796 unchanged lines hidden (view full) ---

1805 break;
1806 }
1807
1808 /* fall through */
1809
1810 case HCI_INIT_LE_SET_EVENT_MASK:
1811 if (hci_le_supported()){
1812 hci_stack->substate = HCI_INIT_W4_LE_SET_EVENT_MASK;
1813 hci_send_cmd(&hci_le_set_event_mask, 0x809FF, 0x0); // bits 0-8, 11, 19
1813 hci_send_cmd(&hci_le_set_event_mask, 0xfffffdff, 0x07); // all events from core v5.3 without LE Enhanced Connection Complete
1814 break;
1815 }
1816#endif
1817
1818#ifdef ENABLE_LE_DATA_LENGTH_EXTENSION
1819 /* fall through */
1820
1821 case HCI_INIT_LE_READ_MAX_DATA_LENGTH:

--- 5302 unchanged lines hidden ---
1814 break;
1815 }
1816#endif
1817
1818#ifdef ENABLE_LE_DATA_LENGTH_EXTENSION
1819 /* fall through */
1820
1821 case HCI_INIT_LE_READ_MAX_DATA_LENGTH:

--- 5302 unchanged lines hidden ---