[infra-if] fix documentation group order (#12823)

This commit moves the `@addtogroup plat-infra-if` Doxygen block to the
top of the `infra_if.h` header file. Previously, it was defined
after `otPlatInfraIfLinkLayerAddress`, causing that structure and
the `OT_PLAT_INFRA_IF_MAX_LINK_LAYER_ADDR_LENGTH` macro to be excluded
from the `plat-infra-if` module in the generated documentation.
This commit is contained in:
Abtin Keshavarzian
2026-04-03 11:21:46 -05:00
committed by GitHub
parent 7533e43ee7
commit 3c406866fa
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ extern "C" {
*
* @note This number versions both OpenThread platform and user APIs.
*/
#define OPENTHREAD_API_VERSION (587)
#define OPENTHREAD_API_VERSION (588)
/**
* @addtogroup api-instance
+9 -9
View File
@@ -47,6 +47,15 @@
extern "C" {
#endif
/**
* @addtogroup plat-infra-if
*
* @brief
* This module includes the platform abstraction for the adjacent infrastructure network interface.
*
* @{
*/
#define OT_PLAT_INFRA_IF_MAX_LINK_LAYER_ADDR_LENGTH 16 ///< Maximum InfraIf Link-layer address length.
/**
@@ -58,15 +67,6 @@ typedef struct otPlatInfraIfLinkLayerAddress
uint8_t mLength; ///< The address length (number of bytes).
} otPlatInfraIfLinkLayerAddress;
/**
* @addtogroup plat-infra-if
*
* @brief
* This module includes the platform abstraction for the adjacent infrastructure network interface.
*
* @{
*/
/**
* Tells whether an infra interface has the given IPv6 address assigned.
*