]> git.openfabrics.org - ~emulex/infiniband.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)
commit05f48d45747e422dba0baaaf96ae2ea103791bce
treeca5dac9662561865f7eb6189bcd6badf7d616d1f
parent2812eef151de189567f421c2cb1397b58334d9bd
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