]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: mvm: remove support for adjacent channel compensation
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 5 Jun 2018 11:47:02 +0000 (14:47 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 28 Sep 2018 05:57:28 +0000 (08:57 +0300)
We no longer want to consider the RSSI if the beacon / probe
has been heard on an adjacent channel.
This was based on a firmware capability that is now
unavailable.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c

index c445e93951bf0f8542fe66e01d061d3c59f12b8f..4a54756bd1d8cb0c5588374924b6bc87a274558b 100644 (file)
@@ -554,8 +554,6 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
 
        hw->wiphy->max_remain_on_channel_duration = 10000;
        hw->max_listen_interval = IWL_CONN_MAX_LISTEN_INTERVAL;
-       /* we can compensate an offset of up to 3 channels = 15 MHz */
-       hw->wiphy->max_adj_channel_rssi_comp = 3 * 5;
 
        /* Extract MAC address */
        memcpy(mvm->addresses[0].addr, mvm->nvm_data->hw_addr, ETH_ALEN);