projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb9063
)
b43: HT-PHY: implement lacking 0x908 PHY reg op
author
Rafał Miłecki
<zajec5@gmail.com>
Mon, 27 Jun 2011 13:04:47 +0000
(15:04 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 29 Jun 2011 18:53:25 +0000
(14:53 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_ht.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/phy_ht.c
b/drivers/net/wireless/b43/phy_ht.c
index
42bea30
..
f09bb6e
100644
(file)
--- a/
drivers/net/wireless/b43/phy_ht.c
+++ b/
drivers/net/wireless/b43/phy_ht.c
@@
-104,9
+104,14
@@
static void b43_phy_ht_channel_setup(struct b43_wldev *dev,
/* TODO: separated function? */
for (i = 0; i < 3; i++) {
+ u16 mask;
u32 tmp = b43_httab_read(dev, B43_HTTAB32(26, 0xE8));
- /* TODO: some op on PHY reg 0x908 */
+ if (0) /* FIXME */
+ mask = 0x2 << (i * 4);
+ else
+ mask = 0;
+ b43_phy_mask(dev, B43_PHY_EXTG(0x108), mask);
b43_httab_write(dev, B43_HTTAB16(7, 0x110 + i), tmp >> 16);
b43_httab_write(dev, B43_HTTAB8(13, 0x63 + (i * 4)),