Chapter 3 — Configuring the Computer
Syntax
UINT SetNetworkMode( ULONG );
Parameters
NDIS_NET_MODE_IBSS
NDIS_NET_MODE_ESS
NDIS_NET_MODE_UNKNOWN
NDIS_NET_AUTO_UNKNOWN
NDIS_NET_TYPE_OFDM_5G
NDIS_NET_TYPE_OFDM_2_4G
Return Values ERROR_SUCCESS when successful, ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
Remarks
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetNetworkMode)(ULONG);
#else
UINT SetNetworkMode(ULONG);
#endif
Syntax
UINT SetPowerMode( ULONG mode );
Parameters
NDIS_RADIO_POWER_MODE_CAM
NDIS_RADIO_POWER_MODE_PSP
NDIS_RADIO_POWER_UNKNOWN
NDIS_RADIO_POWER_AUTO
NDIS_RADIO_POWER_MODE_FAST_PSP Fast PSP, good savings, fast
Return Values ERROR_SUCCESS when successful, ERR_QUERY_FAILED when the query failed, or
ERR_CONNECT_FAILED if a connection with the radio failed.
Remarks
None.
Definitions
#ifdef DYNAMIC_LOADING
typedef UINT (*PFN_SetPowerMode)(ULONG mode);
#else
UINT SetPowerMode(ULONG mode);
#endif
90
SetNetworkMode()
Call this function to set the desired Network Mode.
SetPowerMode()
Call this function to set the desired power mode.
802.11b/g Ad–Hoc Mode.
802.11b/g Infrastructure Mode.
Anything Else/Unknown Error
Automatic Selection.Using this is not supported or recommended
5 Gigahertz 54 Mbps
802.11b/g 2.4 Gigahertz
Continuous Access Mode (ie: always on).
Power Saving Mode.
Unknown power mode.
Auto.
751G Color Mobile Computer User's Manual