Loading system/bta/av/bta_av_aact.cc +2 −2 Original line number Diff line number Diff line Loading @@ -1330,8 +1330,8 @@ void bta_av_str_opened(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) { p_scb->l2c_cid, p_scb->stream_mtu, mtu); if (mtu == 0 || mtu > p_scb->stream_mtu) mtu = p_scb->stream_mtu; /* Set the media channel as medium priority */ L2CA_SetTxPriority(p_scb->l2c_cid, L2CAP_CHNL_PRIORITY_MEDIUM); /* Set the media channel as high priority */ L2CA_SetTxPriority(p_scb->l2c_cid, L2CAP_CHNL_PRIORITY_HIGH); L2CA_SetChnlFlushability(p_scb->l2c_cid, true); bta_sys_conn_open(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); Loading system/stack/l2cap/l2c_utils.cc +6 −6 Original line number Diff line number Diff line Loading @@ -2390,14 +2390,14 @@ bool l2cu_set_acl_priority(const bt_bdaddr_t& bd_addr, uint8_t priority, BTM_VendorSpecificCommand(HCI_BRCM_SET_ACL_PRIORITY, HCI_BRCM_ACL_PRIORITY_PARAM_SIZE, command, NULL); } } /* Adjust lmp buffer allocation for this channel if priority changed */ if (p_lcb->acl_priority != priority) { p_lcb->acl_priority = priority; l2c_link_adjust_allocation(); } } } return (true); } Loading Loading
system/bta/av/bta_av_aact.cc +2 −2 Original line number Diff line number Diff line Loading @@ -1330,8 +1330,8 @@ void bta_av_str_opened(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data) { p_scb->l2c_cid, p_scb->stream_mtu, mtu); if (mtu == 0 || mtu > p_scb->stream_mtu) mtu = p_scb->stream_mtu; /* Set the media channel as medium priority */ L2CA_SetTxPriority(p_scb->l2c_cid, L2CAP_CHNL_PRIORITY_MEDIUM); /* Set the media channel as high priority */ L2CA_SetTxPriority(p_scb->l2c_cid, L2CAP_CHNL_PRIORITY_HIGH); L2CA_SetChnlFlushability(p_scb->l2c_cid, true); bta_sys_conn_open(BTA_ID_AV, p_scb->app_id, p_scb->peer_addr); Loading
system/stack/l2cap/l2c_utils.cc +6 −6 Original line number Diff line number Diff line Loading @@ -2390,14 +2390,14 @@ bool l2cu_set_acl_priority(const bt_bdaddr_t& bd_addr, uint8_t priority, BTM_VendorSpecificCommand(HCI_BRCM_SET_ACL_PRIORITY, HCI_BRCM_ACL_PRIORITY_PARAM_SIZE, command, NULL); } } /* Adjust lmp buffer allocation for this channel if priority changed */ if (p_lcb->acl_priority != priority) { p_lcb->acl_priority = priority; l2c_link_adjust_allocation(); } } } return (true); } Loading