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

Models: XG-762N

1 17
Download 17 pages 51.72 Kb
Page 7
Image 7
3.4.1 Set authentication type

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

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