Class MeasurementBasedApClientTPC
- java.lang.Object
-
- com.facebook.openwifi.rrm.optimizers.tpc.TPC
-
- com.facebook.openwifi.rrm.optimizers.tpc.MeasurementBasedApClientTPC
-
public class MeasurementBasedApClientTPC extends TPC
Measurement-based AP-client algorithm.Assign tx power based on client RSSI and a fixed target MCS index.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGORITHM_ID
The RRM algorithm ID.static int
DEFAULT_CHANNEL_WIDTH
Default channel width in HMzstatic int
DEFAULT_TARGET_MCS
Default target MCS index.static int
DEFAULT_TX_POWER
Default tx power.-
Fields inherited from class com.facebook.openwifi.rrm.optimizers.tpc.TPC
DEFAULT_TX_POWER_CHOICES, deviceConfigs, MAX_TX_POWER, MIN_TX_POWER, model, zone
-
-
Constructor Summary
Constructors Constructor Description MeasurementBasedApClientTPC(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager)
Constructor (uses default target MCS index).MeasurementBasedApClientTPC(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager, int targetMcs)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Map<String,Integer>>
computeTxPowerMap()
Compute tx power assignments.static MeasurementBasedApClientTPC
makeWithArgs(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager, Map<String,String> args)
Factory method to parse generic args map into the proper constructor-
Methods inherited from class com.facebook.openwifi.rrm.optimizers.tpc.TPC
getApsPerChannel, updateDeviceApConfig, updateTxPowerChoices
-
-
-
-
Field Detail
-
ALGORITHM_ID
public static final String ALGORITHM_ID
The RRM algorithm ID.- See Also:
- Constant Field Values
-
DEFAULT_TARGET_MCS
public static final int DEFAULT_TARGET_MCS
Default target MCS index.- See Also:
- Constant Field Values
-
DEFAULT_TX_POWER
public static final int DEFAULT_TX_POWER
Default tx power.- See Also:
- Constant Field Values
-
DEFAULT_CHANNEL_WIDTH
public static final int DEFAULT_CHANNEL_WIDTH
Default channel width in HMz- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MeasurementBasedApClientTPC
public MeasurementBasedApClientTPC(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager)
Constructor (uses default target MCS index).
-
MeasurementBasedApClientTPC
public MeasurementBasedApClientTPC(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager, int targetMcs)
Constructor.
-
-
Method Detail
-
makeWithArgs
public static MeasurementBasedApClientTPC makeWithArgs(Modeler.DataModel model, String zone, DeviceDataManager deviceDataManager, Map<String,String> args)
Factory method to parse generic args map into the proper constructor
-
-