iwconfig wlan0 key off
power:
Used to manipulate the power management scheme mode.
Examples:
iwconfig ethX power on (Turn on power saving mode)
iwconfig ethX power off (Turn off power saving mode)
3.4 Private commands:
Except for commands support for wireless extension, we also define some commands for
us to set parameters to our driver. One can use the
“iwpriv”
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 ZD1211 is 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: