Change RTCS MTU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change RTCS MTU

Jump to solution
619 Views
Mike_d
Contributor IV

Hi,

I have a wifi interface that has an MTU less than 1500.  How do I change the MTU for RTCS?

Thanks,

-Mike

0 Kudos
1 Solution
474 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

This MTU is defined in the following macro

#define ENET_FRAMESIZE_MAXDATA    (1500)

in file

mqx/source/io/enet/ethernet.h


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
474 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

There is also a similar macro in RTCS IP layer.

#define IP_DEFAULT_MTU     576      /* minimum IP datagram size which    */
                                    /* must be supported by all IP hosts */
#define IP_MAX_MTU         0xFFFF   /* size of largest IP datagram       */

in rtcs/source/include/ip.h

Regards

Daniel

475 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Mike_d

This MTU is defined in the following macro

#define ENET_FRAMESIZE_MAXDATA    (1500)

in file

mqx/source/io/enet/ethernet.h


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------