All of lore.kernel.org
 help / color / mirror / Atom feed
* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
@ 2011-08-26 18:41 ` Rafał Miłecki
  0 siblings, 0 replies; 13+ messages in thread
From: Rafał Miłecki @ 2011-08-26 18:41 UTC (permalink / raw)
  To: linux-wireless, John W. Linville
  Cc: b43-dev, David Woodhouse, Maxime Vincent, Darren,
	Rafał Miłecki

After improving DMA (the important patch for BCM4331 is my one) we can finally
enable support for HT-PHY. The whole code has been written from MMIO dumps
grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
by 3 people. Unfortunately there are still some missing conditions that can't
be fixed without RE the closed driver or having Broadcom co-operating. However
it seems we live with that well enough for basic usage :)

BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
was frequently reported to lock up machines when working with this card (see
Ubuntu's forum about MacBook 8.1).

To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
extract firmware from some recent closed source driver. See our wiki page in
few hours for nice howto.

Big thanks go to David Woodhouse for providing me access to his MacBook, letting
grab the dumps, test patches and debugging a lot of hard cases with me (and
sometime without ;) ).

Larry Finger (1):
  b43: Relax requirement for descriptors to be in the DMA zone

Rafał Miłecki (2):
  b43: use 8K buffers for 64-bit DMA to workaround hardware bug
  b43: make HT-PHY support experimental

 drivers/net/wireless/b43/Kconfig |    6 +++---
 drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
 drivers/net/wireless/b43/dma.h   |    3 ++-
 3 files changed, 21 insertions(+), 19 deletions(-)


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
@ 2011-08-26 18:41 ` Rafał Miłecki
  0 siblings, 0 replies; 13+ messages in thread
From: Rafał Miłecki @ 2011-08-26 18:41 UTC (permalink / raw)
  To: linux-wireless, John W. Linville
  Cc: b43-dev, David Woodhouse, Maxime Vincent, Darren,
	Rafał Miłecki

After improving DMA (the important patch for BCM4331 is my one) we can finally
enable support for HT-PHY. The whole code has been written from MMIO dumps
grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
by 3 people. Unfortunately there are still some missing conditions that can't
be fixed without RE the closed driver or having Broadcom co-operating. However
it seems we live with that well enough for basic usage :)

BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
was frequently reported to lock up machines when working with this card (see
Ubuntu's forum about MacBook 8.1).

To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
extract firmware from some recent closed source driver. See our wiki page in
few hours for nice howto.

Big thanks go to David Woodhouse for providing me access to his MacBook, letting
grab the dumps, test patches and debugging a lot of hard cases with me (and
sometime without ;) ).

Larry Finger (1):
  b43: Relax requirement for descriptors to be in the DMA zone

Rafa? Mi?ecki (2):
  b43: use 8K buffers for 64-bit DMA to workaround hardware bug
  b43: make HT-PHY support experimental

 drivers/net/wireless/b43/Kconfig |    6 +++---
 drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
 drivers/net/wireless/b43/dma.h   |    3 ++-
 3 files changed, 21 insertions(+), 19 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-26 18:41 ` Rafał Miłecki
  (?)
@ 2011-08-26 19:56 ` James Anslow
  -1 siblings, 0 replies; 13+ messages in thread
From: James Anslow @ 2011-08-26 19:56 UTC (permalink / raw)
  To: b43-dev

On 26/08/11 19:41, Rafa? Mi?ecki wrote:
> After improving DMA (the important patch for BCM4331 is my one) we can finally
> enable support for HT-PHY. The whole code has been written from MMIO dumps
> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
> by 3 people. Unfortunately there are still some missing conditions that can't
> be fixed without RE the closed driver or having Broadcom co-operating. However
> it seems we live with that well enough for basic usage :)
>
> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
> was frequently reported to lock up machines when working with this card (see
> Ubuntu's forum about MacBook 8.1).
>
> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
> extract firmware from some recent closed source driver. See our wiki page in
> few hours for nice howto.
>
> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
> grab the dumps, test patches and debugging a lot of hard cases with me (and
> sometime without ;) ).
>
> Larry Finger (1):
>   b43: Relax requirement for descriptors to be in the DMA zone
>
> Rafa? Mi?ecki (2):
>   b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>   b43: make HT-PHY support experimental
>
>  drivers/net/wireless/b43/Kconfig |    6 +++---
>  drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
>  drivers/net/wireless/b43/dma.h   |    3 ++-
>  3 files changed, 21 insertions(+), 19 deletions(-)
>
>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev
Massive congratulations. I can confirm that the 4331 does indeed lock up
the MBP 8,1 with ndiswrapper so this is hugely appreciated.

