Revision 97a7aedb

View differences:

wishful_upis/radio.py
24 24
]
25 25

  
26 26

  
27
class Attribute():
28
    def __init__(self, name, data_type, is_read_only):
29
        self.name = name
30
        self.data_type = data_type
31
        self.is_read_only = is_read_only
32

  
33
    def __str__(self):
34
        return ""
35

  
36

  
37
class dot80211(object):
38

  
39
    def __init__(self):
40
        """ This attribute allows to configure the minimum contention window used by CSMA in 802.11"""
41
        self.dot80211_mac_random_access_csma_cwmin = Attribute("dot80211_mac_random_access_csma_cwmin", int, False)
42
        """ This attribute allows to configure the minimum contention window used by CSMA in 802.11"""
43

  
27 44

  
28 45
# Generic API to control the lower layers, i.e. key-value configuration.
29 46
def set_parameters(param_key_values_dict):

Also available in: Unified diff