]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: Refactor and fix max probe len computation
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 9 Sep 2014 07:58:49 +0000 (10:58 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 21 Sep 2014 19:20:15 +0000 (22:20 +0300)
commit038c42f3cb42e47a53221af773e2702d5d6e6dbe
tree440a2f3e717c4e615d39cbf22ff6752a4d6737bf
parentc3b2082a47f094e47a4cbf3a3d722a098ea9b146
iwlwifi: mvm: Refactor and fix max probe len computation

Move iwl_mvm_max_scan_ie_len function to scan.c and fix the
implementation to conform with the LMAC scan API.
Since the correct implementation would leave us with unacceptably
tiny probes, add a workaround which returns a larger value.
In current implementation it's possible that unified_scan_lmac and
unified_sched_scan_lmac would return -ENOBUFS.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/scan.c