Good job.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110826/eb0a0995/attachment.sig>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-26 18:41 ` Rafał Miłecki
@ 2011-08-26 21:27   ` Michael Büsch
  -1 siblings, 0 replies; 13+ messages in thread
From: Michael Büsch @ 2011-08-26 21:27 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: linux-wireless, John W. Linville, b43-dev, David Woodhouse,
	Maxime Vincent, Darren

On Fri, 26 Aug 2011 20:41:18 +0200
Rafał Miłecki <zajec5@gmail.com> wrote:

> After improving DMA (the important patch for BCM4331 is my one) we can finally
> enable support for HT-PHY.

I'd really like to thank you guys for your great work on the driver.
You made some really significant improvements to the driver in the last few
months and thus ported b43 over to the latest and greatest broadcom
wireless devices. Things looked messy with only legacy G-PHY support,
but then you guys appeared. ;) Thanks.

-- 
Greetings, Michael.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
@ 2011-08-26 21:27   ` Michael Büsch
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Büsch @ 2011-08-26 21:27 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: linux-wireless, John W. Linville, b43-dev, David Woodhouse,
	Maxime Vincent, Darren

On Fri, 26 Aug 2011 20:41:18 +0200
Rafa? Mi?ecki <zajec5@gmail.com> wrote:

> After improving DMA (the important patch for BCM4331 is my one) we can finally
> enable support for HT-PHY.

I'd really like to thank you guys for your great work on the driver.
You made some really significant improvements to the driver in the last few
months and thus ported b43 over to the latest and greatest broadcom
wireless devices. Things looked messy with only legacy G-PHY support,
but then you guys appeared. ;) Thanks.

-- 
Greetings, Michael.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-26 21:27   ` Michael Büsch
@ 2011-08-26 21:34     ` Larry Finger
  -1 siblings, 0 replies; 13+ messages in thread
From: Larry Finger @ 2011-08-26 21:34 UTC (permalink / raw)
  To: Michael Büsch
  Cc: Rafał Miłecki, linux-wireless, John W. Linville,
	b43-dev, David Woodhouse, Maxime Vincent, Darren

On 08/26/2011 04:27 PM, Michael Büsch wrote:
> On Fri, 26 Aug 2011 20:41:18 +0200
> Rafał Miłecki<zajec5@gmail.com>  wrote:
>
>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>> enable support for HT-PHY.
>
> I'd really like to thank you guys for your great work on the driver.
> You made some really significant improvements to the driver in the last few
> months and thus ported b43 over to the latest and greatest broadcom
> wireless devices. Things looked messy with only legacy G-PHY support,
> but then you guys appeared. ;) Thanks.

The "guys" are really only one guy, Rafał. His ability to convert ugly mmio 
dumps into code is remarkable.

Larry

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
@ 2011-08-26 21:34     ` Larry Finger
  0 siblings, 0 replies; 13+ messages in thread
From: Larry Finger @ 2011-08-26 21:34 UTC (permalink / raw)
  To: Michael Büsch
  Cc: Rafał Miłecki, linux-wireless, John W. Linville,
	b43-dev, David Woodhouse, Maxime Vincent, Darren

On 08/26/2011 04:27 PM, Michael B?sch wrote:
> On Fri, 26 Aug 2011 20:41:18 +0200
> Rafa? Mi?ecki<zajec5@gmail.com>  wrote:
>
>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>> enable support for HT-PHY.
>
> I'd really like to thank you guys for your great work on the driver.
> You made some really significant improvements to the driver in the last few
> months and thus ported b43 over to the latest and greatest broadcom
> wireless devices. Things looked messy with only legacy G-PHY support,
> but then you guys appeared. ;) Thanks.

The "guys" are really only one guy, Rafa?. His ability to convert ugly mmio 
dumps into code is remarkable.

