Skip to content

Commit

Permalink
update GTP5G_ATTR_MAX value which represent attribute size (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
chen042531 authored and tim-ywliu committed Jun 3, 2024
1 parent 6657a0a commit 6319ba5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions include/genl.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ enum gtp5g_cmd {
#define GTP5G_CMD_MAX (__GTP5G_CMD_MAX - 1)

/* This const value need to bigger than the Layer 1 attr size,
* like GTP5G_PDR_ATTR_MAX and GTP5G_FAR_ATTR_MAX
* like GTP5G_MSG_TYPE_ATTR_MAX(2),
* GTP5G_BUFFER_ATTR_MAX(7), GTP5G_UR_ATTR_MAX(10),
* GTP5G_BAR_ATTR_MAX(6), GTP5G_URR_ATTR_MAX(13),
* GTP5G_FAR_ATTR_MAX(8), GTP5G_PDR_ATTR_MAX(12),
* GTP5G_QER_ATTR_MAX(13)
* Now use the value of 0x20(32)
*/
#define GTP5G_ATTR_MAX 0x10
#define GTP5G_ATTR_MAX 0x20

enum gtp5g_device_attrs {
GTP5G_LINK = 1,
Expand Down

0 comments on commit 6319ba5

Please sign in to comment.