[PATCH wireless-next v5 2/2] wifi: mac80211_hwsim: Add UHR capabilities to the driver

Johannes Berg johannes at sipsolutions.net
Wed Mar 4 02:49:36 PST 2026


On Wed, 2026-03-04 at 14:23 +0530, Karthikeyan Kathirvel wrote:
> 
> +++ b/drivers/net/wireless/virtual/mac80211_hwsim.c
> @@ -4478,6 +4478,43 @@ static const struct ieee80211_sband_iftype_data sband_capa_2ghz[] = {
>  			},
>  			/* PPE threshold information is not supported */
>  		},
> +		.uhr_cap = {

Missing from the context, but this is non-AP side.

> +			.has_uhr = true,
> +			.mac = {
> +				.mac_cap[0] =
> +					IEEE80211_UHR_MAC_CAP0_DPS_SUPP |
> +					IEEE80211_UHR_MAC_CAP0_DPS_AP_STATIC_HCM_SUPP |

"Reserved for a non-AP STA."

Maybe we're just better off doing this as we implement features?

I've applied patch 1 with some minor edits.

johannes



More information about the ath12k mailing list