Larry

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-26 18:41 ` Rafał Miłecki
                   ` (2 preceding siblings ...)
  (?)
@ 2011-08-27 10:16 ` James Anslow
  2011-08-27 10:22   ` Rafał Miłecki
  -1 siblings, 1 reply; 13+ messages in thread
From: James Anslow @ 2011-08-27 10:16 UTC (permalink / raw)
  To: b43-dev

On 26/08/11 19:41, Rafa? Mi?ecki wrote:
> After improving DMA (the important patch for BCM4331 is my one) we can finally
> enable support for HT-PHY. The whole code has been written from MMIO dumps
> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
> by 3 people. Unfortunately there are still some missing conditions that can't
> be fixed without RE the closed driver or having Broadcom co-operating. However
> it seems we live with that well enough for basic usage :)
>
> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
> was frequently reported to lock up machines when working with this card (see
> Ubuntu's forum about MacBook 8.1).
>
> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
> extract firmware from some recent closed source driver. See our wiki page in
> few hours for nice howto.
>
> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
> grab the dumps, test patches and debugging a lot of hard cases with me (and
> sometime without ;) ).
>
> Larry Finger (1):
>   b43: Relax requirement for descriptors to be in the DMA zone
>
> Rafa? Mi?ecki (2):
>   b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>   b43: make HT-PHY support experimental
>
>  drivers/net/wireless/b43/Kconfig |    6 +++---
>  drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
>  drivers/net/wireless/b43/dma.h   |    3 ++-
>  3 files changed, 21 insertions(+), 19 deletions(-)
>
>
> _______________________________________________
> b43-dev mailing list
> b43-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/b43-dev

I've checked the wiki page and downloads area but the latest version of
fwcutter that I could find was from several days ago.

Can anyone direct me towards the latest b43-fwcutter download as
mentioned above?

Can't wait to get 4331 support!

Many thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110827/9128d783/attachment.sig>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-27 10:16 ` James Anslow
@ 2011-08-27 10:22   ` Rafał Miłecki
  2011-08-27 12:59     ` James Anslow
  0 siblings, 1 reply; 13+ messages in thread
From: Rafał Miłecki @ 2011-08-27 10:22 UTC (permalink / raw)
  To: b43-dev

2011/8/27 James Anslow <james@jamesanslow.net>:
> On 26/08/11 19:41, Rafa? Mi?ecki wrote:
>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>> enable support for HT-PHY. The whole code has been written from MMIO dumps
>> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
>> by 3 people. Unfortunately there are still some missing conditions that can't
>> be fixed without RE the closed driver or having Broadcom co-operating. However
>> it seems we live with that well enough for basic usage :)
>>
>> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
>> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
>> was frequently reported to lock up machines when working with this card (see
>> Ubuntu's forum about MacBook 8.1).
>>
>> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
>> extract firmware from some recent closed source driver. See our wiki page in
>> few hours for nice howto.
>>
>> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
>> grab the dumps, test patches and debugging a lot of hard cases with me (and
>> sometime without ;) ).
>>
>> Larry Finger (1):
>> ? b43: Relax requirement for descriptors to be in the DMA zone
>>
>> Rafa? Mi?ecki (2):
>> ? b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>> ? b43: make HT-PHY support experimental
>>
>> ?drivers/net/wireless/b43/Kconfig | ? ?6 +++---
>> ?drivers/net/wireless/b43/dma.c ? | ? 31 ++++++++++++++++---------------
>> ?drivers/net/wireless/b43/dma.h ? | ? ?3 ++-
>> ?3 files changed, 21 insertions(+), 19 deletions(-)
>>
>
> I've checked the wiki page and downloads area but the latest version of
> fwcutter that I could find was from several days ago.
>
> Can anyone direct me towards the latest b43-fwcutter download as
> mentioned above?
>
> Can't wait to get 4331 support!

Just use the howto for kernel 3.2 (I know it's a little tricky for now
to use 3.2, wireless-next is also OK for that howto):
http://wireless.kernel.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above

You have to:
1) Clone git repository wireless-next
2) Apply 3 patches from this patchset
3) Compile kernel with B43_PHY_HT
4) Install firmware (I think you already started that part)

b43-fwcutter in 015 version is alright for extracting 666.2 firmware.

-- 
Rafa?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-27 10:22   ` Rafał Miłecki
@ 2011-08-27 12:59     ` James Anslow
  2011-08-27 13:22       ` Rafał Miłecki
  0 siblings, 1 reply; 13+ messages in thread
