Skip to content

Commit

Permalink
fix Optimize WIFI
Browse files Browse the repository at this point in the history
  • Loading branch information
javilonas committed Jun 3, 2015
1 parent a112afe commit 391dd33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/bcmdhd4358/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ DHDCFLAGS += -DDISABLE_11H_SOFTAP
DHDCFLAGS += -DSUPPORT_PM2_ONLY
DHDCFLAGS += -DSUPPORT_DEEP_SLEEP
DHDCFLAGS += -DSUPPORT_AMPDU_MPDU_CMD
#DHDCFLAGS += -DBLOCK_IPV6_PACKET -DPASS_IPV4_SUSPEND
DHDCFLAGS += -DBLOCK_IPV6_PACKET
DHDCFLAGS += -DSOFTAP_SEND_HANGEVT

# For special PNO Event keep wake lock for 10sec
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/wireless/bcmdhd4358/dhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ extern uint dhd_force_tx_queueing;
#define CUSTOM_LISTEN_INTERVAL LISTEN_INTERVAL
#endif /* CUSTOM_LISTEN_INTERVAL */

#define DEFAULT_SUSPEND_BCN_LI_DTIM 5
#define DEFAULT_SUSPEND_BCN_LI_DTIM 3
#ifndef CUSTOM_SUSPEND_BCN_LI_DTIM
#define CUSTOM_SUSPEND_BCN_LI_DTIM DEFAULT_SUSPEND_BCN_LI_DTIM
#endif
Expand Down Expand Up @@ -1031,7 +1031,7 @@ extern uint dhd_force_tx_queueing;

#define MAX_DTIM_SKIP_BEACON_INTERVAL 100 /* max allowed associated AP beacon for DTIM skip */
#ifndef MAX_DTIM_ALLOWED_INTERVAL
#define MAX_DTIM_ALLOWED_INTERVAL 900 /* max allowed total beacon interval for DTIM skip */
#define MAX_DTIM_ALLOWED_INTERVAL 600 /* max allowed total beacon interval for DTIM skip */
#endif
#define NO_DTIM_SKIP 1
#ifdef SDTEST
Expand Down

0 comments on commit 391dd33

Please sign in to comment.