Lines Matching refs:p_fcr

1909   tL2CAP_FCR_OPTS* p_fcr = &p_cfg->fcr;  in l2c_fcr_adj_our_req_options()  local
1911 if (p_fcr->mode != p_ccb->ertm_info.preferred_mode) { in l2c_fcr_adj_our_req_options()
1915 p_ccb->ertm_info.preferred_mode, p_fcr->mode); in l2c_fcr_adj_our_req_options()
1919 p_fcr->mode = p_ccb->ertm_info.preferred_mode; in l2c_fcr_adj_our_req_options()
1924 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_adj_our_req_options()
1928 p_fcr->mode); in l2c_fcr_adj_our_req_options()
1930 p_fcr->mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_adj_our_req_options()
1961 if (p_fcr->mode == L2CAP_FCR_STREAM_MODE) { in l2c_fcr_adj_our_req_options()
1963 p_fcr->mode = L2CAP_FCR_ERTM_MODE; in l2c_fcr_adj_our_req_options()
1968 if (p_fcr->mode == L2CAP_FCR_ERTM_MODE && in l2c_fcr_adj_our_req_options()
1972 p_fcr->mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_adj_our_req_options()
1976 if (p_fcr->mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_adj_our_req_options()
1985 if (p_fcr->mps == L2CAP_DEFAULT_ERM_MPS) { in l2c_fcr_adj_our_req_options()
1986 p_fcr->mps = L2CAP_MPS_OVER_BR_EDR; in l2c_fcr_adj_our_req_options()
1989 else if (p_fcr->mps > p_ccb->max_rx_mtu) { in l2c_fcr_adj_our_req_options()
1990 L2CAP_TRACE_WARNING("L2CAP - MPS %u invalid MTU: %u", p_fcr->mps, in l2c_fcr_adj_our_req_options()
1997 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options()
1998 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options()
2005 p_ccb->our_cfg.fcr = *p_fcr; in l2c_fcr_adj_our_req_options()