1. 程式人生 > >RouterOS中wifi自動頻率選擇及發射功率設定

RouterOS中wifi自動頻率選擇及發射功率設定

1. 在routeros中,wifi使用的頻率設定說明


DFS的全稱是Dynamic Frequency Selection,即自動頻率選擇,只有在DFS Mode設定為None時,Frequency才有效,此時可以手工選擇頻率置。否則DFS會根據一定的演算法自動選擇工作頻率。關於DFS的具體說明如下:

Controls DFS (Dynamic Frequency Selection).

  • none - disables DFS.
  • no-radar-detect - Select channel from scan-list with the lowest number of detected networks. In 'wds-slave' mode this setting has no effect.
  • radar-detect - Select channel with the lowest number of detected networks and use it if no radar is detected on it for 60 seconds. Otherwise, select different channel. This setting may be required by the country regulations.
This property has effect only in AP mode.

2. 發射功率的選擇

發射功率的選擇首先看Frequency Mode的設定:


有關該引數的設定,官方說明如下:

Three frequency modes are available:

  • regulatory-domain - Limit available channels and maximum transmit power for each channel according to the value of country
  • manual-txpower - Same as above, but do not limit maximum transmit power.
  • superchannel - Conformance Testing Mode. Allow all channels supported by the card.
List of available channels for each band can be seen in /wireless info print. This mode allows you to test wireless channels outside the default scan-list and/or regulatory domain. This mode should only be used in controlled environments, or if you have a special permission to use it in your region. Before v4.3 this was called Custom Frequency Upgrade, or Superchannel. Since RouterOS v4.3 this mode is available without special key upgrades to all installations.

所以,如果想簡單點,就直接選擇regulatory-domain,這樣可用頻率和發射功率都根據所選的國家自動設定。

如果想手動控制發射功率,可是選擇Manual-txpower,此時,發射功率由Tx Power Mode和Tx Power兩個引數決定:


有關Tx Power Mode引數的官方說明如下:

sets up tx-power mode for wireless card

  • default - use values stored in the card
  • card-rates - use transmit power as defined by tx-power setting
  • all-rated-fixed - use same transmit power for all data rates. Can damage the card if transmit power is set above rated value of the card for used rate
  • manual-table - define transmit power for each rate separately. Can damage the card if transmit power is set above rated value of the card for used rate.