wl18xx: number_of_assembled_ant5 indicates if A band is enabled
authorYair Shapira <yair.shapira@ti.com>
Sun, 5 Aug 2012 13:51:16 +0000 (16:51 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:52 +0000 (12:13 +0300)
commite166de556f7795a3061e49deca28d61b3764d512
tree403cc5bcd9963eb244e8ff22b332aa4e751ef0f3
parente7a6ba29d3a1610a5e9706e1892a07ad74b34c9a
wl18xx: number_of_assembled_ant5 indicates if A band is enabled

Use number_of_assembled_ant5 phy param to indicate if A band is enabled:
if number_of_assembled_ant5 != 0 then it is enabled otherwise it is
disabled.

This aligns with phy implementation that uses this param both to indicate
if band is active and the number of antennas.

This parameter replaces enable_11a module param that was removed.

User-Space applications can use wlconf and/or INI files to disable A band
using this parameter.

Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wl18xx/main.c