wifi: iwlwifi: iwlmei: report disconnection as temporary
authorAvraham Stern <avraham.stern@intel.com>
Wed, 2 Nov 2022 14:59:57 +0000 (16:59 +0200)
committerGregory Greenman <gregory.greenman@intel.com>
Thu, 10 Nov 2022 11:27:07 +0000 (13:27 +0200)
commitc4bb943e0ad5829ec387e30bcb4b30cb15a572b9
tree40b6a8a25b8a403d6169119becb0a78bd5134f88
parent6564f3b8621e380114732644be4c65064361eb6f
wifi: iwlwifi: iwlmei: report disconnection as temporary

Disconnections are reported to CSME as long link down. As a result,
CSME will take ownership right away so the host doesn't have a
chance to reconnect, although in many cases it could quickly reconnect
and preserve host connectivity.
Report disconnections as temporary so CSME will give the host some
grace time to reconnect.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221102165239.401665457652.Ie5de9eacc5a51cf0965a08c202caf3fbc3a91ec4@changeid
drivers/net/wireless/intel/iwlwifi/mei/main.c