From: Haim Dreyfuss Date: Thu, 18 Dec 2014 10:34:01 +0000 (+0200) Subject: iwlwifi: mvm: set max_out_time equal to frag_passive_dwell in fragmented scan X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~130^2~24^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44e9cd7e4044e3f3f19d0ce761c793d525509c6d;p=pandora-kernel.git iwlwifi: mvm: set max_out_time equal to frag_passive_dwell in fragmented scan Fragmented scan should be applied for all channels, passive and active. When scanning on passive channels the firmware uses frag_passive_dwell to define the maximum continuous scan time before returning to the operating channel. On active channels max_out_time is the parameter used by the firmware to define the maximum time allowed out of the operating channel. Since active channels' scan should also be fragmented set max_out_time equal to frag_passive_dwell. In addition: - Set max_out_time and suspend_time if the firmware doesn't support fragmented scan to avoid unexpected behavior. - Adjust max_out_time for second level of scan precedence. Signed-off-by: Haim Dreyfuss Reviewed-by: Alexander Bondar Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed