What does all the wifi mode mean in enet_wifi.h?

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

What does all the wifi mode mean in enet_wifi.h?

586 Views
danielchai
Senior Contributor I

Hi All,

For MQX4.0.2, in file enet_wifi.h there are following macros:

#define ENET_MEDIACTL_MODE_AUTO                              (0)

/* Single cell network */

#define ENET_MEDIACTL_MODE_ADHOC                             (1)

/* Multi cell network, roaming, ... */

#define ENET_MEDIACTL_MODE_INFRA                             (2)

/* Synchronisation master or Access Point */

#define ENET_MEDIACTL_MODE_MASTER                            (3)

/* Wireless Repeater (forwarder) */

#define ENET_MEDIACTL_MODE_REPEAT                            (4)

/* Secondary master/repeater (backup) */

#define ENET_MEDIACTL_MODE_SECOND                            (5)

/* Passive monitor (listen only) */

#define ENET_MEDIACTL_MODE_MONITOR                           (6)

/* Mesh (IEEE 802.11s) network */

#define ENET_MEDIACTL_MODE_MESH                              (7)

How does these modes responding to Wi-Fi Direct, P2P...?

Thank you.

-Daniel

0 Kudos
Reply
0 Replies