User:Ofriedri: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<!--
code highlighting: &nbsp;<span style="font-family:Courier New; font-weight:bold"><span>
-->
== BitRateSelection: Integration into JiST ==
== BitRateSelection: Integration into JiST ==


Line 7: Line 10:
Changed files:
Changed files:
*jist.swans.Constants
*jist.swans.Constants
**added all missing possible bandwidth (2, 6, 9, 12, 18, 22, 24, 33, 36, and 48 Mbit/s)
**added all missing possible bandwidths (2, 6, 9, 12, 18, 22, 24, 33, 36, and 48 Mbit/s)
*brn.swans.mac.MacMcExOR
*brn.swans.mac.MacMcExOR
**added class member &nbsp;<span style="font-family:Courier New; font-weight:bold">private int bitrate;</span>
**added class member &nbsp;<span style="font-family:Courier New; font-weight:bold">private int bitrate;</span>
**added accessor method&nbsp;<span style="font-family:Courier New; font-weight:bold">public int getBitrate() { return bitrate; };</span>
**added accessor method &nbsp;<span style="font-family:Courier New; font-weight:bold">public int getBitrate() { return bitrate; };</span>
**changed method public &nbsp;<span style="font-family:Courier New; font-weight:bold">boolean equals(Object o) {}</span>
***added line &nbsp;<span style="font-family:Courier New; font-weight:bold">if (bitrate != that.bitrate) return false;<span>





Revision as of 13:26, 16 June 2006

BitRateSelection: Integration into JiST

First step: Quick and dirty hack into mac layer

Source code base: svn://brn-svn/brn/simulation/NetCodExOR (svn co ~)

Changed files:

  • jist.swans.Constants
    • added all missing possible bandwidths (2, 6, 9, 12, 18, 22, 24, 33, 36, and 48 Mbit/s)
  • brn.swans.mac.MacMcExOR
    • added class member  private int bitrate;
    • added accessor method  public int getBitrate() { return bitrate; };
    • changed method public  boolean equals(Object o) {}
      • added line  if (bitrate != that.bitrate) return false;


Future: BER

radio model has to be adapted to bit rates!!!