Home
last modified time | relevance | path

Searched full:llcp (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_features.h9 conn->llcp.fex.features_used &= ~ll_feat_mask; in feature_unmask_features()
14 conn->llcp.fex.features_peer &= ~ll_feat_mask; in feature_unmask_peer_features()
20 return (conn->llcp.fex.features_used & LL_FEAT_BIT_ENC) != 0; in feature_le_encryption()
29 return (conn->llcp.fex.features_used & LL_FEAT_BIT_CONN_PARAM_REQ) != 0; in feature_conn_param_req()
38 return (conn->llcp.fex.features_used & LL_FEAT_BIT_EXT_REJ_IND) != 0; in feature_ext_rej_ind()
47 return (conn->llcp.fex.features_used & LL_FEAT_BIT_PER_INIT_FEAT_XCHG) != 0; in feature_periph_feat_req()
56 return (conn->llcp.fex.features_used & LL_FEAT_BIT_PING) != 0; in feature_le_ping()
65 return (conn->llcp.fex.features_used & LL_FEAT_BIT_DLE) != 0; in feature_dle()
74 return (conn->llcp.fex.features_used & LL_FEAT_BIT_PRIVACY) != 0; in feature_privacy()
83 return (conn->llcp.fex.features_used & LL_FEAT_BIT_EXT_SCAN) != 0; in feature_ext_scan()
[all …]
Dull_llcp_local.c53 /* LLCP Local Request FSM State */
61 /* LLCP Local Request FSM Event */
97 * LLCP Local Request Shared Data Locking
125 * LLCP Local Request FSM
130 conn->llcp.local.state = state; in lr_set_state()
141 sys_slist_append(&conn->llcp.local.pend_proc_list, &ctx->node); in llcp_lr_enqueue()
156 ctx = (struct proc_ctx *)sys_slist_get(&conn->llcp.local.pend_proc_list); in lr_dequeue()
172 ctx = (struct proc_ctx *)sys_slist_peek_head(&conn->llcp.local.pend_proc_list); in llcp_lr_peek()
189 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&conn->llcp.local.pend_proc_list, ctx, tmp, node) { in llcp_lr_peek_proc()
202 return conn->llcp.local.pause == 1U; in llcp_lr_ispaused()
[all …]
Dull_llcp.c75 /* LLCP Allocations */
93 * LLCP Resource Management
124 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in ull_cp_update_tx_buffer_queue()
125 common_tx_buffer_alloc -= (conn->llcp.tx_buffer_alloc - in ull_cp_update_tx_buffer_queue()
139 if (conn->llcp.tx_buffer_alloc < CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in static_tx_buffer_available()
198 conn->llcp.tx_buffer_alloc++; in llcp_tx_alloc()
200 if (conn->llcp.tx_buffer_alloc > CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM) { in llcp_tx_alloc()
279 if (conn->llcp.tx_q_pause_data_mask == 0) { in llcp_tx_pause_data()
284 conn->llcp.tx_q_pause_data_mask |= pause_mask; in llcp_tx_pause_data()
290 conn->llcp.tx_q_pause_data_mask &= ~resume_mask; in llcp_tx_resume_data()
[all …]
Dull_llcp_remote.c54 /* LLCP Remote Request FSM State */
64 /* LLCP Remote Request FSM Event */
134 * LLCP Remote Request FSM
139 conn->llcp.remote.state = state; in rr_set_state()
144 conn->llcp.remote.incompat = incompat; in llcp_rr_set_incompat()
150 conn->llcp.remote.paused_cmd = proc; in llcp_rr_set_paused_cmd()
157 return conn->llcp.remote.paused_cmd; in llcp_rr_get_paused_cmd()
165 return conn->llcp.remote.incompat; in rr_get_incompat()
170 conn->llcp.remote.collision = collision; in rr_set_collision()
175 return conn->llcp.remote.collision; in llcp_rr_get_collision()
[all …]
Dull_llcp_chmu.c52 /* LLCP Local Procedure Channel Map Update FSM states */
59 /* LLCP Local Procedure Channel Map Update FSM events */
65 /* LLCP Remote Procedure Channel Map Update FSM states */
72 /* LLCP Remote Procedure Channel Map Update FSM events */
83 * LLCP Local Procedure Channel Map Update FSM
214 * LLCP Remote Procedure Channel Map Update FSM
Dull_llcp_internal.h7 /* LLCP Memory Pool Descriptor */
13 /* LLCP Procedure */
132 /* LLCP Procedure Context */
434 * LLCP Resource Management
460 * LLCP Procedure Response Timeout
469 * LLCP Local Procedure Common
477 * LLCP Remote Procedure Common
486 * LLCP Local Procedure Encryption
493 * LLCP Remote Procedure Encryption
506 * LLCP Local Procedure PHY Update
[all …]
Dull_llcp_common.c67 /* LLCP Local Procedure FSM states */
76 /* LLCP Local Procedure Common FSM events */
97 /* LLCP Remote Procedure Common FSM states */
105 /* LLCP Remote Procedure Common FSM events */
152 * LLCP Local Procedure Common FSM
321 if (conn->llcp.cte_req.is_enabled) { in lp_comm_complete_cte_req()
324 if (conn->llcp.cte_req.req_interval != 0U) { in lp_comm_complete_cte_req()
325 conn->llcp.cte_req.req_expire = in lp_comm_complete_cte_req()
326 conn->llcp.cte_req.req_interval; in lp_comm_complete_cte_req()
331 conn->llcp.cte_req.is_enabled = 0U; in lp_comm_complete_cte_req()
[all …]
Dull_internal.h30 * When returning TRUE the LLCP system changes to a
31 * USER_WAIT state and an EXTERNAL trigger must kick the LLCP system
34 * When returning FALSE the LLCP system will automatically
37 * Possibly modified LLCP internal status/error state will determine the type of 'response'
Dull_llcp_pdu.c122 * to 1, in LLCP we set them to 0; the spec. does not in feature_filter()
165 feature_rsp &= (FEAT_FILT_OCTET0 | conn->llcp.fex.features_used); in llcp_pdu_encode_feature_rsp()
179 sys_put_le64(conn->llcp.fex.features_peer, p->features); in llcp_ntf_encode_feature_rsp()
201 conn->llcp.fex.features_used = features_used(featureset); in llcp_pdu_decode_feature_req()
203 featureset &= (FEAT_FILT_OCTET0 | conn->llcp.fex.features_used); in llcp_pdu_decode_feature_req()
204 conn->llcp.fex.features_peer = featureset; in llcp_pdu_decode_feature_req()
206 conn->llcp.fex.valid = 1; in llcp_pdu_decode_feature_req()
214 conn->llcp.fex.features_used = features_used(featureset); in llcp_pdu_decode_feature_rsp()
215 conn->llcp.fex.features_peer = featureset; in llcp_pdu_decode_feature_rsp()
216 conn->llcp.fex.valid = 1; in llcp_pdu_decode_feature_rsp()
[all …]
Dull_conn_types.h9 enum llcp { enum
175 struct llcp_struct llcp; member
192 * TODO: all the following comes from the legacy LL llcp structure
/Zephyr-latest/tests/bluetooth/df/common/src/
Dbt_conn_common.c46 conn->llcp.cte_req.is_enabled = 0U; in ut_bt_create_connection()
48 conn->llcp.fex.features_used |= BIT(BT_LE_FEAT_BIT_CONN_CTE_REQ); in ut_bt_create_connection()
71 conn->llcp.fex.valid = PEER_FEATURES_ARE_VALID; in ut_bt_set_peer_features()
72 conn->llcp.fex.features_peer = features; in ut_bt_set_peer_features()
/Zephyr-latest/tests/bluetooth/controller/ctrl_tx_buffer_alloc/src/
Dmain.c73 conn[j].llcp.tx_buffer_alloc = 0; in ZTEST()
80 zassert_equal(conn[0].llcp.tx_buffer_alloc, i + 1); in ZTEST()
89 zassert_equal(conn[0].llcp.tx_buffer_alloc, in ZTEST()
107 zassert_equal(conn[j].llcp.tx_buffer_alloc, i + 1); in ZTEST()
117 zassert_equal(conn[0].llcp.tx_buffer_alloc, CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM + in ZTEST()
128 zassert_equal(conn[0].llcp.tx_buffer_alloc, in ZTEST()
137 zassert_equal(conn[0].llcp.tx_buffer_alloc, CONFIG_BT_CTLR_LLCP_PER_CONN_TX_CTRL_BUF_NUM + in ZTEST()
145 zassert_true(!(conn[2].llcp.tx_buffer_alloc < in ZTEST()
150 zassert_true((conn[2].llcp.tx_buffer_alloc < in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/tests_scripts/
Dll.set1.llcp.test_list30 #LL/CON/CEN/BI-06-C # This test implementation is not valid, and will fail with refactored LLCP
43 #LL/CON/CEN/BV-26-C # This test case is not valid, and will fail with refactored LLCP
55 #LL/CON/PER/BI-08-C # This test implementation is not valid, and will fail with refactored LLCP
Dhci.llcp.sh9 export TEST_FILE=${CWD}"/hci.llcp.test_list"
Dgap.llcp.sh9 export TEST_FILE=${CWD}"/gap.llcp.test_list"
Dll.1.llcp.sh10 export TEST_FILE=${CWD}"/ll.set1.llcp.test_list"
Dll.2.llcp.sh10 export TEST_FILE=${CWD}"/ll.set2.llcp.test_list"
Dgap.llcp.test_list29 #GAP/CONN/CPUP/BV-03-C # This test implementation is not valid, and will fail with refactored LLCP
31 #GAP/CONN/CPUP/BV-05-C # This test implementation is not valid, and will fail with refactored LLCP
Dgatt.llcp.sh19 -T gatt_verification -C "${CWD}/gatt.llcp.test_list" -v=${VERBOSITY_LEVEL} \
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/
Dprj_past.conf22 # Increase buffer size to get whole LLCP message sent in one
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/hci_test_app/
Dprj_tst_llcp.conf22 # LLCP Refactored controller does not support Advanced Scheduling yet
Dprj_dut_llcp.conf24 # LLCP Refactored controller does not support Advanced Scheduling yet
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c263 conn_from_pool->llcp.fex.features_used = 0x00; in ZTEST()
264 conn_from_pool->llcp.fex.valid = 1; in ZTEST()
268 conn_from_pool->llcp.fex.features_used = 0xFFFF; in ZTEST()
313 conn_from_pool->llcp.fex.features_used = 0x00; in ZTEST()
316 conn_from_pool->llcp.fex.features_used = 0xFFFFFFFF; in ZTEST()
403 conn_from_pool->llcp.fex.features_used |= BIT64(BT_LE_FEAT_BIT_CONN_PARAM_REQ); in ZTEST()
408 conn_from_pool->llcp.fex.features_used &= ~BIT64(BT_LE_FEAT_BIT_CONN_PARAM_REQ); in ZTEST()
415 conn_from_pool->llcp.fex.features_used |= BIT64(BT_LE_FEAT_BIT_CONN_PARAM_REQ); in ZTEST()
422 conn_from_pool->llcp.fex.features_used |= BIT64(BT_LE_FEAT_BIT_CONN_PARAM_REQ); in ZTEST()
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-ctlr-arch.rst147 - HCI/LLCP API
153 * LLCP main state machine entry/tick'er
157 * LLCP tx ack handling and PDU reception
165 * Main LLCP data store
167 * Holds local and remote procedure request queues as well as conn specific LLCP data
183 LLCP local and remote request/procedure state machines
217 * Table new_proc_lut[] maps LLCP PDUs to procedures/roles used in llcp_rr_new()
/Zephyr-latest/tests/bluetooth/controller/ctrl_api/src/
Dmain.c484 memset(&conn.llcp, 0xAA, sizeof(conn.llcp)); in ZTEST()
488 zassert_equal(conn.llcp.local.pause, 0); in ZTEST()
489 zassert_equal(conn.llcp.remote.pause, 0); in ZTEST()
510 peek_ctx = (struct proc_ctx *)sys_slist_peek_head(&conn.llcp.local.pend_proc_list); in ZTEST()
544 peek_ctx = (struct proc_ctx *)sys_slist_peek_head(&conn.llcp.remote.pend_proc_list); in ZTEST()

123