From: James Anslow @ 2011-08-27 12:59 UTC (permalink / raw)
  To: b43-dev

On 27/08/11 11:22, Rafa? Mi?ecki wrote:
> 2011/8/27 James Anslow <james@jamesanslow.net>:
>> On 26/08/11 19:41, Rafa? Mi?ecki wrote:
>>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>>> enable support for HT-PHY. The whole code has been written from MMIO dumps
>>> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
>>> by 3 people. Unfortunately there are still some missing conditions that can't
>>> be fixed without RE the closed driver or having Broadcom co-operating. However
>>> it seems we live with that well enough for basic usage :)
>>>
>>> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
>>> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
>>> was frequently reported to lock up machines when working with this card (see
>>> Ubuntu's forum about MacBook 8.1).
>>>
>>> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
>>> extract firmware from some recent closed source driver. See our wiki page in
>>> few hours for nice howto.
>>>
>>> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
>>> grab the dumps, test patches and debugging a lot of hard cases with me (and
>>> sometime without ;) ).
>>>
>>> Larry Finger (1):
>>>   b43: Relax requirement for descriptors to be in the DMA zone
>>>
>>> Rafa? Mi?ecki (2):
>>>   b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>>>   b43: make HT-PHY support experimental
>>>
>>>  drivers/net/wireless/b43/Kconfig |    6 +++---
>>>  drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
>>>  drivers/net/wireless/b43/dma.h   |    3 ++-
>>>  3 files changed, 21 insertions(+), 19 deletions(-)
>>>
>> I've checked the wiki page and downloads area but the latest version of
>> fwcutter that I could find was from several days ago.
>>
>> Can anyone direct me towards the latest b43-fwcutter download as
>> mentioned above?
>>
>> Can't wait to get 4331 support!
> Just use the howto for kernel 3.2 (I know it's a little tricky for now
> to use 3.2, wireless-next is also OK for that howto):
> http://wireless.kernel.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above
>
> You have to:
> 1) Clone git repository wireless-next
> 2) Apply 3 patches from this patchset
> 3) Compile kernel with B43_PHY_HT
> 4) Install firmware (I think you already started that part)
>
> b43-fwcutter in 015 version is alright for extracting 666.2 firmware.
>
Thanks for your support on this.

I'm not too knowledgeable when it comes to kernel development. However,
I am eager to learn.

I've cloned the repo and have wireless-next.

Can you tell me where I will find these 3 patches to apply them to
wireless-next?

