Lines Matching refs:peer_mtu
83 uint16_t peer_mtu; // MTU of the A2DP peer member
98 static void a2dp_aac_encoder_update(uint16_t peer_mtu,
136 a2dp_aac_encoder_cb.peer_mtu = p_peer_params->peer_mtu; in a2dp_aac_encoder_init()
149 a2dp_aac_encoder_update(a2dp_aac_encoder_cb.peer_mtu, a2dp_codec_config, in a2dp_aac_encoder_init()
158 a2dp_aac_encoder_cb.peer_mtu = p_peer_params->peer_mtu; in updateEncoderUserConfig()
161 if (a2dp_aac_encoder_cb.peer_mtu == 0) { in updateEncoderUserConfig()
169 a2dp_aac_encoder_update(a2dp_aac_encoder_cb.peer_mtu, this, p_restart_input, in updateEncoderUserConfig()
177 static void a2dp_aac_encoder_update(uint16_t peer_mtu, in a2dp_aac_encoder_update() argument
238 if (peer_mtu > MAX_2MBPS_AVDTP_MTU) { in a2dp_aac_encoder_update()
240 __func__, peer_mtu, MAX_2MBPS_AVDTP_MTU); in a2dp_aac_encoder_update()
241 peer_mtu = MAX_2MBPS_AVDTP_MTU; in a2dp_aac_encoder_update()
245 if (mtu_size < peer_mtu) { in a2dp_aac_encoder_update()
248 a2dp_aac_encoder_cb.TxAaMtuSize = peer_mtu; in a2dp_aac_encoder_update()
252 a2dp_aac_encoder_cb.TxAaMtuSize, peer_mtu); in a2dp_aac_encoder_update()