Skip to content

Commit

Permalink
gnrc_lwmac: deprecate module
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Mar 27, 2024
1 parent 0acb666 commit 2deb888
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions makefiles/deprecated_modules.inc.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Add deprecated modules here
# Keep this list ALPHABETICALLY SORTED!!!!111elven
DEPRECATED_MODULES += gnrc_lwmac
DEPRECATED_MODULES += gnrc_mac
DEPRECATED_MODULES += gnrc_nettype_lwmac
DEPRECATED_MODULES += sema_deprecated
DEPRECATED_MODULES += ztimer_now64
2 changes: 2 additions & 0 deletions sys/include/net/gnrc/lwmac/lwmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* @defgroup net_gnrc_lwmac LWMAC
* @ingroup net_gnrc
* @brief A Lightweight duty-cycling 802.15.4 MAC protocol
* @deprecated This module is deprecated and will be removed after the 2024.10 release.
* As an alternative MAC layer for IEEE 802.15.4, you can use @ref pkg_opendsme.
*
*
* ## LWMAC implementation
Expand Down
7 changes: 6 additions & 1 deletion sys/include/net/gnrc/nettype.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ typedef enum {
GNRC_NETTYPE_GOMACH, /**< Protocol is GoMacH */
#endif
#if IS_USED(MODULE_GNRC_NETTYPE_LWMAC) || defined(DOXYGEN)
GNRC_NETTYPE_LWMAC, /**< Protocol is lwMAC */
/**
* @brief Protocol is lwMAC
* @deprecated @ref net_gnrc_lwmac was deprecated and will be removed after
* the 2024.10 release together with this protocol type.
*/
GNRC_NETTYPE_LWMAC,
#endif
#if IS_USED(MODULE_GNRC_NETTYPE_CUSTOM) || defined(DOXYGEN)
GNRC_NETTYPE_CUSTOM, /**< Custom ethertype */
Expand Down

0 comments on commit 2deb888

Please sign in to comment.