iwlwifi: mvm: Use beacon_get_template instead of beacon_get
iwlwifi: mvm: Use beacon_get_template instead of beacon_get

Call ieee80211_beacon_get_template instead of ieee80211_beacon_get and sync the
CSA counters with mac80211 after each beacon transmission.

Signed-off-by: Andrei Otcheretianski <52b10305096e64ebe056ebf56ccad6d200c051a9@intel.com>
Reviewed-by: Luciano Coelho <48024ebf6407f04843f8b4062a045f41623c6d61@intel.com>
Reviewed-by: Johannes Berg <bff32994ff0f8d048f262a8388145a71b6071bfe@intel.com>
Signed-off-by: Emmanuel Grumbach <643a80aaf16a8332d6a70921c14d4bb265446494@intel.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs