1: e412c0cfb74e ! 1: 296bae31bd94 wifi: ath12k: advertise interface MAC address pool @@ Commit message addresses must come from. Some ath12k platforms use it as an interface MAC address pool, while others use it for firmware-provided per-radio addresses. Gate the generated address pool behind - advertise_iface_mac_pool and enable it for WCN7850 and QCC2072. + advertise_iface_mac_pool and enable it for WCN7850 and QCC2072. The flag + is read from the first radio, as all radios behind a wiphy are + expected to have the same setting.  Other platforms keep the existing behavior.  Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3 + Tested-on: QCC2072 hw1.0 PCI WLAN.COL.1.0.c2-00074-QCACOLSWPL_V1_TO_SILICONZ-1  Assisted-by: LLM Signed-off-by: Vitor Soares  + Tested-by: Kang Yang   ## drivers/net/wireless/ath/ath12k/hw.h ##  @@ drivers/net/wireless/ath/ath12k/hw.h: struct ath12k_hw_params { @@ drivers/net/wireless/ath/ath12k/mac.c: static void ath12k_mac_cleanup_unregister  + u16 n_addresses;  + int i;  + ++ /* ++ * wiphy->addresses is per wiphy, so the generated interface MAC ++ * pool is advertised for the whole ath12k_hw. The hw_params flag is ++ * expected to be consistent across all radios in an ath12k_hw, so ++ * use the first radio as the source. ++ */  + ar = ath12k_ah_to_ar(ah, 0);  + if (!ar->ab->hw_params->advertise_iface_mac_pool)  + return;