gfe-relnote: (n/a) In QUIC BBRv2, only update max bandwidth filter per ack event. Protected by existing flag --gfe2_reloadable_flag_quic_default_to_bbr_v2.
PiperOrigin-RevId: 259612475
Change-Id: I7684d92d2af3e9407f93bc52181219be38802c26
diff --git a/quic/core/congestion_control/bbr2_misc.h b/quic/core/congestion_control/bbr2_misc.h
index 08717a2..1b695e3 100644
--- a/quic/core/congestion_control/bbr2_misc.h
+++ b/quic/core/congestion_control/bbr2_misc.h
@@ -246,6 +246,9 @@
// QuicTime::Delta::Infinite() if acked_packets is empty.
QuicTime::Delta sample_min_rtt = QuicTime::Delta::Infinite();
+ // Maximum bandwidth of all bandwidth samples from acked_packets.
+ QuicBandwidth sample_max_bandwidth = QuicBandwidth::Zero();
+
// Send time state of the largest-numbered packet in this event.
// SendTimeState send_time_state;
struct {