History log of /haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/if_iwx.c
Revision Date Author Comments
# 8da89734 28-Feb-2024 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200 & idualwifi7265: Port a fix from OpenBSD.


# 6533df4f 15-Jan-2024 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200 & idualwifi7260: Synchronize with OpenBSD.


# d95a9b63 23-Sep-2023 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200: Synchronize to OpenBSD trunk.

CVS revision(s) are in first-line comments.

Requires a new firmware package (from HaikuPorts). There are some
changes in here which may fix some of the odder issues, like failures
to connect to access points. There is also support for one new PCI ID.

Tested by PulkoMandy who reports it's still working.


# dd430c69 28-Feb-2023 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Synchronize with OpenBSD.


# 231f740c 27-Jan-2023 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network & drivers: Implement the real bus_dmamem functions.

This required the addition of some slight modifications to the main
(FreeBSD compat) bus_dma implementation.

Allows some #ifdefs from iaxwifi/idualwifi to be dropped, and will
ease the porting of some future drivers.

Tested with idualwifi7260, seems to work as before.


# 984e2e52 25-Jan-2023 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network: Move ifq_*_oactive wrappers to a common header.


# 5b51027c 29-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network: Add a real implementation of MCLGETL.

The old alias had a number of shortcomings which made it not match
OpenBSD and thus special-casing had to be used in drivers. The new
version should match OpenBSD's semantics precisely.


# 3f3b8489 27-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi & iaxwifi: Merge changes from OpenBSD.


# 7ff2f104 01-Jul-2022 Augustin Cavalier <waddlesplash@gmail.com>

OpenBSD wlan drivers: We cannot back out of initialization at preinit.

Otherwise we get KDLs. Fixes #17811.


# b3dab377 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Enable PCI busmastering.

The FreeBSD KPIs that we emulate expect this to be done manually,
so we have to do it before we begin doing PCI access.

Fixes firmware load failures and device initialization problems
since the introduction of the OpenBSD driver replacing the FreeBSD one.


# 561bb7ba 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Do not return but go to the appropriate fail.

This way, we will actually tear down what state got initialized.


# 22bdb7ba 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200: Add missing if_free_inplace on deinit.

It may make sense to place this later so that we don't need to add
another goto label, but that can be experimented with later.


# 2e1033fc 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: preinit() can fail.

This will prevent the device from even appearing in Network preferences
if firmware loading does not work.


# f578843d 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Use the Haiku gDriverName instead of hardcoding.

This also will fix what name appears in the syslog.


# e206b2f3 13-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

freebsd_network: Always hold the "Giant" lock during attaches.

Reduces patches to OpenBSD drivers slightly, and could potentially
help with some of the KDLs.


# d5af5c55 09-Jun-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

iaxwifi200: disable background scans for now

It crashes the firmware after 40 scans. The issue has been reported to
OpenBSD, until then we can leave this disabled. The consequence is that
the wifi network list will not refresh while already connected to a
network. But at least the connection remains online.


# fba03158 08-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Adaptations for FreeBSD/Haiku support.

Mostly a few #ifdefs for the dmamem API, if_alloc, probe, and attach hooks.
Basically the same changes in both drivers.

The firmware name map is not really needed anymore; the OpenBSD drivers
have unique firmware names and do not generally use ".ucode" extensions.
So just use the filenames as-is and drop the map.


# 27a20680 06-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200: Import ("iwx" from OpenBSD.)

Not yet modified to build nor wired into the build yet.