From 02f8bcf5c505f7c7d0a9da34f354fe401fa8ff8c Mon Sep 17 00:00:00 2001
From: Anjan Chanda <anjan.chanda@genexis.eu>
Date: Mon, 2 Jun 2025 09:44:29 +0200
Subject: [PATCH] steer_module.h: pass radio-id in struct steer_sta_target_bss

---
 src/steer.c        | 1 +
 src/steer_module.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/steer.c b/src/steer.c
index abf6895f..c9b6df83 100644
--- a/src/steer.c
+++ b/src/steer.c
@@ -426,6 +426,7 @@ void cntlr_update_sta_steer_data(struct controller *c, struct sta *s)
 
 				memcpy(t->bssid, p->bss->bssid, 6);
 				memcpy(t->agent, n->almacaddr, 6);
+				memcpy(t->ruid, r->radio_el->macaddr, 6);
 				t->opclass = opclass;
 				t->channel = ctrl_channel;
 				ss->num_nbr++;
diff --git a/src/steer_module.h b/src/steer_module.h
index a1c8e80f..e12a058e 100644
--- a/src/steer_module.h
+++ b/src/steer_module.h
@@ -62,6 +62,7 @@ typedef enum steer_mode steer_mode_t;
 /* Represent a fBSS neighbor in the network */
 struct steer_sta_target_bss {
 	uint8_t bssid[6];
+	uint8_t ruid[6];
 	uint8_t opclass;	/* operating opclass */
 	uint8_t channel;	/* beacon channel (20MHz) */
 	uint8_t agent[6];	/* agent AL-macaddress this bss belongs to */
-- 
GitLab