Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
qcacld-3.0: Disable use of g_enable_packet_filter_bitmap
Browse files Browse the repository at this point in the history
This shouldn't be enabled otherwise there will be notification delays.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
  • Loading branch information
nathanchance committed Apr 22, 2018
1 parent 169b3cb commit 310dfba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/staging/qcacld-3.0/core/hdd/inc/wlan_hdd_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10983,10 +10983,11 @@ enum hw_filter_mode {
*
* Supported Feature: PACKET FILTERING
*/
#define CFG_ENABLE_PACKET_FILTERS_NAME "g_enable_packet_filter_bitmap"
#define CFG_ENABLE_PACKET_FILTERS_DEFAULT (0)
#define CFG_ENABLE_PACKET_FILTERS_MIN (0)
#define CFG_ENABLE_PACKET_FILTERS_MAX (63)
#define CFG_ENABLE_PACKET_FILTERS_NAME "g_enable_packet_filter_bitmap"
#define CFG_ENABLE_PACKET_FILTERS_NAME_NOOP "g_enable_packet_filter_bitmap_noop"
#define CFG_ENABLE_PACKET_FILTERS_DEFAULT (0)
#define CFG_ENABLE_PACKET_FILTERS_MIN (0)
#define CFG_ENABLE_PACKET_FILTERS_MAX (63)

/*
* <ini>
Expand Down Expand Up @@ -13979,6 +13980,7 @@ struct hdd_config {

uint8_t auto_pwr_save_fail_mode;
uint8_t packet_filters_bitmap;
uint8_t packet_filters_bitmap_noop;
uint32_t arp_ac_category;

bool probe_req_ie_whitelist;
Expand Down
7 changes: 7 additions & 0 deletions drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4639,6 +4639,13 @@ struct reg_table_entry g_registry_table[] = {
CFG_5G_MAX_RSSI_PENALIZE_MAX),

REG_VARIABLE(CFG_ENABLE_PACKET_FILTERS_NAME, WLAN_PARAM_Integer,
struct hdd_config, packet_filters_bitmap_noop,
VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
CFG_ENABLE_PACKET_FILTERS_DEFAULT,
CFG_ENABLE_PACKET_FILTERS_MIN,
CFG_ENABLE_PACKET_FILTERS_MAX),

REG_VARIABLE(CFG_ENABLE_PACKET_FILTERS_NAME_NOOP, WLAN_PARAM_Integer,
struct hdd_config, packet_filters_bitmap,
VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
CFG_ENABLE_PACKET_FILTERS_DEFAULT,
Expand Down

0 comments on commit 310dfba

Please sign in to comment.