Lines Matching full:struct
8 struct llcp_mem_pool {
73 struct llcp_enc {
124 struct {
133 struct proc_ctx {
138 struct llcp_mem_pool *owner;
173 struct {
177 struct node_tx *tx_ack;
179 struct node_rx_pdu *rx;
181 struct node_tx *tx;
187 struct {
192 struct {
200 struct llcp_enc enc;
205 struct {
213 struct node_rx_pdu *ntf_dle_node;
223 struct {
229 struct {
248 struct {
253 struct {
259 struct {
264 struct llcp_df_cte_remote_rsp {
271 struct llcp_df_cte_remote_req {
276 struct {
310 struct {
316 struct {
323 struct {
324 struct pdu_adv_sync_info sync_info;
348 struct {
352 struct {
438 struct node_rx_pdu *llcp_ntf_alloc(void);
439 struct proc_ctx *llcp_create_local_procedure(enum llcp_proc proc);
440 struct proc_ctx *llcp_create_remote_procedure(enum llcp_proc proc);
441 void llcp_nodes_release(struct ll_conn *conn, struct proc_ctx *ctx);
442 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx);
443 void llcp_tx_alloc_unpeek(struct proc_ctx *ctx);
444 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx);
445 void llcp_proc_ctx_release(struct proc_ctx *ctx);
446 void llcp_ntf_set_pending(struct ll_conn *conn);
447 void llcp_ntf_clear_pending(struct ll_conn *conn);
448 bool llcp_ntf_pending(struct ll_conn *conn);
449 void llcp_rx_node_retain(struct proc_ctx *ctx);
450 void llcp_rx_node_release(struct proc_ctx *ctx);
455 void llcp_tx_enqueue(struct ll_conn *conn, struct node_tx *tx);
456 void llcp_tx_pause_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask pause_mask);
457 void llcp_tx_resume_data(struct ll_conn *conn, enum llcp_tx_q_pause_data_mask resume_mask);
462 void llcp_lr_prt_restart(struct ll_conn *conn);
463 void llcp_lr_prt_restart_with_value(struct ll_conn *conn, uint16_t value);
464 void llcp_lr_prt_stop(struct ll_conn *conn);
465 void llcp_rr_prt_restart(struct ll_conn *conn);
466 void llcp_rr_prt_stop(struct ll_conn *conn);
471 void llcp_lp_comm_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, struct node_tx *tx);
472 void llcp_lp_comm_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
473 void llcp_lp_comm_init_proc(struct proc_ctx *ctx);
474 void llcp_lp_comm_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
479 void llcp_rp_comm_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, struct node_tx *tx);
480 void llcp_rp_comm_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
481 void llcp_rp_comm_init_proc(struct proc_ctx *ctx);
482 void llcp_rp_comm_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
488 void llcp_lp_enc_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
489 void llcp_lp_enc_init_proc(struct proc_ctx *ctx);
490 void llcp_lp_enc_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
495 void llcp_rp_enc_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
496 void llcp_rp_enc_init_proc(struct proc_ctx *ctx);
497 void llcp_rp_enc_ltk_req_reply(struct ll_conn *conn, struct proc_ctx *ctx);
498 void llcp_rp_enc_ltk_req_neg_reply(struct ll_conn *conn, struct proc_ctx *ctx);
499 bool llcp_rp_enc_ltk_req_reply_allowed(struct ll_conn *conn, struct proc_ctx *ctx);
500 void llcp_rp_enc_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
508 void llcp_lp_pu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
509 void llcp_lp_pu_init_proc(struct proc_ctx *ctx);
510 void llcp_lp_pu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
511 void llcp_lp_pu_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
512 void llcp_lp_pu_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
513 bool llcp_lp_pu_awaiting_instant(struct proc_ctx *ctx);
519 void llcp_lp_cu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
520 void llcp_lp_cu_init_proc(struct proc_ctx *ctx);
521 void llcp_lp_cu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
522 bool llcp_lp_cu_awaiting_instant(struct proc_ctx *ctx);
527 void llcp_lp_chmu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
528 void llcp_lp_chmu_init_proc(struct proc_ctx *ctx);
529 void llcp_lp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
530 bool llcp_lp_chmu_awaiting_instant(struct proc_ctx *ctx);
536 void llcp_rp_pu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
537 void llcp_rp_pu_init_proc(struct proc_ctx *ctx);
538 void llcp_rp_pu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
539 void llcp_rp_pu_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
540 void llcp_rp_pu_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
541 bool llcp_rp_pu_awaiting_instant(struct proc_ctx *ctx);
547 void llcp_rp_cu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
548 void llcp_rp_cu_init_proc(struct proc_ctx *ctx);
549 void llcp_rp_cu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
550 void llcp_rp_conn_param_req_reply(struct ll_conn *conn, struct proc_ctx *ctx);
551 void llcp_rp_conn_param_req_neg_reply(struct ll_conn *conn, struct proc_ctx *ctx);
552 bool llcp_rp_conn_param_req_apm_awaiting_reply(struct proc_ctx *ctx);
553 void llcp_rp_conn_param_req_apm_reply(struct ll_conn *conn, struct proc_ctx *ctx);
554 bool llcp_rp_cu_awaiting_instant(struct proc_ctx *ctx);
559 void llcp_pdu_encode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
560 void llcp_pdu_decode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
565 struct proc_ctx *llcp_lr_peek(struct ll_conn *conn);
566 struct proc_ctx *llcp_lr_peek_proc(struct ll_conn *conn, uint8_t proc);
567 bool llcp_lr_ispaused(struct ll_conn *conn);
568 void llcp_lr_pause(struct ll_conn *conn);
569 void llcp_lr_resume(struct ll_conn *conn);
570 void llcp_lr_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, struct node_tx *tx);
571 void llcp_lr_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
572 void llcp_lr_rx(struct ll_conn *conn, struct proc_ctx *ctx, memq_link_t *link,
573 struct node_rx_pdu *rx);
574 void llcp_lr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx);
575 void llcp_lr_init(struct ll_conn *conn);
576 void llcp_lr_run(struct ll_conn *conn);
577 void llcp_lr_complete(struct ll_conn *conn);
578 void llcp_lr_connect(struct ll_conn *conn);
579 void llcp_lr_disconnect(struct ll_conn *conn);
580 void llcp_lr_terminate(struct ll_conn *conn);
581 void llcp_lr_check_done(struct ll_conn *conn, struct proc_ctx *ctx);
586 void llcp_rr_set_incompat(struct ll_conn *conn, enum proc_incompat incompat);
587 bool llcp_rr_get_collision(struct ll_conn *conn);
588 void llcp_rr_set_paused_cmd(struct ll_conn *conn, enum llcp_proc);
589 enum llcp_proc llcp_rr_get_paused_cmd(struct ll_conn *conn);
590 struct proc_ctx *llcp_rr_peek(struct ll_conn *conn);
591 bool llcp_rr_ispaused(struct ll_conn *conn);
592 void llcp_rr_pause(struct ll_conn *conn);
593 void llcp_rr_resume(struct ll_conn *conn);
594 void llcp_rr_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, struct node_tx *tx);
595 void llcp_rr_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx);
596 void llcp_rr_rx(struct ll_conn *conn, struct proc_ctx *ctx, memq_link_t *link,
597 struct node_rx_pdu *rx);
598 void llcp_rr_init(struct ll_conn *conn);
599 void llcp_rr_prepare(struct ll_conn *conn, struct node_rx_pdu *rx);
600 void llcp_rr_run(struct ll_conn *conn);
601 void llcp_rr_complete(struct ll_conn *conn);
602 void llcp_rr_connect(struct ll_conn *conn);
603 void llcp_rr_disconnect(struct ll_conn *conn);
604 void llcp_rr_terminate(struct ll_conn *conn);
605 void llcp_rr_new(struct ll_conn *conn, memq_link_t *link, struct node_rx_pdu *rx,
607 void llcp_rr_check_done(struct ll_conn *conn, struct proc_ctx *ctx);
613 void llcp_pdu_encode_ping_req(struct pdu_data *pdu);
614 void llcp_pdu_encode_ping_rsp(struct pdu_data *pdu);
620 void llcp_pdu_encode_unknown_rsp(struct proc_ctx *ctx,
621 struct pdu_data *pdu);
622 void llcp_pdu_decode_unknown_rsp(struct proc_ctx *ctx,
623 struct pdu_data *pdu);
624 void llcp_ntf_encode_unknown_rsp(struct proc_ctx *ctx,
625 struct pdu_data *pdu);
630 void llcp_pdu_encode_feature_req(struct ll_conn *conn,
631 struct pdu_data *pdu);
632 void llcp_pdu_encode_feature_rsp(struct ll_conn *conn,
633 struct pdu_data *pdu);
634 void llcp_ntf_encode_feature_rsp(struct ll_conn *conn,
635 struct pdu_data *pdu);
636 void llcp_ntf_encode_feature_req(struct ll_conn *conn,
637 struct pdu_data *pdu);
638 void llcp_pdu_decode_feature_req(struct ll_conn *conn,
639 struct pdu_data *pdu);
640 void llcp_pdu_decode_feature_rsp(struct ll_conn *conn,
641 struct pdu_data *pdu);
648 void llcp_pdu_encode_min_used_chans_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
652 void llcp_pdu_decode_min_used_chans_ind(struct ll_conn *conn, struct pdu_data *pdu);
659 void llcp_pdu_encode_version_ind(struct pdu_data *pdu);
660 void llcp_ntf_encode_version_ind(struct ll_conn *conn, struct pdu_data *pdu);
661 void llcp_pdu_decode_version_ind(struct ll_conn *conn, struct pdu_data *pdu);
668 void llcp_pdu_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu);
672 void llcp_ntf_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu);
673 void llcp_pdu_encode_enc_rsp(struct pdu_data *pdu);
674 void llcp_pdu_encode_start_enc_req(struct pdu_data *pdu);
677 void llcp_pdu_encode_start_enc_rsp(struct pdu_data *pdu);
680 void llcp_pdu_encode_pause_enc_req(struct pdu_data *pdu);
683 void llcp_pdu_encode_pause_enc_rsp(struct pdu_data *pdu);
686 void llcp_pdu_encode_reject_ind(struct pdu_data *pdu, uint8_t error_code);
687 void llcp_pdu_encode_reject_ext_ind(struct pdu_data *pdu, uint8_t reject_opcode,
689 void llcp_pdu_decode_reject_ext_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
690 void llcp_ntf_encode_reject_ext_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
695 void llcp_pdu_encode_phy_req(struct proc_ctx *ctx, struct pdu_data *pdu);
696 void llcp_pdu_decode_phy_req(struct proc_ctx *ctx, struct pdu_data *pdu);
699 void llcp_pdu_encode_phy_rsp(struct ll_conn *conn, struct pdu_data *pdu);
700 void llcp_pdu_decode_phy_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
704 void llcp_pdu_encode_phy_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
705 void llcp_pdu_decode_phy_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
711 void llcp_pdu_encode_conn_param_req(struct proc_ctx *ctx, struct pdu_data *pdu);
712 void llcp_pdu_decode_conn_param_req(struct proc_ctx *ctx, struct pdu_data *pdu);
713 void llcp_pdu_encode_conn_param_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
714 void llcp_pdu_decode_conn_param_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
715 void llcp_pdu_encode_conn_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
716 void llcp_pdu_decode_conn_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
721 void llcp_pdu_encode_chan_map_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
722 void llcp_pdu_decode_chan_map_update_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
723 void llcp_rp_chmu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
724 void llcp_rp_chmu_init_proc(struct proc_ctx *ctx);
725 void llcp_rp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
726 bool llcp_rp_chmu_awaiting_instant(struct proc_ctx *ctx);
732 void llcp_pdu_encode_length_req(struct ll_conn *conn, struct pdu_data *pdu);
733 void llcp_pdu_encode_length_rsp(struct ll_conn *conn, struct pdu_data *pdu);
734 void llcp_pdu_decode_length_req(struct ll_conn *conn, struct pdu_data *pdu);
735 void llcp_pdu_decode_length_rsp(struct ll_conn *conn, struct pdu_data *pdu);
736 void llcp_ntf_encode_length_change(struct ll_conn *conn,
737 struct pdu_data *pdu);
745 void llcp_pdu_encode_clock_accuracy_req(struct proc_ctx *ctx, struct pdu_data *pdu);
746 void llcp_pdu_encode_clock_accuracy_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
747 void llcp_pdu_decode_clock_accuracy_req(struct proc_ctx *ctx, struct pdu_data *pdu);
748 void llcp_pdu_decode_clock_accuracy_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
756 void llcp_pdu_encode_cte_req(struct proc_ctx *ctx, struct pdu_data *pdu);
757 void llcp_pdu_decode_cte_rsp(struct proc_ctx *ctx, const struct pdu_data *pdu);
758 void llcp_ntf_encode_cte_req(struct pdu_data *pdu);
765 void llcp_pdu_decode_cte_req(struct proc_ctx *ctx, struct pdu_data *pdu);
766 void llcp_pdu_encode_cte_rsp(const struct proc_ctx *ctx, struct pdu_data *pdu);
769 void llcp_lp_cc_init_proc(struct proc_ctx *ctx);
770 void llcp_lp_cc_offset_calc_reply(struct ll_conn *conn, struct proc_ctx *ctx);
771 void llcp_lp_cc_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
772 void llcp_lp_cc_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
773 bool llcp_lp_cc_is_active(struct proc_ctx *ctx);
774 bool llcp_lp_cc_awaiting_established(struct proc_ctx *ctx);
775 void llcp_lp_cc_established(struct ll_conn *conn, struct proc_ctx *ctx);
776 bool llcp_lp_cc_cancel(struct ll_conn *conn, struct proc_ctx *ctx);
778 void llcp_rp_cc_init_proc(struct proc_ctx *ctx);
779 void llcp_rp_cc_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
780 void llcp_rp_cc_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
781 bool llcp_rp_cc_awaiting_reply(struct proc_ctx *ctx);
782 bool llcp_rp_cc_awaiting_established(struct proc_ctx *ctx);
783 void llcp_rp_cc_accept(struct ll_conn *conn, struct proc_ctx *ctx);
784 void llcp_rp_cc_reject(struct ll_conn *conn, struct proc_ctx *ctx);
785 bool llcp_rp_cc_awaiting_instant(struct proc_ctx *ctx);
786 void llcp_rp_cc_established(struct ll_conn *conn, struct proc_ctx *ctx);
788 void llcp_pdu_decode_cis_req(struct proc_ctx *ctx, struct pdu_data *pdu);
789 void llcp_pdu_encode_cis_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
790 void llcp_pdu_decode_cis_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
791 void llcp_pdu_encode_cis_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
792 void llcp_pdu_decode_cis_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
793 void llcp_pdu_encode_cis_req(struct proc_ctx *ctx, struct pdu_data *pdu);
794 void llcp_pdu_encode_cis_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
795 void llcp_pdu_decode_cis_rsp(struct proc_ctx *ctx, struct pdu_data *pdu);
802 void llcp_pdu_fill_sync_info_offset(struct pdu_adv_sync_info *si, uint32_t offset_us);
803 void llcp_pdu_encode_periodic_sync_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
804 void llcp_lp_past_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
805 void llcp_lp_past_tx_ack(struct ll_conn *conn, struct proc_ctx *ctx, struct node_tx *tx);
806 void llcp_lp_past_conn_evt_done(struct ll_conn *conn, struct proc_ctx *ctx);
807 void llcp_lp_past_offset_calc_reply(struct ll_conn *conn, struct proc_ctx *ctx);
810 void llcp_pdu_decode_periodic_sync_ind(struct proc_ctx *ctx, struct pdu_data *pdu);
811 void llcp_rp_past_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param);
812 void llcp_rp_past_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx);
816 bool llcp_lr_is_disconnected(struct ll_conn *conn);
817 bool llcp_lr_is_idle(struct ll_conn *conn);
818 struct proc_ctx *llcp_lr_dequeue(struct ll_conn *conn);
820 bool llcp_rr_is_disconnected(struct ll_conn *conn);
821 bool llcp_rr_is_idle(struct ll_conn *conn);
822 struct proc_ctx *llcp_rr_dequeue(struct ll_conn *conn);
823 void llcp_rr_enqueue(struct ll_conn *conn, struct proc_ctx *ctx);
829 struct proc_ctx *llcp_proc_ctx_acquire(void);
830 struct proc_ctx *llcp_create_procedure(enum llcp_proc proc);