D | l2cap_performance_test.py | 38 def _basic_mode_tx(self, mtu, packets): argument 46 for _ in range(packets): 49 L2capMatchers.Data(b'a' * mtu), at_least_times=packets, timeout=timedelta(seconds=60)) 76 def _basic_mode_rx(self, mtu, packets): argument 83 for _ in range(packets): 86 … L2capMatchers.PacketPayloadRawData(data), at_least_times=packets, timeout=timedelta(seconds=60)) 92 def _ertm_mode_tx(self, mtu, packets, tx_window_size=10): argument 97 packets = packets // tx_window_size * tx_window_size 110 for i in range(packets): 123 def _ertm_mode_rx(self, mtu, packets, tx_window_size=10): argument [all …]
|