Skip to content

Contents

Configure ANI settings

The following are the cfg80211tool commands for configuring and displaying ANI settings:

  • cfg80211tool wifi0 / wifi1 ani_enable
  • cfg80211tool wifi0 / wifi1 get_ani_enable
  • cfg80211tool wifi0 / wifi1 ani_poll_len
  • cfg80211tool wifi0 /wifi1 ani_listen_len
  • cfg80211tool wifi0 /wifi1 ani_ofdm_level
  • cfg80211tool wifi0 /wifi1 ani_cck_level

ANI works by monitoring PHY error counters populated by uCode which are stored per observation window.

voting_fail
Neither CCK nor OFDM corelators asserting during the voting period
weak_det_fail
coarse timing for weak detection failed
strong_sig_fail
strong signal event happened, but wlan checks failed (CRC, LSIG, SIGA, SIGB fail checks).
cck_fail
CCK Time/Frequency estimation failed.
power_surge
power surge occurred and triggered restart
power_drop
power drop occurred and triggered restart
btcf_timing_timeout_error
BTCF timing timeout flag failed.
btcf_packet_detect_error
event, and it did not pass. BTCF packet detection flag failed.

Adjusting for increased immunity

  1. Gradually decreases the receiver sensitivity level (increase immunity)

  2. Weak packets will not be detected

  3. Interference levels will decrease Adjusting for decreased immunity

  4. Gradually increased the receiver sensitivity level (decrease immunity)

  5. Weak packets will be detected

  6. Interference levels will increase

An incoming signal is classified into three categories:

  1. Strong category of saturation, SNR Threshold, and Packet Detection

  2. Weak category of saturation, SNR Threshold, and Packet Detection

  3. Weak Low category of saturation, SNR Threshold, and Packet Detection

For each of the preceding categories, the SNR thresholds are listed here and shown in the following diagram:

  • Strong: SNR > -79dB (blindly accept the packet if it satisfies condition (a))
  • Weak: SNR > 10dB (more stringent check)
  • Weak Low: SNR between -120 dB and 12dB (it is possible to modify this level)
  • SNR (dB) = RSSI – RXGAIN – NF