11
This command is used to turn off WiMAX modem and RF. Before doing so, it disconnect from the network if
it is already connected.
2.2.2.4. wb_ne
This command is used to initiate network entry procedure when the device is in STANDBY state. This
command is discarded if the device is in other states. On successful connection, the device state is changed to
ACTIVE. Otherwise, it stays in STANDBY state.
2.2.2.5. wb_nd
This command is used to disconnect from the network. The device state is changed from ACTIVE to
STANDBY.
2.2.2.6. wb_bs
This command is for setting the bandwidth field in parameter block. After setting the bandwidth, you should
reboot. You can choose 0 for 8.75Mhz, 3 for 5Mhz, 6 for 10Mhz as an argument.
2.2.3. WiMAX Text DM Commands
GCT WiMAX MAC provides an easy way to fine-tune a numerous parameters that affect the behavior of
WiMAX device.
These commands are used to control the low-level MAC behavior. For detailed information, please refer to
“GCT WiMAX Text DM Reference Manual”.
2.2.4. Command Batch Processing
User can list commands listed above in [DM command] section of WiMAX configuration file
(/etc/wibro.conf). The WiMAX connection manager executes these commands automatically, alleviating the
need to the same thing
repeatedly. For example, we have listed two commands; “d ver” is the WiMAX Text DM commands that
shows the MAC-PHY version of the firmware and “wb_ru” turns on the WiMAX modem and RF.
The developers can find the MAC and PHY parameters that best fit the targeting WiMAX network by trying
WiMAX Text DM commands with different parameters. Once they are found, those settings can be put into
the configuration file.
2.3. Control of connection to WiMax network
2.3.1. Connection with dynamic IP allocation
WiMax connection manager automatically tries to connect to the WiMax network, if some variables
defined in the configuration file for WiMax connection manger (/etc/wcm.conf) are YES, and WiMax modem
and RF are turned on. As seen in the example code of /etc/wcm.conf in section 5.1,
autoconnection_enable
makes it try to connect to the network whenever it discovers the available network,
dhcp_enable
executes
DHCP client to acquire IP configurations from the network service provider, and
wb_ru
in DM_command
section turns on WiMax modem and RF.
Two configuration variables and one command enable the WiMax connection manager to try to connect to
the WiMax network
> cat /etc/wcm.conf