diff options
author | Eran Harary <eran.harary@intel.com> | 2014-07-27 01:03:06 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-09-14 05:56:37 -0400 |
commit | 161bdb7780548918027511f1a2885e9b99d28482 (patch) | |
tree | db28186e1b11cdc0733029be0128e24aa9368ba2 /drivers/net/wireless/iwlwifi/mvm/sf.c | |
parent | d4200cb2487042291a056d4364450947344362e1 (diff) |
iwlwifi: mvm: allow preventing dummy notifications
The firwmare now allows the driver to disable dummy
notifications. These notifications sent by the firmware
are an overhead for slow buses. They are still useful for
fast buses.
Add a hardware switch to prevent these notifications only
on devices that work on slow buses.
Signed-off-by: Eran <eran.harary@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/sf.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/sf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/sf.c b/drivers/net/wireless/iwlwifi/mvm/sf.c index f88410c7cbfb..7eb78e2c240a 100644 --- a/drivers/net/wireless/iwlwifi/mvm/sf.c +++ b/drivers/net/wireless/iwlwifi/mvm/sf.c | |||
@@ -179,6 +179,10 @@ static int iwl_mvm_sf_config(struct iwl_mvm *mvm, u8 sta_id, | |||
179 | struct ieee80211_sta *sta; | 179 | struct ieee80211_sta *sta; |
180 | int ret = 0; | 180 | int ret = 0; |
181 | 181 | ||
182 | if (mvm->fw->ucode_capa.api[0] & IWL_UCODE_TLV_API_SF_NO_DUMMY_NOTIF && | ||
183 | mvm->cfg->disable_dummy_notification) | ||
184 | sf_cmd.state |= cpu_to_le32(SF_CFG_DUMMY_NOTIF_OFF); | ||
185 | |||
182 | /* | 186 | /* |
183 | * If an associated AP sta changed its antenna configuration, the state | 187 | * If an associated AP sta changed its antenna configuration, the state |
184 | * will remain FULL_ON but SF parameters need to be reconsidered. | 188 | * will remain FULL_ON but SF parameters need to be reconsidered. |