Lines Matching refs:p_fcr
1939 tL2CAP_FCR_OPTS* p_fcr = &p_cfg->fcr; in l2c_fcr_adj_our_req_options() local
1941 if (p_fcr->mode != p_ccb->ertm_info.preferred_mode) { in l2c_fcr_adj_our_req_options()
1945 p_ccb->ertm_info.preferred_mode, p_fcr->mode); in l2c_fcr_adj_our_req_options()
1949 p_fcr->mode = p_ccb->ertm_info.preferred_mode; in l2c_fcr_adj_our_req_options()
1954 if (p_cfg->fcr_present && p_fcr->mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_adj_our_req_options()
1958 p_fcr->mode); in l2c_fcr_adj_our_req_options()
1960 p_fcr->mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_adj_our_req_options()
1991 if (p_fcr->mode == L2CAP_FCR_STREAM_MODE && in l2c_fcr_adj_our_req_options()
1995 p_fcr->mode = L2CAP_FCR_ERTM_MODE; in l2c_fcr_adj_our_req_options()
2000 if (p_fcr->mode == L2CAP_FCR_ERTM_MODE && in l2c_fcr_adj_our_req_options()
2004 p_fcr->mode = L2CAP_FCR_BASIC_MODE; in l2c_fcr_adj_our_req_options()
2008 if (p_fcr->mode != L2CAP_FCR_BASIC_MODE) { in l2c_fcr_adj_our_req_options()
2017 if (p_fcr->mps == L2CAP_DEFAULT_ERM_MPS) { in l2c_fcr_adj_our_req_options()
2018 p_fcr->mps = L2CAP_MPS_OVER_BR_EDR; in l2c_fcr_adj_our_req_options()
2021 else if (p_fcr->mps > p_ccb->max_rx_mtu) { in l2c_fcr_adj_our_req_options()
2022 L2CAP_TRACE_WARNING("L2CAP - MPS %u invalid MTU: %u", p_fcr->mps, in l2c_fcr_adj_our_req_options()
2029 if (p_fcr->mps > (L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS)) in l2c_fcr_adj_our_req_options()
2030 p_fcr->mps = L2CAP_MTU_SIZE - L2CAP_MAX_HEADER_FCS; in l2c_fcr_adj_our_req_options()
2037 p_ccb->our_cfg.fcr = *p_fcr; in l2c_fcr_adj_our_req_options()