| 21 | === Mode === |
| 22 | |
| 23 | {{{ |
| 24 | iwpriv eth2 set_mode <x> |
| 25 | }}} |
| 26 | |
| 27 | where x stands for: |
| 28 | |
| 29 | 1: a |
| 30 | |
| 31 | 2: b |
| 32 | |
| 33 | 3: ab |
| 34 | |
| 35 | 4: g |
| 36 | |
| 37 | 5: ag |
| 38 | |
| 39 | 6: bg |
| 40 | |
| 41 | 7: abg |
| 42 | |
| 43 | === Interface mode === |
| 44 | |
| 45 | {{{ |
| 46 | iwconfig eth2 mode <mode> |
| 47 | }}} |
| 48 | |
| 49 | where <mode> can be ''ad-hoc'', ''managed'', or ''monitor''. Access point mode (master) is not allowed. |
| 50 | |
| 51 | === Channel === |
| 52 | |
| 53 | {{{ |
| 54 | iwconfig eth2 channel <channel> |
| 55 | }}} |
| 56 | |
| 57 | where the ''channel'' is given in channel nomenclature number (36) or in MHz (5180M). |
| 58 | |
| 59 | === Transmit power === |
| 60 | |
| 61 | {{{ |
| 62 | iwconfig eth2 txpower <power in dBm> |
| 63 | }}} |
| 64 | |
| 65 | Alowed range is -12dBm to 20dBm. Actual settings are from -8dBm to 14dBm. Thus |
| 66 | {{{ |
| 67 | iwconfig eth2 txpower 18 |
| 68 | }}} |
| 69 | results in power being set to 14dBm. |
| 70 | |
| 71 | === PHY rate === |
| 72 | |
| 73 | {{{ |
| 74 | iwconfig eth2 rate <x>M |
| 75 | }}} |
| 76 | |
| 77 | where the actual range of rates depends on selected 802.11 mode. In other words |
| 78 | |
| 79 | {{{ |
| 80 | iwconfig eth2 rate 54M |
| 81 | }}} |
| 82 | will not work if selected mode is 2. |
| 83 | |
| 84 | === Note === |
| 85 | Vector Signal Analyzer shows interesting discrepancy. In ''only b'' mode (2) 6Mbps OFDM is used instead of 5.5Mbps DSSS, and in ''only g'' mode 11Mbps DSSS is used instead of 12Mbps OFDM. |