Contents
- Configure ANI settings
- ANI works by monitoring PHY error counters populated by uCode which are stored per observation window.
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
-
Gradually decreases the receiver sensitivity level (increase immunity)
-
Weak packets will not be detected
-
Interference levels will decrease Adjusting for decreased immunity
-
Gradually increased the receiver sensitivity level (decrease immunity)
-
Weak packets will be detected
-
Interference levels will increase
An incoming signal is classified into three categories:
-
Strong category of saturation, SNR Threshold, and Packet Detection
-
Weak category of saturation, SNR Threshold, and Packet Detection
-
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