Lines Matching defs:llcp_cb
36 tLLCP_CB llcp_cb;
53 memset (&llcp_cb, 0, sizeof (tLLCP_CB));
55 llcp_cb.trace_level = LLCP_INITIAL_TRACE_LEVEL;
59 llcp_cb.lcb.local_link_miu = (LLCP_MIU <= LLCP_MAX_MIU ? LLCP_MIU : LLCP_MAX_MIU);
60 llcp_cb.lcb.local_opt = LLCP_OPT_VALUE;
61 llcp_cb.lcb.local_wt = LLCP_WAITING_TIME;
62 llcp_cb.lcb.local_lto = LLCP_LTO_VALUE;
64 llcp_cb.lcb.inact_timeout_init = LLCP_INIT_INACTIVITY_TIMEOUT;
65 llcp_cb.lcb.inact_timeout_target = LLCP_TARGET_INACTIVITY_TIMEOUT;
66 llcp_cb.lcb.symm_delay = LLCP_DELAY_RESP_TIME;
67 llcp_cb.lcb.data_link_timeout = LLCP_DATA_LINK_CONNECTION_TOUT;
68 llcp_cb.lcb.delay_first_pdu_timeout = LLCP_DELAY_TIME_TO_SEND_FIRST_PDU;
70 llcp_cb.lcb.wks = LLCP_WKS_MASK_LM;
76 llcp_cb.num_rx_buff = (pool_count * LLCP_RX_BUFF_RATIO) / 100;
79 llcp_cb.overall_rx_congest_start = (UINT8) ((llcp_cb.num_rx_buff * LLCP_RX_CONGEST_START) / 100);
80 llcp_cb.overall_rx_congest_end = (UINT8) ((llcp_cb.num_rx_buff * LLCP_RX_CONGEST_END) / 100);
83 llcp_cb.max_num_ll_rx_buff = (UINT8) ((llcp_cb.num_rx_buff * LLCP_LL_RX_BUFF_LIMIT) / 100);
86 llcp_cb.num_rx_buff, llcp_cb.overall_rx_congest_start,
87 llcp_cb.overall_rx_congest_end, llcp_cb.max_num_ll_rx_buff);
90 llcp_cb.max_num_tx_buff = (UINT8) (pool_count - llcp_cb.num_rx_buff);
93 llcp_cb.max_num_ll_tx_buff = (UINT8) ((llcp_cb.max_num_tx_buff * LLCP_LL_TX_BUFF_LIMIT) / 100);
96 llcp_cb.max_num_tx_buff, llcp_cb.max_num_ll_tx_buff);
98 llcp_cb.ll_tx_uncongest_ntf_start_sap = LLCP_SAP_SDP + 1;
130 nfc_stop_quick_timer (&llcp_cb.lcb.inact_timer);
131 nfc_stop_quick_timer (&llcp_cb.lcb.timer);
188 llcp_cb.trace_level = new_level;
190 return (llcp_cb.trace_level);