[PATCH wireless-next v4 1/2] wifi: UHR: define DPS/DBE/P-EDCA elements and fix size parsing
Johannes Berg
johannes at sipsolutions.net
Tue Feb 24 09:38:26 PST 2026
On Tue, 2026-02-24 at 17:42 +0100, Johannes Berg wrote:
> Oh, another thing
>
> > + * @dbe_params:
> > + * B0-B2 - DBE Bandwidth field is set to indicate
> > + * expanded bandwidth for DBE mode
> > + * Value 0 is reserved.
> > + * Set to 1 to indicate 40 MHz DBE bandwidth.
> > + * Set to 2 to indicate 80 MHz DBE bandwidth.
> > + * Set to 3 to indicate 160 MHz DBE bandwidth.
> > + * Set to 4 to indicate 320-1 MHz DBE bandwidth.
> > + * Set to 5 to indicate 320-2 MHz DBE bandwidth.
> > + * Values 6 to 7 are reserved.
> > + * B3 - DBE Disabled Subchannel Bitmap Present.
>
> Seems we should have an enum for the possible bandwidth values?
How about this?
enum ieee80211_uhr_dbe_oper_bw {
IEEE80211_UHR_DBE_OPER_BW_40 = 1,
IEEE80211_UHR_DBE_OPER_BW_80 = 2,
IEEE80211_UHR_DBE_OPER_BW_160 = 3,
IEEE80211_UHR_DBE_OPER_BW_320_1 = 4,
IEEE80211_UHR_DBE_OPER_BW_32_2 = 5,
};
johannes
More information about the ath12k
mailing list