source: ReferenceDesigns/w3_802.11/python/wlan_exp/transport/defaults.py

Last change on this file was 6320, checked in by chunter, 5 years ago

1.8.0 release wlan-exp

File size: 1.3 KB
Line 
1# -*- coding: utf-8 -*-
2"""
3------------------------------------------------------------------------------
4Mango 802.11 Reference Design Experiments Framework
5    - Transport Default Constants
6------------------------------------------------------------------------------
7License:   Copyright 2019 Mango Communications, Inc. All rights reserved.
8           Use and distribution subject to terms in LICENSE.txt
9------------------------------------------------------------------------------
10
11This module provides Transport default constants.
12
13"""
14
15# Nodes Configuration INI Files
16NODES_CONFIG_INI_FILE             = 'nodes_config.ini'
17
18
19# Node Types
20DEFAULT_NODE_TYPE                 = 0
21DEFAULT_NODE_CLASS                = 'Node(network_config)'
22DEFAULT_NODE_DESCRIPTION          = 'Default Node'
23
24
25# Transport Default values
26#     - All defaults are strings; Numerical values will be evaluated and
27#       converted to integers before being used
28NETWORK                           = '10.0.0.0'
29HOST_ID                           = 250
30UNICAST_PORT                      = 9500
31BROADCAST_PORT                    = 9750
32TRANSPORT_TYPE                    = 'python'
33JUMBO_FRAME_SUPPORT               = False
34TX_BUFFER_SIZE                    = 2**23        # 8 MB buffer
35RX_BUFFER_SIZE                    = 2**23        # 8 MB buffer
36
37
38
Note: See TracBrowser for help on using the repository browser.