On Sat, 16 Aug 2008 00:29:56 +0200 Michael Buesch <[EMAIL PROTECTED]> wrote:
> This is the first part for the rewrite of the b43 PHY API. > This is needed in order to make development of N and LP code possible. > > PLEASE TEST TEST TEST TEST TEST > > Lots of testing on lots of different devices is needed to ensure this > doesn't introduce regressions due to typos. > 95% of the patch just moves large parts of the PHY code from one file > to another. More move-patches will follow. > 5% of the patch introduces an "ops" based PHY API. > > Please test on all of your devices. > > http://bu3sch.de/patches/wireless-testing/20080816-0023/patches/002-b43-phy-ops.patch > Apply against wireless-testing.git Tested on my 4318: $ dmesg | grep b43 b43-pci-bridge 0000:06:02.0: enabling device (0000 -> 0002) b43-pci-bridge 0000:06:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 b43-pci-bridge 0000:06:02.0: setting latency timer to 64 b43-phy0: Broadcom 4318 WLAN found b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7 b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2050, Revision 8 input: b43-phy0 as /class/input/input8 firmware: requesting b43/ucode5.fw firmware: requesting b43/pcm5.fw firmware: requesting b43/b0g0initvals5.fw firmware: requesting b43/b0g0bsinitvals5.fw b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10) b43-phy0 debug: Chip initialized b43-phy0 debug: 32-bit DMA initialized Registered led device: b43-phy0::tx Registered led device: b43-phy0::rx Registered led device: b43-phy0::radio b43-phy0 debug: Wireless interface started b43-phy0 debug: Adding Interface type 2 b43-phy0: Radio turned on by software [Looks the same as Rafał Miłecki's] From lspci -vv: 06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) Subsystem: AMBIT Microsystem Corp. Device 0312 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 Interrupt: pin A routed to IRQ 22 Region 0: Memory at d0002000 (32-bit, non-prefetchable) [size=8K] Kernel driver in use: b43-pci-bridge Kernel modules: ssb Performance seems fine; it's not perfect, but it's generally not. I don't know if it's the driver, environmental conditions, etc. Iperf, through a cheap home AP, to another system also connected wirelessly to the AP, both with little x and y axis displacement but two floors of z axis displacement, gives about 2.3 Mbps throughput (averaged over three iperf runs, but I know from experience that throughput seems to vary over time). I have built kernels and applied patches before, but I'm new to git; this is what I did: git-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git cd wireless-testing git-checkout -b michaels-patch patch -p1 < the-patch-filename make menuconfig make make modules_install make install Is this right? [I generally build with debian's kernel-package scripts, but they didn't work on this tree, complaining about a mismatch involving UTS. I don't have the error in front of me, but it was something like a discrepancy between xxx-wl-dirty and xxx-wl-dirty-dirty-dirty.] Thanks for all your work on this, Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
