b43: HT-PHY: init: add missing small-tables writes
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
---
John: this one depends on
[RFC][PATCH] b43: HT-PHY: allow writing longer tables with a single call , please apply the one above.
--- drivers/net/wireless/b43/phy_ht.c | 33 ++++++++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 3 deletions(-)
drivers/net/wireless/b43/phy_ht.c +30 -3
@@ -352,18 +352,45 @@ static int b43_phy_ht_op_init(struct b43_wldev *dev)b43_phy_write (dev,0x0b9 ,0x0072 ); -/* TODO: Some ops here */ +b43_httab_write_few (dev,B43_HTTAB16 (7 ,0x14e ),2 ,0x010f ,0x010f ); +b43_httab_write_few (dev,B43_HTTAB16 (7 ,0x15e ),2 ,0x010f ,0x010f ); +b43_httab_write_few (dev,B43_HTTAB16 (7 ,0x16e ),2 ,0x010f ,0x010f );b43_phy_ht_afe_unk1 (dev); -/* TODO: Some ops here */ +b43_httab_write_few (dev,B43_HTTAB16 (7 ,0x130 ),9 ,0x777 ,0x111 ,0x111 , +0x777 ,0x111 ,0x111 ,0x777 ,0x111 ,0x111 ); + +b43_httab_write (dev,B43_HTTAB16 (7 ,0x120 ),0x0777 ); +b43_httab_write (dev,B43_HTTAB16 (7 ,0x124 ),0x0777 ); + +b43_httab_write (dev,B43_HTTAB16 (8 ,0x00 ),0x02 ); +b43_httab_write (dev,B43_HTTAB16 (8 ,0x10 ),0x02 ); +b43_httab_write (dev,B43_HTTAB16 (8 ,0x20 ),0x02 ); + +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x08 ),4 , +0x8e ,0x96 ,0x96 ,0x96 ); +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x18 ),4 , +0x8f ,0x9f ,0x9f ,0x9f ); +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x28 ),4 , +0x8f ,0x9f ,0x9f ,0x9f ); + +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x0c ),4 ,0x2 ,0x2 ,0x2 ,0x2 ); +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x1c ),4 ,0x2 ,0x2 ,0x2 ,0x2 ); +b43_httab_write_few (dev,B43_HTTAB16 (8 ,0x2c ),4 ,0x2 ,0x2 ,0x2 ,0x2 );b43_phy_maskset (dev,0x0280 ,0xff00 ,0x3e );b43_phy_maskset (dev,0x0283 ,0xff00 ,0x3e );b43_phy_maskset (dev,B43_PHY_OFDM (0x0141 ),0xff00 ,0x46 );b43_phy_maskset (dev,0x0283 ,0xff00 ,0x40 ); -/* TODO: Some ops here */ +b43_httab_write_few (dev,B43_HTTAB16 (00 ,0x8 ),4 , +0x09 ,0x0e ,0x13 ,0x18 ); +b43_httab_write_few (dev,B43_HTTAB16 (01 ,0x8 ),4 , +0x09 ,0x0e ,0x13 ,0x18 ); +/* TODO: Did wl mean 2 instead of 40? */ +b43_httab_write_few (dev,B43_HTTAB16 (40 ,0x8 ),4 , +0x09 ,0x0e ,0x13 ,0x18 );b43_phy_maskset (dev,B43_PHY_OFDM (0x24 ),0x3f ,0xd );b43_phy_maskset (dev,B43_PHY_OFDM (0x64 ),0x3f ,0xd );
Signature · 1 line
1.7.3.4
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
W dniu 13 sierpnia 2011 17:54 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:
Quoted 6 lines
Signed-off-by Rafa? Mi?ecki <[email protected]>---
John: this one depends on
[RFC][PATCH] b43: HT-PHY: allow writing longer tables with a single call , please apply the one above.
John, I've asked you to apply the mentioned patch before this one. By applying *just* this one you've broken build for ppl trying *BROKEN* HT support.
Signature · 1 line
Rafa?
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
Quoted 9 lines · Rafa? Mi?ecki
W dniu 13 sierpnia 2011 17:54 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:
Quoted 6 lines
Signed-off-by Rafa? Mi?ecki <[email protected]>---
John: this one depends on
[RFC][PATCH] b43: HT-PHY: allow writing longer tables with a single call , please apply the one above.
Quoted 3 lines
John, I've asked you to apply the mentioned patch before this one. By applying *just* this one you've broken build for ppl trying *BROKEN* HT support.
Please, _please_, _PLEASE_ stop doing this. I process a lot of patches, and sometimes I will miss these directives.
If your patch is not RFC, then don't post it as RFC. If you post a patch as "Request For Comment" and I don't have any comments, I'm going to delete it. If you later decide it is no longer RFC, then I've probably already deleted it. So you need to re-post the patch as just "PATCH".
I no longer have "b43: HT-PHY: allow writing longer tables with a single call". If it is needed, then you need to repost it.
John
P.S. In general, it is best to post patches with dependencies as a series.
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you linville at tuxdriver.com might be all we have. Be ready.
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
W dniu 23 sierpnia 2011 15:49 u?ytkownik John W. Linville <[email protected]> napisa?:
Quoted 17 lines · Rafa? Mi?ecki
Quoted 9 lines
W dniu 13 sierpnia 2011 17:54 u?ytkownik Rafa? Mi?ecki <[email protected]> napisa?:
Quoted 6 lines
Signed-off-by Rafa? Mi?ecki <[email protected]>---
John: this one depends on
[RFC][PATCH] b43: HT-PHY: allow writing longer tables with a single call , please apply the one above.Quoted 3 lines
John, I've asked you to apply the mentioned patch before this one. By applying *just* this one you've broken build for ppl trying *BROKEN* HT support.
Please, _please_, _PLEASE_ stop doing this. ?I process a lot of patches, and sometimes I will miss these directives.
Quoted 8 lines
If your patch is not RFC, then don't post it as RFC. ?If you post a patch as "Request For Comment" and I don't have any comments, I'm going to delete it. ?If you later decide it is no longer RFC, then I've probably already deleted it. ?So you need to re-post the patch as just "PATCH".
I no longer have "b43: HT-PHY: allow writing longer tables with a single call". ?If it is needed, then you need to repost it.
Sorry, I didn't know about this "RFC" rule. I expected patch to be applied after spending a few days without comments. Will re-send in the future.
Signature · 1 line
Rafa?
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
In reply to John W. LinvilleQuoted 2 lines · John W. Linville
Please, _please_, _PLEASE_ stop doing this. I process a lot of patches, and sometimes I will miss these directives.
Best just to publish a git tree which John can pull in to wireless-testing.git, much as trees get pulled to linux-next.
That way it'll *always* have the patches you want, in the order you want.
Signature · 8 lines
dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5818 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110823/2f749092/attachment.bin>
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
Quoted 9 lines · David Woodhouse
Quoted 2 lines · John W. Linville
Please, _please_, _PLEASE_ stop doing this. I process a lot of patches, and sometimes I will miss these directives.
Best just to publish a git tree which John can pull in to wireless-testing.git, much as trees get pulled to linux-next.
That way it'll *always* have the patches you want, in the order you want.
That's true, but setting up git tree for wireless is not trivial and not for the faint of heart. Especially due to differences between wireless-next and wireless-testing. Sending a patch series is a lot easier and causes less tears.
Signature · 1 line
Kalle Valo
PATCH 1/1 b43: HT-PHY: init: add missing small-tables writes
Quoted 4 lines · Kalle Valo
That's true, but setting up git tree for wireless is not trivial and not for the faint of heart. Especially due to differences between wireless-next and wireless-testing. Sending a patch series is a lot easier and causes less tears.
Most of the time it wouldn't need to be based on wireless-testing. It could just be based on Linus's last release. If wireless-next is actually a real stable git tree, it could perhaps be based on that too.
Signature · 8 lines
dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5818 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110824/655c74a8/attachment.bin>