qcacld-3.0: Remove maxWoWFilters and related
Recent changes in Power Management and Offload (PMO) have removed the need for a configurable maximum number of WoW filters. Remove the following relevant fields: * maxWoWFilters * CFG_MAX_WOW_FILTERS_MAX * WMA_STA_WOW_DEFAULT_PTRN_MAX * max_wow_filters * ol_ini_info Change-Id: I99cc74731d6373258dc65473a8342bda0ab2786b CRs-Fixed: 2199452
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -81,8 +81,7 @@ void pmo_update_target_service(struct wlan_objmgr_psoc *psoc,
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void pmo_update_ra_limit(struct wlan_objmgr_psoc *psoc,
|
||||
bool bpf_enabled);
|
||||
void pmo_update_ra_limit(struct wlan_objmgr_psoc *psoc, bool bpf_enabled);
|
||||
|
||||
/**
|
||||
* pmo_set_wow_event_bitmap() - Assign bitmask with wow event
|
||||
|
@@ -63,7 +63,7 @@ QDF_STATUS pmo_core_add_wow_user_pattern(struct wlan_objmgr_vdev *vdev,
|
||||
* function (1 in mask value will become FF and 0 will
|
||||
* become 00),
|
||||
*
|
||||
* Mask value : FF:00:FF:00:0:00:00:FF
|
||||
* Mask value : FF:00:FF:00:00:00:00:FF
|
||||
* Pattern value : 12:00:13:00:00:00:00:44
|
||||
*/
|
||||
qdf_mem_zero(new_mask, sizeof(new_mask));
|
||||
|
@@ -273,7 +273,6 @@ enum pmo_auto_pwr_detect_failure_mode {
|
||||
* @active_mode_offload: true if psoc supports active mode offload else false
|
||||
* @ap_arpns_support: true if psoc supports arp ns for ap mode
|
||||
* @d0_wow_supported: true if psoc supports D0 wow command
|
||||
* @max_wow_filters: maximum number of wow filter supported
|
||||
* @ra_ratelimit_enable: true when ra filtering ins eanbled else false
|
||||
* @ra_ratelimit_interval: ra packets interval
|
||||
* @magic_ptrn_enable: true when magic pattern is enabled else false
|
||||
@@ -302,7 +301,6 @@ struct pmo_psoc_cfg {
|
||||
bool active_mode_offload;
|
||||
bool ap_arpns_support;
|
||||
bool d0_wow_supported;
|
||||
uint8_t max_wow_filters;
|
||||
bool ra_ratelimit_enable;
|
||||
uint16_t ra_ratelimit_interval;
|
||||
bool magic_ptrn_enable;
|
||||
|
@@ -30,7 +30,6 @@
|
||||
|
||||
#define PMO_WOWL_PTRN_MAX_SIZE 146
|
||||
#define PMO_WOWL_PTRN_MASK_MAX_SIZE 19
|
||||
#define PMO_WOWL_MAX_PTRNS_ALLOWED CFG_MAX_WOW_FILTERS_MAX
|
||||
#define PMO_WOWL_BCAST_PATTERN_MAX_SIZE 146
|
||||
|
||||
#define PMO_WOW_INTER_PTRN_TOKENIZER ';'
|
||||
|
Reference in New Issue
Block a user