Many thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110827/b8264c1c/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-27 12:59     ` James Anslow
@ 2011-08-27 13:22       ` Rafał Miłecki
  2011-08-27 13:38         ` James Anslow
  0 siblings, 1 reply; 13+ messages in thread
From: Rafał Miłecki @ 2011-08-27 13:22 UTC (permalink / raw)
  To: b43-dev

2011/8/27 James Anslow <james@jamesanslow.net>:
> On 27/08/11 11:22, Rafa? Mi?ecki wrote:
>> 2011/8/27 James Anslow <james@jamesanslow.net>:
>>> On 26/08/11 19:41, Rafa? Mi?ecki wrote:
>>>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>>>> enable support for HT-PHY. The whole code has been written from MMIO dumps
>>>> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
>>>> by 3 people. Unfortunately there are still some missing conditions that can't
>>>> be fixed without RE the closed driver or having Broadcom co-operating. However
>>>> it seems we live with that well enough for basic usage :)
>>>>
>>>> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
>>>> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
>>>> was frequently reported to lock up machines when working with this card (see
>>>> Ubuntu's forum about MacBook 8.1).
>>>>
>>>> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
>>>> extract firmware from some recent closed source driver. See our wiki page in
>>>> few hours for nice howto.
>>>>
>>>> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
>>>> grab the dumps, test patches and debugging a lot of hard cases with me (and
>>>> sometime without ;) ).
>>>>
>>>> Larry Finger (1):
>>>> ? b43: Relax requirement for descriptors to be in the DMA zone
>>>>
>>>> Rafa? Mi?ecki (2):
>>>> ? b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>>>> ? b43: make HT-PHY support experimental
>>>>
>>>> ?drivers/net/wireless/b43/Kconfig | ? ?6 +++---
>>>> ?drivers/net/wireless/b43/dma.c ? | ? 31 ++++++++++++++++---------------
>>>> ?drivers/net/wireless/b43/dma.h ? | ? ?3 ++-
>>>> ?3 files changed, 21 insertions(+), 19 deletions(-)
>>>>
>>> I've checked the wiki page and downloads area but the latest version of
>>> fwcutter that I could find was from several days ago.
>>>
>>> Can anyone direct me towards the latest b43-fwcutter download as
>>> mentioned above?
>>>
>>> Can't wait to get 4331 support!
>> Just use the howto for kernel 3.2 (I know it's a little tricky for now
>> to use 3.2, wireless-next is also OK for that howto):
>> http://wireless.kernel.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above
>>
>> You have to:
>> 1) Clone git repository wireless-next
>> 2) Apply 3 patches from this patchset
>> 3) Compile kernel with B43_PHY_HT
>> 4) Install firmware (I think you already started that part)
>>
>> b43-fwcutter in 015 version is alright for extracting 666.2 firmware.
>>
> Thanks for your support on this.
>
> I'm not too knowledgeable when it comes to kernel development. However,
> I am eager to learn.
>
> I've cloned the repo and have wireless-next.
>
> Can you tell me where I will find these 3 patches to apply them to
> wireless-next?

You can find them on b43-dev ML archive. You can copy them and paste
into 3 separated text files.

However to make it easier to you, I've also uploaded them to http server:
http://files.zajec.net/enable-ht/0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
http://files.zajec.net/enable-ht/0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
http://files.zajec.net/enable-ht/0003-b43-make-HT-PHY-support-experimental.patch

Save all that 3 files on your disk and then do:

cd /foo/bar/wireless-next
git am 0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
git am 0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
git am 0003-b43-make-HT-PHY-support-experimental.patch

After that use "make menuconfig", enable BCMA, enable support for BCMA
in b43 and enable HT support in b43.

-- 
Rafa?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-27 13:22       ` Rafał Miłecki
@ 2011-08-27 13:38         ` James Anslow
  2011-08-27 13:47           ` Rafał Miłecki
  0 siblings, 1 reply; 13+ messages in thread
From: James Anslow @ 2011-08-27 13:38 UTC (permalink / raw)
  To: b43-dev

