iwlwifi: mvm: add MVM_FW_BCAST_FILTER_PASS_ALL option
The MVM_FW_BCAST_FILTER_PASS_ALL option defined in iwl-dbg-cfg.ini configuration file allows to enable/disable FW broadcast filtering. If MVM_FW_BCAST_FILTER_PASS_ALL is not defined in iwl-dbg-cfg.ini or its value is 0, the mvm broadcast filtering is enabled. Setting MVM_FW_BCAST_FILTER_PASS_ALL=1 in iwl-dbg-cfg.ini blocks sending of BCAST_FILTER_CMD to FW. Signed-off-by: Max Stepanov <Max.Stepanov@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
Родитель
f3b2098d98
Коммит
3b8983b17c
|
@ -92,10 +92,11 @@
|
||||||
#define IWL_MVM_BT_COEX_SYNC2SCO 1
|
#define IWL_MVM_BT_COEX_SYNC2SCO 1
|
||||||
#define IWL_MVM_BT_COEX_CORUNNING 0
|
#define IWL_MVM_BT_COEX_CORUNNING 0
|
||||||
#define IWL_MVM_BT_COEX_MPLUT 1
|
#define IWL_MVM_BT_COEX_MPLUT 1
|
||||||
|
#define IWL_MVM_BT_COEX_ANTENNA_COUPLING_THRS 30
|
||||||
#define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0
|
#define IWL_MVM_FW_MCAST_FILTER_PASS_ALL 0
|
||||||
|
#define IWL_MVM_FW_BCAST_FILTER_PASS_ALL 0
|
||||||
#define IWL_MVM_QUOTA_THRESHOLD 8
|
#define IWL_MVM_QUOTA_THRESHOLD 8
|
||||||
#define IWL_MVM_RS_RSSI_BASED_INIT_RATE 0
|
#define IWL_MVM_RS_RSSI_BASED_INIT_RATE 0
|
||||||
#define IWL_MVM_RS_DISABLE_MIMO 0
|
#define IWL_MVM_RS_DISABLE_MIMO 0
|
||||||
#define IWL_MVM_BT_COEX_ANTENNA_COUPLING_THRS 30
|
|
||||||
|
|
||||||
#endif /* __MVM_CONSTANTS_H */
|
#endif /* __MVM_CONSTANTS_H */
|
||||||
|
|
|
@ -1382,6 +1382,9 @@ bool iwl_mvm_bcast_filter_build_cmd(struct iwl_mvm *mvm,
|
||||||
.cmd = cmd,
|
.cmd = cmd,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (IWL_MVM_FW_BCAST_FILTER_PASS_ALL)
|
||||||
|
return false;
|
||||||
|
|
||||||
memset(cmd, 0, sizeof(*cmd));
|
memset(cmd, 0, sizeof(*cmd));
|
||||||
cmd->max_bcast_filters = ARRAY_SIZE(cmd->filters);
|
cmd->max_bcast_filters = ARRAY_SIZE(cmd->filters);
|
||||||
cmd->max_macs = ARRAY_SIZE(cmd->macs);
|
cmd->max_macs = ARRAY_SIZE(cmd->macs);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче