summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bwfm_pci.c
AgeCommit message (Expand)Author
2022-01-01Use correct defines for random seed magic/length.Patrick Wildt
2021-12-31Newer Apple firmware on chipsets without a hardware RNG require the host toPatrick Wildt
2021-12-27Not only BCM4378, but all PCIe core revisions >= 64 need to be accessedPatrick Wildt
2021-12-27Map the chip ids used on Apple M1 Pro/Max and Apple T2 Macs to firmwarePatrick Wildt
2021-12-27Support reading OTP information from a few more chips, necessary to learnPatrick Wildt
2021-12-27Send TxCap and WiFi calibration blobs to the chip.Patrick Wildt
2021-12-27Switch module codename retrieval to use the newly proposed device treePatrick Wildt
2021-12-27Bump rxpost and rxcomplete ring size to 1024 for newer chips.Patrick Wildt
2021-12-20bus_dmamem_unmap() should not be called from interrupt context, so freePatrick Wildt
2021-10-23Make sure we have enough space to add padding and final token to the nvramMark Kettenis
2021-08-31Implement suspend/resume for bwfm(4) with PCIe backend. We try to send thePatrick Wildt
2021-08-31Properly deallocate some more structures upon detach, and make sure we'rePatrick Wildt
2021-08-31Initialize some struct variables to make sure that upon reinit, caused byPatrick Wildt
2021-08-31Initialize ring read/write pointers to make sure that upon reinit, causedPatrick Wildt
2021-06-22bwfm(4) on PCI isn't really MPSAFE, and I'm not sure how this flagPatrick Wildt
2021-02-26Read and parse OTP on the BCM4378. There are quite a few firmware andPatrick Wildt
2021-02-26Attach to BCM4378.Patrick Wildt
2021-02-26Add support for BCM4378 as implemented on the Apple M1. This chip seemsPatrick Wildt
2021-02-26Increase the amount of RX buffers given to the bwfm(4) chip. We haave seenPatrick Wildt
2021-02-26Increase the buffer size for the ioctl response buffers to the same asPatrick Wildt
2021-02-26Indicate hostready signal to inform the firmware that the rings have beenPatrick Wildt
2021-02-26Refactor bwfm(4) firmware loading. The PCIe backend will need to be ablePatrick Wildt
2021-02-26Fix prio2fifo mapping table.Patrick Wildt
2021-02-25The firmware replaces the last 32-bit on RAM with a shared DRAM address.Patrick Wildt
2021-02-25Some newer chips have two D11/802.11 cores, and we need to reset both atPatrick Wildt
2021-02-25Support for version 7 of the bwfm(4) PCIe interface. The size of the itemsPatrick Wildt
2021-02-25we don't have to cast to caddr_t when calling m_copydata anymore.David Gwynne
2021-01-31Add basic support for BCM4378 as found on the Apple M1 SoCs. There's aPatrick Wildt
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
2020-06-22use ifiq_input and use it's return value to apply backpressure to rxrs.David Gwynne
2020-03-07Use snprintf(9) to create the names for the firmware and NVRAM files. ThisPatrick Wildt
2020-03-06Process the NVRAM in bwfm(4) itself. So far we have relied on somePatrick Wildt
2020-02-25Make bwfm(4) call if_input() only once per interrupt.Patrick Wildt
2020-01-15Sprinkle splnet() around the ringbuffer accesses, otherwise thePatrick Wildt
2020-01-15Some PCIe firmwares drop TX packets when the pktid is 0. AddPatrick Wildt
2020-01-15Fix off-by-one in ringbuffer code. When we insert items faster thanPatrick Wildt
2020-01-09Convert sleeps of 1sec or more to tsleep_nsec(9).Martin Pieuchot
2019-02-07Consistently use m_freem(9). This fixes possible leaks in a fewPatrick Wildt
2019-01-17Enable bwfm(4) in RAMDISK_CDMike Larkin
2018-08-20Attach bwfm(4) to Broadcom BCM4371.Patrick Wildt
2018-07-25Implement a MSGBUF control packet mechanism based on the commandPatrick Wildt
2018-07-06Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the dataPatrick Wildt
2018-07-05Cast physical addresses to 64-bits so we can shift them by 32-bit onPatrick Wildt
2018-06-07Attach bwfm(4) to the Broadcom 4356 found in the GPD Pocket.Patrick Wildt
2018-06-07Some PCIe-based bwfm(4) chips also require that we supply an NVRAMPatrick Wildt
2018-05-23Implement a separate initialization stage so that we can still usePatrick Wildt
2018-05-23Map the second bwfm(4) BAR first. The bwfm(4) PCIe devices have twoPatrick Wildt
2018-05-16Implement a BCDC control packet mechanism based on the command requestPatrick Wildt
2018-02-08Move bwfm(4) from ifq begin/commit/rollback semantics to the newerPatrick Wildt
2018-02-07Move parsing the BCDC header on RX into a protocol specific RXPatrick Wildt