On 27/08/11 14:22, Rafa? Mi?ecki wrote:
> 2011/8/27 James Anslow <james@jamesanslow.net>:
>> On 27/08/11 11:22, Rafa? Mi?ecki wrote:
>>> 2011/8/27 James Anslow <james@jamesanslow.net>:
>>>> On 26/08/11 19:41, Rafa? Mi?ecki wrote:
>>>>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>>>>> enable support for HT-PHY. The whole code has been written from MMIO dumps
>>>>> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
>>>>> by 3 people. Unfortunately there are still some missing conditions that can't
>>>>> be fixed without RE the closed driver or having Broadcom co-operating. However
>>>>> it seems we live with that well enough for basic usage :)
>>>>>
>>>>> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
>>>>> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
>>>>> was frequently reported to lock up machines when working with this card (see
>>>>> Ubuntu's forum about MacBook 8.1).
>>>>>
>>>>> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
>>>>> extract firmware from some recent closed source driver. See our wiki page in
>>>>> few hours for nice howto.
>>>>>
>>>>> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
>>>>> grab the dumps, test patches and debugging a lot of hard cases with me (and
>>>>> sometime without ;) ).
>>>>>
>>>>> Larry Finger (1):
>>>>>   b43: Relax requirement for descriptors to be in the DMA zone
>>>>>
>>>>> Rafa? Mi?ecki (2):
>>>>>   b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>>>>>   b43: make HT-PHY support experimental
>>>>>
>>>>>  drivers/net/wireless/b43/Kconfig |    6 +++---
>>>>>  drivers/net/wireless/b43/dma.c   |   31 ++++++++++++++++---------------
>>>>>  drivers/net/wireless/b43/dma.h   |    3 ++-
>>>>>  3 files changed, 21 insertions(+), 19 deletions(-)
>>>>>
>>>> I've checked the wiki page and downloads area but the latest version of
>>>> fwcutter that I could find was from several days ago.
>>>>
>>>> Can anyone direct me towards the latest b43-fwcutter download as
>>>> mentioned above?
>>>>
>>>> Can't wait to get 4331 support!
>>> Just use the howto for kernel 3.2 (I know it's a little tricky for now
>>> to use 3.2, wireless-next is also OK for that howto):
>>> http://wireless.kernel.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above
>>>
>>> You have to:
>>> 1) Clone git repository wireless-next
>>> 2) Apply 3 patches from this patchset
>>> 3) Compile kernel with B43_PHY_HT
>>> 4) Install firmware (I think you already started that part)
>>>
>>> b43-fwcutter in 015 version is alright for extracting 666.2 firmware.
>>>
>> Thanks for your support on this.
>>
>> I'm not too knowledgeable when it comes to kernel development. However,
>> I am eager to learn.
>>
>> I've cloned the repo and have wireless-next.
>>
>> Can you tell me where I will find these 3 patches to apply them to
>> wireless-next?
> You can find them on b43-dev ML archive. You can copy them and paste
> into 3 separated text files.
>
> However to make it easier to you, I've also uploaded them to http server:
> http://files.zajec.net/enable-ht/0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
> http://files.zajec.net/enable-ht/0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
> http://files.zajec.net/enable-ht/0003-b43-make-HT-PHY-support-experimental.patch
>
> Save all that 3 files on your disk and then do:
>
> cd /foo/bar/wireless-next
> git am 0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
> git am 0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
> git am 0003-b43-make-HT-PHY-support-experimental.patch
>
> After that use "make menuconfig", enable BCMA, enable support for BCMA
> in b43 and enable HT support in b43.
>
Thanks for your help.

Will I find the ability to enable support for BCMA and HT support in the
menuconfig file or elsewhere?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110827/347db8e0/attachment.sig>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)!
  2011-08-27 13:38         ` James Anslow
@ 2011-08-27 13:47           ` Rafał Miłecki
  0 siblings, 0 replies; 13+ messages in thread
From: Rafał Miłecki @ 2011-08-27 13:47 UTC (permalink / raw)
  To: b43-dev

