📄 regdomain.1
字号:
.Dd January 10, 2004.Dt REGDOMAIN 1.Os.Sh NAME.Nm regdomain.Nd list channels and transmit power for a country/regulatory domain.Sh SYNOPSIS.Nm.Op Fl aioedlpcfABGT.Op Fl m Ar mode.Bk.Op Ar country.Ek.Sh DESCRIPTION.Nmdisplays the list of frequencies and the associated maximum transmitpower permitted within a regulatory domain and/or country..PpIf no command line options are given, a default country (\c.Ql US )is used.Country and regulatory names are case insensitive..PpThe following options are available:.Bl -tag -width indent.It Fl aBy default.Nmwill display B channels only if they are not also marked as available foruse as G channels and similary for A and T channels.With this option.Nmwill list all channels..It Fl iCalculate channels based on indoor use..It Fl oCalculate channels based on outdoor use (default)..It Fl eCalculate channels not assuming extended channel mode..It Fl dEnabling debugging in the HAL code that calculates the available channelsand transmit power values..It Fl lProvide a list of all known country and regulatory domain names..It Fl m Ar modeCalculate channels and transmit power for operation in.Ql mode ;one of.Ql station ,.Ql ibss ,.Ql monitor ,and.Ql ap(or the first two letters)..It Fl pMark passive scan channels with lower case letters and activescan channels with upper case letters..It Fl cDisplay IEEE channel numbers instead of frequencies..It Fl fDisplay frequencies (default)..It Fl ADisplay only 11A channels..It Fl BDisplay only 11B channels..It Fl GDisplay only 11G channels..It Fl TDisplay only Turbo channels..El.Sh EXAMPLESThe following demonstrates how to list the permissible frequenciesand maximum transport power per channel for use in Spain:.Pp.nftubby% regdomain es\&SPAIN (ES, 0x2d4, 724) NULL1_WORLD (0x3, 3)2412G 14.0 2417G 14.0 2422G 14.0 2427G 17.0 2432G 14.0 2437G 17.02442G 14.0 2447G 17.0 2452G 17.0 2457G 14.0 2462G 17.0.fi.PpEach frequency has a suffix that is one of:.Ql G ,.Ql B ,.Ql A ,or.Ql T according to whether the channel is usable with 802.11g, 802.11b,802.11a, or Atheros Turbo mode.All channels listed as .Ql Gare also usable in.Ql B .Likewise, all channels listed as.Ql Aare usable in.Ql T .Channels listed as.Ql Bor.Ql Tare only usable in those modes.(Note that when the.Fl poption is specified passive scan channels are marked with a lower case.Ql g ,.Ql b ,.Ql a ,or.Ql t .)The transmit power is given in units of dbM..Sh DIAGNOSTICSVarious diagnostics about unknown regulatory domains and/or countrycodes may be encountered.Use the.Fl loption for a list of valid names..Sh SEE ALSO.Xr ath 4 ,.Xr ath_hal 4.Sh STANDARDSLots belong here..Sh NOTES.Nmuse the HAL to calculate the set of channels.The transmit power calculations are done by emulatinghow the HAL works.Because .Nmdoes notread the actual EEPROM contents from a device this emulation may lagbehind current practice..Sh BUGSThe HAL reset logic should be used to calculate the transmit powerfor each channel instead of using a separate copy of the code.The data presented by.Nmare the expected values; for compliance testing one must measure the actualoperation of the driver and the HAL.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -