src/devices/wifi/wifi-default-parameters.h
changeset 1964 041240a915f8
child 2004 59eb6fb7b722
equal deleted inserted replaced
1963:007214146da7 1964:041240a915f8
       
     1 #ifndef WIFI_DEFAULT_PARAMETERS_H
       
     2 #define WIFI_DEFAULT_PARAMETERS_H
       
     3 
       
     4 #include <stdint.h>
       
     5 #include "ns3/nstime.h"
       
     6 #include "ssid.h"
       
     7 
       
     8 namespace ns3 {
       
     9 
       
    10 namespace WifiDefaultParameters {
       
    11 
       
    12 enum PhyStandard {
       
    13   PHY_STANDARD_80211a,
       
    14 };
       
    15 enum RateControlAlgorithm {
       
    16   CONSTANT_RATE,
       
    17   ARF,
       
    18   AARF,
       
    19   IDEAL
       
    20 };
       
    21 enum PhyModeParameter {
       
    22   MODE_6MB = 6000000,
       
    23   MODE_9MB = 9000000,
       
    24   MODE_12MB = 12000000,
       
    25   MODE_18MB = 18000000,
       
    26   MODE_24MB = 24000000,
       
    27   MODE_36MB = 36000000,
       
    28   MODE_48MB = 48000000,
       
    29   MODE_54MB = 54000000
       
    30 };
       
    31 
       
    32 uint32_t GetMaxSsrc (void);
       
    33 uint32_t GetMaxSlrc (void);
       
    34 uint32_t GetRtsCtsThreshold (void);
       
    35 uint32_t GetFragmentationThreshold (void);
       
    36 Time GetApBeaconInterval (void);
       
    37 enum PhyStandard GetPhyStandard (void);
       
    38 enum RateControlAlgorithm GetRateControlAlgorithm (void);
       
    39 enum PhyModeParameter GetConstantDataRate (void);
       
    40 enum PhyModeParameter GetConstantCtlRate (void);
       
    41 double GetIdealRateControlBer (void);
       
    42 
       
    43 double GetPhyEnergyDetectionThresholdDbm (void);
       
    44 double GetPhyRxNoiseDb (void);
       
    45 double GetPhyTxPowerBaseDbm (void);
       
    46 double GetPhyTxPowerEndDbm (void);
       
    47 uint32_t GetPhyTxPowerLevels (void);
       
    48 double GetPhyTxGainDbm (void);
       
    49 double GetPhyRxGainDbm (void);
       
    50 
       
    51 Ssid GetSsid (void);
       
    52 
       
    53 } // namespace WifiDefaultParameters
       
    54 
       
    55 } // namespace ns3
       
    56 
       
    57 #endif /* WIFI_DEFAULT_PARAMETERS_H */