Commit graph

1438 commits

Author SHA1 Message Date
Atlante45
065353eb6b Fix LossList::insert 2015-07-28 18:27:02 -07:00
Stephen Birarda
3b7d0ab62a make TODO a TODO 2015-07-28 18:21:00 -07:00
Stephen Birarda
e69cc2aae8 pass const ref LossList to CongestionControl 2015-07-28 18:20:37 -07:00
Atlante45
d31c237cc3 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 18:13:10 -07:00
Atlante45
b10396a169 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 18:13:02 -07:00
Stephen Birarda
dc65a2fe1a use user defined RTO for timeout (if defined) 2015-07-28 18:11:21 -07:00
Atlante45
b5b7fa8504 SendQueue uses LossList 2015-07-28 18:08:02 -07:00
Stephen Birarda
b9b4245dfe NAK interval is in microseconds 2015-07-28 18:05:42 -07:00
Stephen Birarda
cb134f4685 remove onPacketSent and onPacketReceived from CC, use setRTT 2015-07-28 18:04:18 -07:00
Stephen Birarda
0e0968f748 initial support to get CongestionControl down to Connection 2015-07-28 17:58:49 -07:00
Atlante45
5d1c0f6935 Added pop to loss list 2015-07-28 17:56:11 -07:00
Atlante45
1df657c359 Added insert function to LossList 2015-07-28 17:39:05 -07:00
Stephen Birarda
988bd226ca change SendQueue timing to use usleep and std::chrono 2015-07-28 17:16:20 -07:00
Stephen Birarda
05d9845077 add counting of total control packets sent/received 2015-07-28 17:01:13 -07:00
Stephen Birarda
74b0fa7e87 use microseconds for intervals, setup timeout NAKs 2015-07-28 16:43:21 -07:00
Stephen Birarda
09a497a59b add default interval values for PacketTimeWindow 2015-07-28 16:23:10 -07:00
Atlante45
64e1281d47 Restore const, make helper memebers mutable 2015-07-28 16:02:33 -07:00
Stephen Birarda
13568d3d69 add constants for RTT estimation calculations 2015-07-28 15:59:13 -07:00
Stephen Birarda
a49ad92d87 use a constant for the bounds for median filtering 2015-07-28 15:55:18 -07:00
Stephen Birarda
cfba300786 send an unreliable sequence number from Socket 2015-07-28 15:51:50 -07:00
Atlante45
8ebdb6d154 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 15:48:55 -07:00
Stephen Birarda
ba226d168d remove SeqNum since it is replaced by SequenceNumber 2015-07-28 15:48:37 -07:00
Atlante45
747f2b0c07 Remove seqcmp declaration 2015-07-28 15:48:35 -07:00
Stephen Birarda
65fa4c4e6d add the periodic rate control packet sending 2015-07-28 15:47:36 -07:00
Atlante45
c2c188c5dd Remove TODO 2015-07-28 15:46:26 -07:00
Atlante45
ffdd54d41f Make sendUnreliable take a non const 2015-07-28 15:42:53 -07:00
Atlante45
121b9738a1 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 15:33:42 -07:00
Atlante45
24520c5856 LNL send cleanup / Added connection hash 2015-07-28 15:32:00 -07:00
Stephen Birarda
b0147144cb fix for comment for PacketTimeWindow 2015-07-28 15:25:08 -07:00
Stephen Birarda
cf30426636 add a PacketTimeWindow to estimate bandwidth and report speed 2015-07-28 15:21:17 -07:00
Stephen Birarda
937e46abf2 add path to header for LossList 2015-07-28 14:28:19 -07:00
Stephen Birarda
e3e8219c11 add some comments to help understand the RTT calculation 2015-07-28 14:20:51 -07:00
Atlante45
f53637f19e Added SendQueue::getNextSeqNum 2015-07-28 14:16:09 -07:00
Stephen Birarda
b6bdcadd33 make updateRTT take an int 2015-07-28 14:02:13 -07:00
Atlante45
8a474ac20a Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 14:01:21 -07:00
Atlante45
ca99699674 Implement Packet::setSequenceNumber 2015-07-28 14:00:59 -07:00
Stephen Birarda
c17f4b8991 add a missing bracket, comment for processACK 2015-07-28 13:58:21 -07:00
Atlante45
71004ef519 Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 13:50:15 -07:00
Stephen Birarda
f885fbad8c remove sequence numbers from _naks in SendQueue 2015-07-28 13:49:11 -07:00
Atlante45
f0bb71b519 Change Packet read/write fcts 2015-07-28 13:48:20 -07:00
Stephen Birarda
00fdcf3133 fix a comment that reference SequenceNumber 2015-07-28 13:44:26 -07:00
Stephen Birarda
f45b36c9ec resolve conflicts on merge with clement/protocol 2015-07-28 13:40:50 -07:00
Stephen Birarda
606356cdcf rename SeqNum to SequenceNumber 2015-07-28 13:39:19 -07:00
Stephen Birarda
45f6a984af add a comment to SendQueue ack 2015-07-28 13:28:58 -07:00
Stephen Birarda
a8371cc3ed send the actual sequence number being ACKed 2015-07-28 13:28:01 -07:00
Stephen Birarda
0b8feed327 add a map of sentACKs for ACK2 processing 2015-07-28 13:01:35 -07:00
Stephen Birarda
155d339c2f remove RTT variance that isn't handled 2015-07-28 11:53:40 -07:00
Stephen Birarda
c7ae4d5e59 implement more of processACK in Connection 2015-07-28 11:47:57 -07:00
Atlante45
c3995a6e23 Fix LossList length not cumputed 2015-07-28 11:30:50 -07:00
Atlante45
cc4347ef6e Merge branch 'atp' of https://github.com/birarda/hifi into protocol 2015-07-28 10:37:53 -07:00