|
@@ -1268,209 +1268,6 @@ enum hdd_dot11_mode {
|
|
|
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_MAX (1)
|
|
|
#define CFG_IBSS_PS_1RX_CHAIN_IN_ATIM_WINDOW_DEFAULT (0)
|
|
|
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_enable - WLM latency Enable
|
|
|
- *
|
|
|
- * @min: 0
|
|
|
- * @max: 1
|
|
|
- * @default: 0
|
|
|
- *
|
|
|
- * 0 - disable
|
|
|
- * 1 - enable
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_ENABLE_NAME "wlm_latency_enable"
|
|
|
-#define CFG_LATENCY_ENABLE_MIN (0)
|
|
|
-#define CFG_LATENCY_ENABLE_MAX (1)
|
|
|
-#define CFG_LATENCY_ENABLE_DEFAULT (0)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_level - WLM latency level
|
|
|
- * Define 4 latency level to gain latency
|
|
|
- *
|
|
|
- * @min: 0
|
|
|
- * @max: 3
|
|
|
- * @defalut: 0
|
|
|
- *
|
|
|
- * 0 - normal
|
|
|
- * 1 - moderate
|
|
|
- * 2 - low
|
|
|
- * 3 - ultralow
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_LEVEL_NAME "wlm_latency_level"
|
|
|
-#define CFG_LATENCY_LEVEL_MIN (0)
|
|
|
-#define CFG_LATENCY_LEVEL_MAX (3)
|
|
|
-#define CFG_LATENCY_LEVEL_DEFAULT (0)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_flags_normal - WLM flags setting for normal level
|
|
|
- *
|
|
|
- * @min: 0x0
|
|
|
- * @max: 0xffffffff
|
|
|
- * @defalut: 0x0
|
|
|
- *
|
|
|
- * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
|
|
|
- * +------+------+------+------+------+------+------+-----+-----+
|
|
|
- * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
|
|
|
- * +------+-------------+-------------+-------------------------+
|
|
|
- * | WAL | PS | Roam | Scan |
|
|
|
- *
|
|
|
- * bit 0: Avoid scan request from HLOS if setting
|
|
|
- * bit 1: Skip DFS channel SCAN if setting
|
|
|
- * bit 2-3: Define policy of dwell time/duration for each foreign channel
|
|
|
- * (b2 b3)
|
|
|
- * (0 0 ): Default scan dwell time
|
|
|
- * (0 1 ): Reserve
|
|
|
- * (1 0 ): Shrink off channel dwell time
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 4-5: Reserve for scan
|
|
|
- * bit 6-7: Define roaming policy
|
|
|
- * (b6 b7)
|
|
|
- * (0 0 ): Default roaming behavior, allow roaming in all scenarios
|
|
|
- * (0 1 ): Disallow all roaming
|
|
|
- * (1 0 ): Allow roaming when final bmissed
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 8-9: Reserve for roaming
|
|
|
- * bit 10: Disable css power collapse if setting
|
|
|
- * bit 11: Disable sys sleep if setting
|
|
|
- * bit 12-31: Reserve for future useage
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_FLAGS_NORMAL_NAME "wlm_latency_flags_normal"
|
|
|
-#define CFG_LATENCY_FLAGS_NORMAL_MIN (0x0)
|
|
|
-#define CFG_LATENCY_FLAGS_NORMAL_MAX (0xffffffff)
|
|
|
-#define CFG_LATENCY_FLAGS_NORMAL_DEFAULT (0x0)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_flags_moderate - WLM flags setting for moderate level
|
|
|
- *
|
|
|
- * @min: 0x0
|
|
|
- * @max: 0xffffffff
|
|
|
- * @defalut: 0x8
|
|
|
- *
|
|
|
- * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
|
|
|
- * +------+------+------+------+------+------+------+-----+-----+
|
|
|
- * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
|
|
|
- * +------+-------------+-------------+-------------------------+
|
|
|
- * | WAL | PS | Roam | Scan |
|
|
|
- *
|
|
|
- * bit 0: Avoid scan request from HLOS if setting
|
|
|
- * bit 1: Skip DFS channel SCAN if setting
|
|
|
- * bit 2-3: Define policy of dwell time/duration for each foreign channel
|
|
|
- * (b2 b3)
|
|
|
- * (0 0 ): Default scan dwell time
|
|
|
- * (0 1 ): Reserve
|
|
|
- * (1 0 ): Shrink off channel dwell time
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 4-5: Reserve for scan
|
|
|
- * bit 6-7: Define roaming policy
|
|
|
- * (b6 b7)
|
|
|
- * (0 0 ): Default roaming behavior, allow roaming in all scenarios
|
|
|
- * (0 1 ): Disallow all roaming
|
|
|
- * (1 0 ): Allow roaming when final bmissed
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 8-9: Reserve for roaming
|
|
|
- * bit 10: Disable css power collapse if setting
|
|
|
- * bit 11: Disable sys sleep if setting
|
|
|
- * bit 12-31: Reserve for future useage
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_FLAGS_MODERATE_NAME "wlm_latency_flags_moderate"
|
|
|
-#define CFG_LATENCY_FLAGS_MODERATE_MIN (0x0)
|
|
|
-#define CFG_LATENCY_FLAGS_MODERATE_MAX (0xffffffff)
|
|
|
-#define CFG_LATENCY_FLAGS_MODERATE_DEFAULT (0x8)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_flags_low - WLM flags setting for low level
|
|
|
- *
|
|
|
- * @min: 0x0
|
|
|
- * @max: 0xffffffff
|
|
|
- * @defalut: 0xa
|
|
|
- *
|
|
|
- * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
|
|
|
- * +------+------+------+------+------+------+------+-----+-----+
|
|
|
- * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
|
|
|
- * +------+-------------+-------------+-------------------------+
|
|
|
- * | WAL | PS | Roam | Scan |
|
|
|
- *
|
|
|
- * bit 0: Avoid scan request from HLOS if setting
|
|
|
- * bit 1: Skip DFS channel SCAN if setting
|
|
|
- * bit 2-3: Define policy of dwell time/duration for each foreign channel
|
|
|
- * (b2 b3)
|
|
|
- * (0 0 ): Default scan dwell time
|
|
|
- * (0 1 ): Reserve
|
|
|
- * (1 0 ): Shrink off channel dwell time
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 4-5: Reserve for scan
|
|
|
- * bit 6-7: Define roaming policy
|
|
|
- * (b6 b7)
|
|
|
- * (0 0 ): Default roaming behavior, allow roaming in all scenarios
|
|
|
- * (0 1 ): Disallow all roaming
|
|
|
- * (1 0 ): Allow roaming when final bmissed
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 8-9: Reserve for roaming
|
|
|
- * bit 10: Disable css power collapse if setting
|
|
|
- * bit 11: Disable sys sleep if setting
|
|
|
- * bit 12-31: Reserve for future useage
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_FLAGS_LOW_NAME "wlm_latency_flags_low"
|
|
|
-#define CFG_LATENCY_FLAGS_LOW_MIN (0x0)
|
|
|
-#define CFG_LATENCY_FLAGS_LOW_MAX (0xffffffff)
|
|
|
-#define CFG_LATENCY_FLAGS_LOW_DEFAULT (0xa)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * wlm_latency_flags_ultralow - WLM flags setting for ultralow level
|
|
|
- *
|
|
|
- * @min: 0x0
|
|
|
- * @max: 0xffffffff
|
|
|
- * @defalut: 0xc83
|
|
|
- *
|
|
|
- * |31 12| 11 | 10 |9 8|7 6|5 4|3 2| 1 | 0 |
|
|
|
- * +------+------+------+------+------+------+------+-----+-----+
|
|
|
- * | RSVD | SSLP | CSLP | RSVD | Roam | RSVD | DWLT | DFS | SUP |
|
|
|
- * +------+-------------+-------------+-------------------------+
|
|
|
- * | WAL | PS | Roam | Scan |
|
|
|
- *
|
|
|
- * bit 0: Avoid scan request from HLOS if setting
|
|
|
- * bit 1: Skip DFS channel SCAN if setting
|
|
|
- * bit 2-3: Define policy of dwell time/duration for each foreign channel
|
|
|
- * (b2 b3)
|
|
|
- * (0 0 ): Default scan dwell time
|
|
|
- * (0 1 ): Reserve
|
|
|
- * (1 0 ): Shrink off channel dwell time
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 4-5: Reserve for scan
|
|
|
- * bit 6-7: Define roaming policy
|
|
|
- * (b6 b7)
|
|
|
- * (0 0 ): Default roaming behavior, allow roaming in all scenarios
|
|
|
- * (0 1 ): Disallow all roaming
|
|
|
- * (1 0 ): Allow roaming when final bmissed
|
|
|
- * (1 1 ): Reserve
|
|
|
- * bit 8-9: Reserve for roaming
|
|
|
- * bit 10: Disable css power collapse if setting
|
|
|
- * bit 11: Disable sys sleep if setting
|
|
|
- * bit 12-31: Reserve for future useage
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_LATENCY_FLAGS_ULTRALOW_NAME "wlm_latency_flags_ultralow"
|
|
|
-#define CFG_LATENCY_FLAGS_ULTRALOW_MIN (0x0)
|
|
|
-#define CFG_LATENCY_FLAGS_ULTRALOW_MAX (0xffffffff)
|
|
|
-#define CFG_LATENCY_FLAGS_ULTRALOW_DEFAULT (0xc83)
|
|
|
-
|
|
|
/*
|
|
|
* <ini>
|
|
|
* gDot11Mode - SAP phy mode
|
|
@@ -1797,79 +1594,6 @@ enum hdd_dot11_mode {
|
|
|
#define CFG_TL_DELAYED_TRGR_FRM_INT_MAX (4294967295UL)
|
|
|
#define CFG_TL_DELAYED_TRGR_FRM_INT_DEFAULT 3000
|
|
|
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * gRrmEnable - Enable/Disable RRM
|
|
|
- * @Min: 0
|
|
|
- * @Max: 1
|
|
|
- * @Default: 0
|
|
|
- *
|
|
|
- * This ini is used to controls the capabilities (11 k) included
|
|
|
- * in the capabilities field.
|
|
|
- *
|
|
|
- * Related: None.
|
|
|
- *
|
|
|
- * Supported Feature: 11k
|
|
|
- *
|
|
|
- * Usage: Internal/External
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_RRM_ENABLE_NAME "gRrmEnable"
|
|
|
-#define CFG_RRM_ENABLE_MIN (0)
|
|
|
-#define CFG_RRM_ENABLE_MAX (1)
|
|
|
-#define CFG_RRM_ENABLE_DEFAULT (0)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * gRrmRandnIntvl - Randomization interval
|
|
|
- * @Min: 10
|
|
|
- * @Max: 100
|
|
|
- * @Default: 100
|
|
|
- *
|
|
|
- * This ini is used to set randomization interval which is used to start a timer
|
|
|
- * of a random value within randomization interval. Next RRM Scan request
|
|
|
- * will be issued after the expiry of this random interval.
|
|
|
- *
|
|
|
- * Related: None.
|
|
|
- *
|
|
|
- * Supported Feature: 11k
|
|
|
- *
|
|
|
- * Usage: Internal/External
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_NAME "gRrmRandnIntvl"
|
|
|
-#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MIN (10)
|
|
|
-#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_MAX (100)
|
|
|
-#define CFG_RRM_MEAS_RANDOMIZATION_INTVL_DEFAULT (100)
|
|
|
-
|
|
|
-/*
|
|
|
- * <ini>
|
|
|
- * rm_capability - Configure RM enabled capabilities IE
|
|
|
- * @Min: N/A
|
|
|
- * @Max: N/A
|
|
|
- * @Default: 73,10,91,00,04
|
|
|
- *
|
|
|
- * This ini is used to configure RM enabled capabilities IE.
|
|
|
- * Using this INI, we can set/unset any of the bits in 5 bytes
|
|
|
- * (last 4bytes are reserved). Bit details are updated as per
|
|
|
- * Draft version of 11mc spec. (Draft P802.11REVmc_D4.2)
|
|
|
- *
|
|
|
- * Bitwise details are defined as bit mask in rrm_global.h
|
|
|
- * Comma is used as a separator for each byte.
|
|
|
- *
|
|
|
- * Related: None.
|
|
|
- *
|
|
|
- * Supported Feature: 11k
|
|
|
- *
|
|
|
- * Usage: Internal/External
|
|
|
- *
|
|
|
- * </ini>
|
|
|
- */
|
|
|
-#define CFG_RM_CAPABILITY_NAME "rm_capability"
|
|
|
-#define CFG_RM_CAPABILITY_DEFAULT "73,10,91,00,04"
|
|
|
-
|
|
|
/*
|
|
|
* <ini>
|
|
|
* gHwFilterMode - configure hardware filter for DTIM mode
|
|
@@ -3855,10 +3579,6 @@ struct hdd_config {
|
|
|
bool apProtEnabled;
|
|
|
uint8_t nTxPowerCap; /* In dBm */
|
|
|
uint8_t disablePacketFilter;
|
|
|
- bool fRrmEnable;
|
|
|
- uint16_t nRrmRandnIntvl;
|
|
|
- /* length includes separator */
|
|
|
- char rm_capability[3 * DOT11F_IE_RRMENABLEDCAP_MAX_LEN];
|
|
|
|
|
|
#ifdef FEATURE_WLAN_DYNAMIC_CVM
|
|
|
/* Bitmap for operating voltage corner mode */
|
|
@@ -4059,12 +3779,6 @@ struct hdd_config {
|
|
|
bool enable_lprx;
|
|
|
uint32_t scan_11d_interval;
|
|
|
bool is_bssid_hint_priority;
|
|
|
- uint16_t wlm_latency_enable;
|
|
|
- uint16_t wlm_latency_level;
|
|
|
- uint32_t wlm_latency_flags_normal;
|
|
|
- uint32_t wlm_latency_flags_moderate;
|
|
|
- uint32_t wlm_latency_flags_low;
|
|
|
- uint32_t wlm_latency_flags_ultralow;
|
|
|
#ifdef WLAN_FEATURE_PACKET_FILTERING
|
|
|
uint8_t packet_filters_bitmap;
|
|
|
#endif
|