[PATCH] UHR: Fix the name of the DBE Operation Parameters Present bit
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Wed Nov 25 01:54:12 PST 2026
Fix a typo. It's DBE (Dynamic Bandwidth Expansion) and not DPE.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
src/ap/ieee802_11_uhr.c | 2 +-
src/common/ieee802_11_defs.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ap/ieee802_11_uhr.c b/src/ap/ieee802_11_uhr.c
index f7af76e8e7..01e88c84ca 100644
--- a/src/ap/ieee802_11_uhr.c
+++ b/src/ap/ieee802_11_uhr.c
@@ -130,7 +130,7 @@ u8 * hostapd_eid_uhr_operation(struct hostapd_data *hapd, u8 *eid, bool beacon)
/* UHR Operation Parameters field */
if (!beacon && hapd->iconf->dbe_bandwidth) {
- oper_ctrl |= UHR_OPER_CTRL_DPE_OP_PARAMS_PRES;
+ oper_ctrl |= UHR_OPER_CTRL_DBE_OP_PARAMS_PRES;
/* DBE Operation Parameters field */
*pos = hapd->iconf->dbe_bandwidth;
diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 5dfc91541e..09075685e8 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -3412,7 +3412,7 @@ struct ieee80211_uhr_capabilities {
#define UHR_OPER_CTRL_DPS_OP_PARAMS_PRES 0x0200
#define UHR_OPER_CTRL_NPCA_OP_PARAMS_PRES 0x0400
#define UHR_OPER_CTRL_P_EDCA_OP_PARAMS_PRES 0x0800
-#define UHR_OPER_CTRL_DPE_OP_PARAMS_PRES 0x1000
+#define UHR_OPER_CTRL_DBE_OP_PARAMS_PRES 0x1000
/* UHR Operation element format */
struct ieee80211_uhr_operation {
--
2.56.1
More information about the Hostap
mailing list