]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: advertise randomised netdetect MAC address
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2015 12:56:51 +0000 (14:56 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:14 +0000 (13:35 +0300)
commit505d0174ec6652b505e77f71654ed90770b40777
treeddf28d041d5aa8e43fb830619dd4f90c99c600c5
parentdd330d7b3a1f8852d2df93debd69de9bbed0dbb4
iwlwifi: mvm: advertise randomised netdetect MAC address

According to the nl80211 documentation, we can neither advertise
scheduled scan nor netdetect address randomisation. However, all
the products that currently require this don't have a need for
the full randomisation.

Therefore, advertise the feature anyway which results in host-
based randomisation, done whenever the system suspends. This is
sufficient for the platforms currently requiring this feature.

If we ever extend this in the future to do full randomisation in
the firmware, then certainly this will still be sufficient for
the current requirements, so it doesn't make a lot of sense to
split the feature bits.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c