iwlwifi: dvm: run INIT firmware again upon .start()
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 16 Mar 2015 07:08:07 +0000 (09:08 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 23 Apr 2015 18:58:25 +0000 (14:58 -0400)
commit3b73092996411f0e4c4507f412b56e2974799194
treef677e0f63faec37383c63bcfca12b48e805ed510
parent9b233a2fb7823cbbf0adeaf50586cef471da6bc7
iwlwifi: dvm: run INIT firmware again upon .start()

[ Upstream commit 9c8928f5176766bec79f272bd47b7124e11cccbd ]

The assumption before this patch was that we don't need to
run again the INIT firmware after the system booted. The
INIT firmware runs calibrations which impact the physical
layer's behavior.
Users reported that it may be helpful to run these
calibrations again every time the interface is brought up.
The penatly is minimal, since the calibrations run fast.
This fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=94341

CC: <stable@vger.kernel.org>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/net/wireless/iwlwifi/dvm/dev.h
drivers/net/wireless/iwlwifi/dvm/ucode.c