Thread (24 messages) 24 messages, 7 authors, 2012-02-23

Re: [PATCH 02/11] ssb: remove 5GHz antenna gain from sprom

From: Larry Finger <hidden>
Date: 2012-02-19 19:14:22
Also in: linux-mips

On 02/19/2012 12:32 PM, Hauke Mehrtens wrote:
There is no 2.4 GHz or 5GHz antenna gain stored in sprom. The sprom
just stores the gain values for antenna 1 and 2 or 1 to 4 for more
recent sprom versions. On old devices antenna 2 was used for 5 GHz wifi.

Signed-off-by: Hauke Mehrtens<hauke@hauke-m.de>
---
  drivers/net/wireless/b43legacy/phy.c |    2 +-
  drivers/ssb/pci.c                    |   40 ++++++++++++----------------------
  drivers/ssb/pcmcia.c                 |   12 +++------
  drivers/ssb/sdio.c                   |   12 +++------
  include/linux/ssb/ssb.h              |    7 +-----
  5 files changed, 24 insertions(+), 49 deletions(-)
After this patch, I get the warning

drivers/ssb/pci.c: In function ‘sprom_extract_r123’:
drivers/ssb/pci.c:334:5: warning: unused variable ‘gain’ [-Wunused-variable]

I am still testing, but all other patches compile OK.

Larry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help