1: ab36cec14588 = 1: 39cf4f48357f wifi: cfg80211: clean up unused/set reg_num_devs_support_basehint 2: ee51ecc5c426 = 2: ee308cdf7d84 wifi: qtnfmac: register regulatory before wiphy 3: 42dccd748ff5 ! 3: 93266ca19c8c wifi: ath11k: register regulatory before wiphy @@ Commit message can query the regulatory in the window between the two registrations.  + Acked-by: Jeff Johnson  + Reviewed-by: Baochen Qiang  Signed-off-by: Johannes Berg   ## drivers/net/wireless/ath/ath11k/mac.c ## 4: 1a7006a67244 ! 4: bfd6f5207fd6 wifi: ath12k: register regulatory before wiphy @@ Metadata ## Commit message ## wifi: ath12k: register regulatory before wiphy  - This order is going to become required, since userspace - can query the regulatory in the window between the two - registrations. + Soon cfg80211 is going to require self-managed wiphys + to have their own regdomain before registration. Add + one for ath12k, but keep the old regdomain update due + to potential races with user hints.  Signed-off-by: Johannes Berg   @@ drivers/net/wireless/ath/ath12k/mac.c: static int ath12k_mac_hw_register(struct ret = ieee80211_register_hw(hw); if (ret) { ath12k_err(ab, "ieee80211 registration failed: %d\n", ret); -@@ drivers/net/wireless/ath/ath12k/mac.c: static int ath12k_mac_hw_register(struct ath12k_hw *ah) - for_each_ar(ah, ar, i) { - struct ath12k_base *this_ab = ar->ab; -  -- /* Apply the regd received during initialization */ -- ret = ath12k_regd_update(ar, true); -- if (ret) { -- ath12k_err(this_ab, "ath12k regd update failed: %d\n", ret); -- goto err_unregister_hw; -- } -- - if (this_ab->hw_params->current_cc_support) { - struct wmi_set_current_country_arg current_cc = {}; - struct ieee80211_regdomain *default_regd; -@@ drivers/net/wireless/ath/ath12k/mac.c: static int ath12k_mac_hw_register(struct ath12k_hw *ah) -  - return 0; -  --err_unregister_hw: -- for_each_ar(ah, ar, i) -- ath12k_debugfs_unregister(ar); -- -- ieee80211_unregister_hw(hw); -- - err_cleanup_if_combs: - ath12k_mac_cleanup_iface_combinations(ah); -  5: 069bb83283e0 = 5: 85085b8063e3 Revert "wifi: iwlwifi: mld: Move regulatory domain initialization" 6: 2f92888e0698 = 6: 327735e26af8 wifi: cfg80211: fix regdomain vs. wiphy registration