Lines Matching refs:llcp_cb

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