WLAN Calibration
From OMAPpedia
Contents |
[edit] WLAN RF Calibration Procedure (GingerBread)
For optimal Wi-Fi performance it is mandatory to calibrate the Wi-Fi hardware. Follow the procedure below to perform the calibration for your hardware:
When you use uncalibrated setup you will see the following lines on your console when turning on Wi-Fi:
TIWLAN: 1089.979242: Starting to process NVS... TIWLAN: 1089.983698: No Nvs, Setting default MAC address TIWLAN: 1089.989007: pHwInit->uEEPROMCurLen: 1c TIWLAN: 1089.993462: ERROR: If you are not calibating the device, you will soon get errors !!!
[edit] wl1283 (Wi-Fi chip on Blaze reference platform)
- First find the driver/firmware combination you are using. You can find that out from the console when turning on Wi-Fi.
TIWLAN: 1094.705342: -------------------------------------------------------------------- TIWLAN: 1094.714192: Driver Version : MCP-WiLink_Driver_2.5.3.0.18 TIWLAN: 1094.721303: Firmware Version: Rev 7.1.3.0.54 TIWLAN: 1094.726827: Station ID : 08-00-28-A0-23-FB TIWLAN: 1094.732503: --------------------------------------------------------------------
-
Turn OFF Wi-Fi from UI before proceeding to the calibration steps.
- Next follow the procedure below for driver version MCP-WiLink_Driver_2.5.3.0.15 / MCP-WiLink_Driver_2.5.3.0.18:
For 802.11bg/n (2.4 GHz):
# insmod system/etc/wifi/tiwlan_drv.ko # start wlan_loader # ifconfig tiwlan0 up ## wlan_cu -b / w p 1 l 2 f 2 / t b v 21 / t b t 1 0 0 0 0 0 0 0 / q # /system/bin/rmmod tiwlan_drv
For 802.11a (5 GHz):
# insmod system/etc/wifi/tiwlan_drv.ko # start wlan_loader # ifconfig tiwlan0 up ## wlan_cu -b / w p 1 l 2 f 2 / t b v 21 / t b t 1 1 1 1 1 1 1 1 / q # /system/bin/rmmod tiwlan_drv
- Now if you turn on Wi-Fi the calibration will take effect. This can be confirmed by looking at console logs when turning on Wi-Fi.
It should mention "NVS found" message.
TIWLAN: 1109.092335: Working on a 1283 PG 2.0 board. TIWLAN: 1109.126821: Starting to process NVS... TIWLAN: 1109.131307: NVS found, EEPROM Image addr=0xeed03c00, EEPROM Len=0x0x1d4
[edit] WLAN RF Calibration Procedure (HoneyComb/ICS)
From HC onwards we moved to MAC80211 based TI Driver. Refer here for more info Android_Mac80211