]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore/wl12xx: add support for HP and SKW FEM radio manufacturers
authorYair Shapira <yair.shapira@ti.com>
Wed, 13 Jun 2012 14:14:21 +0000 (17:14 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 13 Jun 2012 18:52:56 +0000 (21:52 +0300)
commit71c0a0122ebdf21a4060561e5d734614d950e255
treeca5dac9662561865f7eb6189bcd6badf7d616d1f
parenta0d96ca2f2b072aeb0daaa8b6e26e45aef2e089c
wlcore/wl12xx: add support for HP and SKW FEM radio manufacturers

Add support for HP (High Performance TQS fem type 3) and SKW
(fem type 2). This is done by increasing the number of FEM
manufacturers to 4.

Usually FEM parameters from ini file are read from nvs file and
passed to firmware using TEST_CMD_INI_FILE_RADIO_PARAM. Still,
because the nvs file has only place for 2 FEMs, we need to pass the
new FEM types information in one of the available entries.

This is done by mapping new fem types 2,3 to entry 0. This solution
works for manual FEM selection. AutoDetect-FEM still support only
fem types 0 and 1.

Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/cmd.c
drivers/net/wireless/ti/wlcore/ini.h