• Home
  • Raw
  • Download

Lines Matching refs:lcb

117         llcp_cb.lcb.local_link_miu = LLCP_MIU;  in LLCP_SetConfig()
120 llcp_cb.lcb.local_link_miu = link_miu; in LLCP_SetConfig()
122 llcp_cb.lcb.local_opt = opt; in LLCP_SetConfig()
123 llcp_cb.lcb.local_wt = wt; in LLCP_SetConfig()
129 llcp_cb.lcb.local_lto = LLCP_DEFAULT_LTO_IN_MS; in LLCP_SetConfig()
135 llcp_cb.lcb.local_lto = LLCP_MAX_LTO_IN_MS; in LLCP_SetConfig()
138 llcp_cb.lcb.local_lto = link_timeout; in LLCP_SetConfig()
140 llcp_cb.lcb.inact_timeout_init = inact_timeout_init; in LLCP_SetConfig()
141 llcp_cb.lcb.inact_timeout_target = inact_timeout_target; in LLCP_SetConfig()
142 llcp_cb.lcb.symm_delay = symm_delay; in LLCP_SetConfig()
143 llcp_cb.lcb.data_link_timeout = data_link_timeout; in LLCP_SetConfig()
144 llcp_cb.lcb.delay_first_pdu_timeout = delay_first_pdu_timeout; in LLCP_SetConfig()
175 *p_link_miu = llcp_cb.lcb.local_link_miu; in LLCP_GetConfig()
176 *p_opt = llcp_cb.lcb.local_opt; in LLCP_GetConfig()
177 *p_wt = llcp_cb.lcb.local_wt; in LLCP_GetConfig()
178 *p_link_timeout = llcp_cb.lcb.local_lto; in LLCP_GetConfig()
179 *p_inact_timeout_init = llcp_cb.lcb.inact_timeout_init; in LLCP_GetConfig()
180 *p_inact_timeout_target = llcp_cb.lcb.inact_timeout_target; in LLCP_GetConfig()
181 *p_symm_delay = llcp_cb.lcb.symm_delay; in LLCP_GetConfig()
182 *p_data_link_timeout = llcp_cb.lcb.data_link_timeout; in LLCP_GetConfig()
183 *p_delay_first_pdu_timeout = llcp_cb.lcb.delay_first_pdu_timeout; in LLCP_GetConfig()
230 *p_wt = llcp_cb.lcb.local_wt; in LLCP_GetDiscoveryConfig()
243 UINT16_TO_BE_STREAM (p, (llcp_cb.lcb.local_link_miu - LLCP_DEFAULT_MIU)); in LLCP_GetDiscoveryConfig()
249 UINT16_TO_BE_STREAM (p, llcp_cb.lcb.wks); in LLCP_GetDiscoveryConfig()
262 UINT16_TO_BE_STREAM (p, (llcp_cb.lcb.local_link_miu - LLCP_DEFAULT_MIU)); in LLCP_GetDiscoveryConfig()
266 UINT16_TO_BE_STREAM (p, llcp_cb.lcb.wks); in LLCP_GetDiscoveryConfig()
271 UINT8_TO_BE_STREAM (p, (llcp_cb.lcb.local_lto/LLCP_LTO_UNIT)); in LLCP_GetDiscoveryConfig()
275 UINT8_TO_BE_STREAM (p, llcp_cb.lcb.local_opt); in LLCP_GetDiscoveryConfig()
297 LLCP_TRACE_API1 ("LLCP_ActivateLink () link_state = %d", llcp_cb.lcb.link_state); in LLCP_ActivateLink()
299 if ( (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATED) in LLCP_ActivateLink()
302 llcp_cb.lcb.p_link_cback = p_link_cback; in LLCP_ActivateLink()
323 LLCP_TRACE_API1 ("LLCP_DeactivateLink () link_state = %d", llcp_cb.lcb.link_state); in LLCP_DeactivateLink()
325 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_DEACTIVATED) in LLCP_DeactivateLink()
469 llcp_cb.lcb.wks |= (1 << reg_sap); in LLCP_RegisterServer()
581 llcp_cb.lcb.wks &= ~ (1 << local_sap); in LLCP_Deregister()
641 if ( (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) in LLCP_IsLogicalLinkCongested()
693 else if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) in LLCP_SendUI()
697 else if ( (llcp_cb.lcb.peer_opt == LLCP_LSC_UNKNOWN) in LLCP_SendUI()
698 ||(llcp_cb.lcb.peer_opt & LLCP_LSC_1) ) in LLCP_SendUI()
700 if (p_buf->len <= llcp_cb.lcb.peer_miu) in LLCP_SendUI()
915 if ( (llcp_cb.lcb.peer_opt != LLCP_LSC_UNKNOWN) in LLCP_ConnectReq()
916 &&((llcp_cb.lcb.peer_opt & LLCP_LSC_2) == 0) ) in LLCP_ConnectReq()
956 if ((p_params) && (p_params->miu > llcp_cb.lcb.local_link_miu)) in LLCP_ConnectReq()
1023 if (p_params->miu > llcp_cb.lcb.local_link_miu) in LLCP_ConnectCfm()
1504 … (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) ? llcp_cb.lcb.peer_wks :0); in LLCP_GetRemoteWKS()
1506 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteWKS()
1507 return (llcp_cb.lcb.peer_wks); in LLCP_GetRemoteWKS()
1525 (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
1526 ? llcp_cb.lcb.peer_opt & (LLCP_LSC_1 | LLCP_LSC_2) :0); in LLCP_GetRemoteLSC()
1528 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
1529 return (llcp_cb.lcb.peer_opt & (LLCP_LSC_1 | LLCP_LSC_2)); in LLCP_GetRemoteLSC()
1547 (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteVersion()
1548 ? llcp_cb.lcb.peer_version : 0); in LLCP_GetRemoteVersion()
1550 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteVersion()
1551 return (llcp_cb.lcb.peer_version); in LLCP_GetRemoteVersion()
1571 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetLinkMIU()
1573 *p_local_link_miu = llcp_cb.lcb.local_link_miu; in LLCP_GetLinkMIU()
1574 *p_remote_link_miu = llcp_cb.lcb.effective_miu; in LLCP_GetLinkMIU()
1606 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) in LLCP_DiscoverService()
1619 if ((llcp_cb.lcb.agreed_major_version == 0x01) && (llcp_cb.lcb.agreed_minor_version < 0x01)) in LLCP_DiscoverService()