Commit Graph
1750 Commits
Author SHA1 Message Date
Mathieu Lacage ac8e86643e initialize variable 2007-11-22 16:06:05 +01:00
Mathieu Lacage 6a51ea96c0 make sure that the retry bit is correctly initialized 2007-11-22 15:00:32 +01:00
Mathieu Lacage 94e2d9059a merge obvious fix from mainline 2007-11-22 14:52:57 +01:00
Mathieu Lacage 85c67ca048 the intent was to always send data if maxbytes is zero. 2007-11-22 14:50:59 +01:00
Mathieu Lacage 99a5a8370f port to Ptr<Packet> branch 2007-11-22 14:27:22 +01:00
Mathieu Lacage 284ebcc23f merge with Ptr<Packet> branch 2007-11-22 10:44:48 +01:00
Mathieu Lacage c156f29c86 merge 2007-11-22 10:30:29 +01:00
Mathieu Lacage e075fcd4f3 bug 104: add a method to retrive the maximum simulation time. 2007-11-21 15:54:34 +01:00
Mathieu Lacage 49a8c459a8 simplify the parsing logic and remove buggy comment and code. 2007-11-21 14:14:12 +01:00
Mathieu Lacage 1e45a4c9f5 bug 91: add print-list support to NS_LOG env var. 2007-11-21 14:06:46 +01:00
Mathieu Lacage 908971e48b improve log output 2007-11-21 11:11:27 +01:00
Mathieu Lacage ca76e83370 add WifiPhy::GetDevice 2007-11-21 11:11:05 +01:00
Mathieu Lacage 4774f44062 fix small typo in debug log output 2007-11-21 10:02:17 +01:00
Mathieu Lacage f2c5dd8d71 add constructors to specify the address of a device 2007-11-21 09:43:57 +01:00
Mathieu Lacage ed8ef96a61 add some info logs, improve snr vs ber curve output, linearize the ber calculations. 2007-11-20 16:45:52 +01:00
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