next up previous contents
Next: get_mode - Get Wireless Up: Private (Driver Specific) Driver Previous: getoptie - Get Optional   Contents

mode - Set Wireless Mode

Number of Input Arguments: 1
Number of Returned Arguments: 0
Default Value: auto
Resets State Machine After Command: Yes
This command sets the wireless mode, i.e. the frequency band and the protocol used. The mode can be specified either by name or by number. The allowed mode names and corresponding numbers are given in Table [*].

Table: 802.11 Operating Modes
Mode Number Description
auto 0 Auto select operating mode
11a 1 802.11a (5GHz) mode (54Mbps)
11b 2 802.11b (2.4GHz) mode (11Mbps)
11g 3 802.11g (2.4GHz) mode with 802.11b compatibility (54Mbps)
fh 4 802.11 frequency hopping mode
11adt/111at 5 802.11a (5GHz) dynamic turbo mode
11gdt/11gt 6 802.11g (2GHz) dynamic turbo mode (108Mbps)
11ast 7 802.11a (5GHz) static turbo mode


Example:Either of the following two commands will set the wireless operating mode on a device named ath0 to use 802.11a dynamic turbo:
myprompt# iwpriv ath0 mode 11a
or
myprompt# iwpriv ath0 mode 1


next up previous contents
Next: get_mode - Get Wireless Up: Private (Driver Specific) Driver Previous: getoptie - Get Optional   Contents
root 2005-12-16