[PATCH v2 5/8] cfg80211: save power spectral density(psd) of regulatory rule

Johannes Berg johannes at sipsolutions.net
Thu Aug 26 01:25:52 PDT 2021


I was going to apply this and patch 4 squashed, saying:


    cfg80211: regulatory: handle 6 GHz power spectral density (PSD)
    
    6 GHz regulatory domains introduce power spectral density (PSD).
    Allow wiphy-specific regulatory rules to specify these values.

but ...
> 
> +		if (chan->flags & IEEE80211_CHAN_PSD)
> +			chan->psd = min_t(s8, rrule1->psd, rrule1->psd);
> +

This is obviously wrong?

johannes




More information about the ath11k mailing list