Commit Graph

1726 Commits

Author SHA1 Message Date
Mathieu Lacage
63331e705a replace a buggy assert with a check with warning. 2007-11-20 12:48:51 +01:00
Mathieu Lacage
6f447c2b6a merge with HEAD 2007-11-19 16:54:04 +01:00
Mathieu Lacage
f415e99a36 replace Dcf with DcfManager 2007-11-19 16:53:05 +01:00
Mathieu Lacage
b699ad9ae1 use a simple request/grant scheme for dcf accesses 2007-11-19 16:20:30 +01:00
Mathieu Lacage
632a762654 The AIFSN has been taken into account in GetBackoffStartFor 2007-11-19 14:32:14 +01:00
Mathieu Lacage
a4a3bc72fc test a backoff with an AIFSN != 1 2007-11-19 14:31:24 +01:00
Mathieu Lacage
b809739d8c avoid decrementing by too many backoff slots 2007-11-19 14:22:45 +01:00
Mathieu Lacage
7ad2a4c3f2 another DCF test 2007-11-19 14:20:19 +01:00
Mathieu Lacage
4c4332c88b debugging output is more verbose. 2007-11-19 12:58:36 +01:00
Mathieu Lacage
6c0ef59a30 add WifiPhy::GetLastRxStart 2007-11-19 09:22:17 +01:00
Mathieu Lacage
83714d4d03 make the GetCw method public to allow DcaTxop to pick a random backoff duration 2007-11-19 08:38:48 +01:00
Mathieu Lacage
7498ef647c merge with HEAD 2007-11-17 18:58:47 +01:00
Mathieu Lacage
321dfcf741 add XXX for two bugs 2007-11-17 18:57:33 +01:00
Mathieu Lacage
bdc6fcf5dd another more complex NAV test 2007-11-16 08:58:55 +01:00
Mathieu Lacage
50cd61e7c3 more comment on the test 2007-11-16 08:56:03 +01:00
Mathieu Lacage
125796fec7 simple NAV test 2007-11-16 08:54:16 +01:00
Mathieu Lacage
d1d0e1c732 merge with HEAD 2007-11-16 08:48:57 +01:00
Mathieu Lacage
820fd1c13a merge with HEAD 2007-11-16 08:47:17 +01:00
Gustavo J. A. M. Carneiro
11a58a55c3 Add a few NS_LOG_LOGIC calls in PacketSocket::SendTo () 2007-11-15 16:08:28 +00:00
Gustavo J. A. M. Carneiro
fc099a35ab Add DropTailQueue unit tests. 2007-11-15 15:42:07 +00:00
Mathieu Lacage
f992fe0b8d test internal collisions. 2007-11-15 16:34:53 +01:00
Mathieu Lacage
ac99f9e46c we need to accumulate a record of all changes before applying them in one go. 2007-11-15 16:34:41 +01:00
Mathieu Lacage
225df7593f backoff end time is never in the past. 2007-11-15 16:23:26 +01:00
Mathieu Lacage
5ecad32251 if the backoff end is now, the backoff is expired. 2007-11-15 14:50:27 +01:00
Mathieu Lacage
cfd44fc50c even if an access timer is running, we need to start a backoff if needed 2007-11-15 14:42:16 +01:00
Mathieu Lacage
20f47863bf ignore cwmin/cwmax parameters since we set the backoff slots for every collision. 2007-11-15 14:29:06 +01:00
Mathieu Lacage
c6cfbd4e8c test interupted eifs 2007-11-15 14:26:40 +01:00
Mathieu Lacage
8422056873 more working tests. 2007-11-15 14:23:01 +01:00
Mathieu Lacage
80ba651375 add a small comment 2007-11-15 14:22:54 +01:00
Mathieu Lacage
18e5bf9c07 keep track of the last time a backoff was updated. 2007-11-15 14:21:48 +01:00
Mathieu Lacage
0394180213 a new test-case with some comments 2007-11-15 13:44:58 +01:00
Mathieu Lacage
b52be989ed start a backoff only if no backoff is started 2007-11-15 13:37:51 +01:00
Mathieu Lacage
b15597dbe7 forgot sifs + aifsn for test 2007-11-15 13:37:38 +01:00
Mathieu Lacage
6aa4ae880a add a new test-case 2007-11-15 13:24:09 +01:00
Mathieu Lacage
01d2d77a76 backoff is finished when the end of backoff is _equal_ to now. 2007-11-15 13:03:09 +01:00
Mathieu Lacage
d9942c0c32 merge with HEAD 2007-11-15 11:22:41 +01:00
Gustavo J. A. M. Carneiro
587d573a04 Add some missing NS_LOG_PARAM* definitions in optimized build 2007-11-15 10:16:26 +00:00
Mathieu Lacage
ed31e39491 use the \valueref macro 2007-11-15 10:25:35 +01:00
Mathieu Lacage
838bef63b3 merge with Position -> Vector rename 2007-11-15 10:22:35 +01:00
Mathieu Lacage
6d97118181 merge with HEAD 2007-11-15 10:18:17 +01:00
Mathieu Lacage
c1544ba7c4 check for Time bounds 2007-11-15 10:15:16 +01:00
Mathieu Lacage
008e02b03c add a new test 2007-11-15 09:44:23 +01:00
Tom Henderson
2e68155c6d nicer logging of parameters (bug 79 patch from Gustavo) 2007-11-14 21:59:14 -08:00
Tom Henderson
a53e880346 Change default scheduler to Map from List (bug 90) 2007-11-14 21:29:27 -08:00
Tom Henderson
79f4bb679e get rid of non-const operators in DataRate 2007-11-14 21:17:43 -08:00
Mathieu Lacage
21baa41ccf timestep is a signed quantity. 2007-11-14 14:16:42 +01:00
Mathieu Lacage
d20ccf186e handle NAV correctly 2007-11-14 14:11:11 +01:00
Mathieu Lacage
3128aadfe0 remove buggy test asserts 2007-11-14 14:03:38 +01:00
Mathieu Lacage
03da97b0b8 do not use GetBackoffSlots directly anymore 2007-11-14 14:02:03 +01:00
Mathieu Lacage
2d39b3c2d0 remove buggy assert and comment 2007-11-14 13:53:32 +01:00