2011/8/27 James Anslow <james@jamesanslow.net>:
> On 27/08/11 14:22, Rafa? Mi?ecki wrote:
>> 2011/8/27 James Anslow <james@jamesanslow.net>:
>>> On 27/08/11 11:22, Rafa? Mi?ecki wrote:
>>>> 2011/8/27 James Anslow <james@jamesanslow.net>:
>>>>> On 26/08/11 19:41, Rafa? Mi?ecki wrote:
>>>>>> After improving DMA (the important patch for BCM4331 is my one) we can finally
>>>>>> enable support for HT-PHY. The whole code has been written from MMIO dumps
>>>>>> grabbed from ndiswrapper+windows driver, but seems to be stable and was tested
>>>>>> by 3 people. Unfortunately there are still some missing conditions that can't
>>>>>> be fixed without RE the closed driver or having Broadcom co-operating. However
>>>>>> it seems we live with that well enough for basic usage :)
>>>>>>
>>>>>> BCM4331 doesn't have any Linux driver yet, both: wl and brcm80211 don't support
>>>>>> it. So we can be really proud of it ;) Ah, and I should mention that ndiswrapper
>>>>>> was frequently reported to lock up machines when working with this card (see
>>>>>> Ubuntu's forum about MacBook 8.1).
>>>>>>
>>>>>> To use b43 with BCM4331 you will need to grab the newest b43-fwcutter and
>>>>>> extract firmware from some recent closed source driver. See our wiki page in
>>>>>> few hours for nice howto.
>>>>>>
>>>>>> Big thanks go to David Woodhouse for providing me access to his MacBook, letting
>>>>>> grab the dumps, test patches and debugging a lot of hard cases with me (and
>>>>>> sometime without ;) ).
>>>>>>
>>>>>> Larry Finger (1):
>>>>>> ? b43: Relax requirement for descriptors to be in the DMA zone
>>>>>>
>>>>>> Rafa? Mi?ecki (2):
>>>>>> ? b43: use 8K buffers for 64-bit DMA to workaround hardware bug
>>>>>> ? b43: make HT-PHY support experimental
>>>>>>
>>>>>> ?drivers/net/wireless/b43/Kconfig | ? ?6 +++---
>>>>>> ?drivers/net/wireless/b43/dma.c ? | ? 31 ++++++++++++++++---------------
>>>>>> ?drivers/net/wireless/b43/dma.h ? | ? ?3 ++-
>>>>>> ?3 files changed, 21 insertions(+), 19 deletions(-)
>>>>>>
>>>>> I've checked the wiki page and downloads area but the latest version of
>>>>> fwcutter that I could find was from several days ago.
>>>>>
>>>>> Can anyone direct me towards the latest b43-fwcutter download as
>>>>> mentioned above?
>>>>>
>>>>> Can't wait to get 4331 support!
>>>> Just use the howto for kernel 3.2 (I know it's a little tricky for now
>>>> to use 3.2, wireless-next is also OK for that howto):
>>>> http://wireless.kernel.org/en/users/Drivers/b43#Other_distributions_not_mentioned_above
>>>>
>>>> You have to:
>>>> 1) Clone git repository wireless-next
>>>> 2) Apply 3 patches from this patchset
>>>> 3) Compile kernel with B43_PHY_HT
>>>> 4) Install firmware (I think you already started that part)
>>>>
>>>> b43-fwcutter in 015 version is alright for extracting 666.2 firmware.
>>>>
>>> Thanks for your support on this.
>>>
>>> I'm not too knowledgeable when it comes to kernel development. However,
>>> I am eager to learn.
>>>
>>> I've cloned the repo and have wireless-next.
>>>
>>> Can you tell me where I will find these 3 patches to apply them to
>>> wireless-next?
>> You can find them on b43-dev ML archive. You can copy them and paste
>> into 3 separated text files.
>>
>> However to make it easier to you, I've also uploaded them to http server:
>> http://files.zajec.net/enable-ht/0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
>> http://files.zajec.net/enable-ht/0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
>> http://files.zajec.net/enable-ht/0003-b43-make-HT-PHY-support-experimental.patch
>>
>> Save all that 3 files on your disk and then do:
>>
>> cd /foo/bar/wireless-next
>> git am 0001-b43-Relax-requirement-for-descriptors-to-be-in-the-D.patch
>> git am 0002-b43-use-8K-buffers-for-64-bit-DMA-to-workaround-hard.patch
>> git am 0003-b43-make-HT-PHY-support-experimental.patch
>>
>> After that use "make menuconfig", enable BCMA, enable support for BCMA
>> in b43 and enable HT support in b43.
>>
> Thanks for your help.
>
> Will I find the ability to enable support for BCMA and HT support in the
> menuconfig file or elsewhere?

Yes. menuconfig has great feature of searching. Just enter "/" key and
type phase you're looking for. For example type "/BCMA" and press
ENTER. What you want is:
Device Drivers -> Broadcom specific AMBA -> BCMA support
Device Drivers -> Broadcom specific AMBA -> Support for BCMA on PCI-host bus
Device Drivers -> Network device support -> Wireless LAN -> Broadcom
43xx wireless support -> Support for BCMA bus
Device Drivers -> Network device support -> Wireless LAN -> Broadcom
43xx wireless support -> Support for HT-PHY (high throughput) devices

-- 
Rafa?

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-08-27 13:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 18:41 [wireless-next][PATCH 0/3][ANNOUNCE] b43 the first Linux driver supporting HT-PHY (BCM4331)! Rafał Miłecki
2011-08-26 18:41 ` Rafał Miłecki
2011-08-26 19:56 ` James Anslow
2011-08-26 21:27 ` Michael Büsch
2011-08-26 21:27   ` Michael Büsch
2011-08-26 21:34   ` Larry Finger
2011-08-26 21:34     ` Larry Finger
2011-08-27 10:16 ` James Anslow
2011-08-27 10:22   ` Rafał Miłecki
2011-08-27 12:59     ` James Anslow
2011-08-27 13:22       ` Rafał Miłecki
2011-08-27 13:38         ` James Anslow
2011-08-27 13:47           ` Rafał Miłecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.