hnb-test: Send hard-coded HNB register request for now
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 583222a..2823076 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -123,6 +123,25 @@
 	return rc;
 }
 
+#include "pdus.h"
+
+static void hnb_send_register_req(struct hnb_test *hnb_test)
+{
+	struct msgb *msg;
+	int rc;
+
+	msg = msgb_alloc(1024, "HNBAP Tx");
+
+	memcpy(msgb_data(msg), hnbap_reg_req, sizeof(hnbap_reg_req));
+
+	msgb_put(msg, sizeof(hnbap_reg_req));
+
+	msgb_ppid(msg) = IUH_PPI_HNBAP;
+
+	osmo_wqueue_enqueue(&hnb_test->wqueue, msg);
+}
+
+
 static const struct log_info_cat log_cat[] = {
 	[DMAIN] = {
 		.name = "DMAIN", .loglevel = LOGL_DEBUG, .enabled = 1,
@@ -168,6 +187,8 @@
 	}
 //	sctp_sock_init(g_hnb_test.conn_fd);
 
+	hnb_send_register_req(&g_hnb_test);
+
 	while (1) {
 		rc = osmo_select_main(0);
 		if (rc < 0)