Z-Com XG-762N manual Set authentication type, Set preamble type, Get preamble type, Set MAC mode

Page 7

Except for commands support for wireless extension, we also define some commands for us to set parameters to our driver. One can use the ¡°i wpri v¡±for this purpose.

3.4.1 Set authentication type

One can set the authentication to our driver by the following command:

iwpriv ethX set_auth <Auth Type>

0:Open System

1:Shared Key

Be aware that shared key authentication requires a WEP key.

3.4.2 Set preamble type

One can set the preamble type to our driver by the following command:

iwpriv ethX set_preamble <Preamble Type>

0:Long preamble

1:Short preamble

3.4.3 Get preamble type

One can get the preamble type of our driver by the following command:

iwpriv ethX get_preamble

3.4.4 Set MAC mode

Because the XG-762N is a+b+g solution, we support the PURE_A, PURE B, PURE G and Mixed mode in our driver. One can use the following command to change the MAC mode in our driver.

iwpriv ethX set_mac_mode <MAC mode>

1:Mixed Mode

2:Pure G Mode

3:Pure B Mode

4:Pure A Mode

3.4.5 Get MAC mode

One can get the MAC mode of our driver by the following command

iwpriv ethX get_mac_mode

3.4.6 Connect to the given Access Point

One can associate with the given Access Point with a given Cell Number by the following command.

iwpriv ethX connect <Cell Number>

7

Image 7
Contents User Guide of XG-762N USB Linux Driver Requirements IntroductionPackage Extraction Build and install the driverInstall individual driver Building the device driverBuild the debugging tool Open the network interface Configure the Wireless settingsGetting Start Load the driverKey/encryption Private commandsConnect to the given Access Point Set authentication typeSet MAC mode Get MAC modeActivate MIC Fail Counter Measure Feature Dynamical Region SettingFor 802.11b/g onlySetting Access Point Set up IP addressFixed Setting Get IP setting from DhcpWorking with Linux WPA supplicant Setup the Linux wpa supplicantId.pem is created by Page Customization of VID/PID Table Special Mode for Embedded Station Chariot TestPage Enable Burst Mode Turbo ModePage Conclusion