|
@@ -167,6 +167,31 @@
|
|
|
#define CFG_USE_LOCAL_TPE CFG_INI_BOOL("use_local_tpe", false, \
|
|
|
"use local or regulatory TPE")
|
|
|
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * skip_tpe_consideration - honoring TPE IE value in tx power calculation for
|
|
|
+ * 2G/5G bands
|
|
|
+ * @Min: 0
|
|
|
+ * @Max: 1
|
|
|
+ * @Default: 0
|
|
|
+ *
|
|
|
+ * This ini is to determine if the TPE IE should be considered in the Tx power
|
|
|
+ * calculation. If the ini is set, host will consider TPE IE in case of 6GHz
|
|
|
+ * only (skip over in 2GHz or 5GHz case). If the ini is not set, honor the TPE
|
|
|
+ * IE values in all bands.
|
|
|
+ *
|
|
|
+ * Related: None
|
|
|
+ *
|
|
|
+ * Supported Feature: Transmit power calculation (TPC)
|
|
|
+ *
|
|
|
+ * Usage: External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
+#define CFG_SKIP_TPE_CONSIDERATION CFG_INI_BOOL("skip_tpe_consideration", \
|
|
|
+ false, \
|
|
|
+ "consider TPE IE in tx power")
|
|
|
+
|
|
|
#define CFG_MLME_POWER_ALL \
|
|
|
CFG(CFG_MAX_TX_POWER_2_4) \
|
|
|
CFG(CFG_MAX_TX_POWER_5) \
|
|
@@ -175,6 +200,7 @@
|
|
|
CFG(CFG_SET_TXPOWER_LIMIT5G) \
|
|
|
CFG(CFG_CURRENT_TX_POWER_LEVEL) \
|
|
|
CFG(CFG_LOCAL_POWER_CONSTRAINT) \
|
|
|
- CFG(CFG_USE_LOCAL_TPE)
|
|
|
+ CFG(CFG_USE_LOCAL_TPE) \
|
|
|
+ CFG(CFG_SKIP_TPE_CONSIDERATION)
|
|
|
|
|
|
#endif /* __CFG_MLME_POWER_H */
|