COMPANY CONFIDENTIAL
38
OFDMWeakDet
#iwpriv wifi
N
OFDMWeakDet
1|0
This command will select normal (0) or weak (1) OFDM signal detection thresholds in the baseband register.
The actual thresholds are factory set, and are loaded in the EEPROM. This parameter corresponds to the
initialization value for the ANI algorithm, and is only valid prior to system startup. The default value for this
parameter is 1 (detect weak signals). The corresponding Get command will return the initialization value only.
#iwpriv wifi0 OFDMWeakDet 0
#iwpriv wifi0 GetOFDMWeakDet
wifi0 GetOFDMWeakDet:1
RSSIThrLow
RSSIThrHi
#iwpriv wifi
N
RSSIThrLow
far threshold
#iwpriv wifi
N
RSSIThrHi
near threshold
These settings are used to determine the relative distance of the AP from the station. This is used to determine
how the ANI immunity levels are selected. If the average beacon RSSI of beacons from the AP is greater than
RSSIThrHi, then the STA is determined to be at close-range. If the average beacon RSSI of beacons from the
AP is less than RSSIThrHi, but greater than RSSIThrLow, then the STA is determined to be at mid-range. If the
average beacon RSSI of beacons from the AP is less than RSSIThrLow, then the STA is determined to be at
long-range. The default values 40 for the high (near) threshold and 7 for the low (far) threshold. This
command has corresponding Get commands
#iwpriv wifi0 RSSIThrLow 6
#iwpriv wifi0 RSSIThrHi 45
#iwpriv wifi0 GetRSSIThrLow
wifi0 GetRSSIThrLow:7
#iwpriv wifi0 GetRSSIThrHi
wifi0 GetRSSIThrHi:40
setCountryID
setCountry
#iwpriv wifi
N
setCountryID
Country ID Num
#iwpriv wifi
N
setCountry
Country String
These are used to set the AP to the regulatory requirements of the indicated country. The SetCountryID
command takes an integer value that represents the country, such as 840 for US. The setCountry
command takes a string argument that includes the two character country string, plus “I” for indoor or
“O” for outdoor. The default value for country ID is 0 for debug, so that during initialization the country ID
must be defined. This is a requirement for the final system configuration. See Table 14 Country Code
Definition
for a full list of country IDs and strings.
Each command has a corresponding get command.
#iwpriv wifi0 setCountryID 840
#iwpriv wifi0 setCountry USI
#iwpriv wifi0 getCountryID
wifi0 getCountryID:840
#iwpriv wifi0 getCountry
wifi0 getCountry:USI
SpurImmLvl
#iwpriv wifi
N
SpurImmLvl
level
This command will set the Spur Immunity level, corresponding to the baseband parameter, cyc_pwr_thr1 that
determines the minimum cyclic RSSI that can cause OFDM weak signal detection. Raising this level reduces
the number of OFDM PHY Errs/s (caused due to board spurs, or interferers with OFDM symbol periodicity),
lowering it allows detection of weaker OFDM signals (extending range). As with most ANI related commands,
this value is the initialization value, not the operating value. The default value for this command is 2. This
command has corresponding get commands.