History log of /haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/glue.c
Revision Date Author Comments
# 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.


# ba5694b0 17-May-2020 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260: Port changes from newer FreeBSD.

This adds support for the 9xxx series of devices.

Change-Id: I43385e91b91201732397b79c38bd9bb4f3a18f1b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2733
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# d8779e44 13-Oct-2019 Kyle Ambroff-Kao <kyle@ambroffkao.com>

Drop requirement for specifying firmware map size

The HAIKU_FIRMWARE_NAME_MAP macro takes a size parameter to define the
firmware map array type, and then a multi-dimensional array literal is
assigned to the array defined by that macro.

This is error-prone. The idualwifi7260 driver, before this patch, had
the size incorrectly set to 6 when the number of entries was 7, which
sliced the last entry off of the map, making it unavailable to the
driver. After fixing this size, the driver properly loads the
iwm-8265-22.ucode firmware on my computer.

This patch changes that macro to take a const char[][2] literal as its
only parameter, making it less likely for this sort of bug to be
re-introduced.

Fixes #15413.

Change-Id: I78a75e692a8637af0f13d1eb16180ce8d95d0852
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1917
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 0fe67341 09-Sep-2019 oreo639 <oreo639@outlook.com>

idualwifi7260: Import iwm-3168-ucode from FreeBSD 12.

This adds the firmware for Intel Dual Band Wireless-AC 3168NGW,
which the driver itself supports, making it possible to use this
device on Haiku.

Change-Id: Id8df2f3128cefb23dd1a5c2919c38945dce7cb94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1844
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# bf365469 07-Jan-2019 Augustin Cavalier <waddlesplash@gmail.com>

drivers/wlan: Merge the ratectl change commit from FreeBSD.

This is a relatively minor change that mostly just shuffles structs
around, so presumably it will not break any of these drivers.


# e89c6173 04-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

drivers/network/wlan: Import idualwifi7260 from FreeBSD 11.2.

The lowest model number supported by this driver is "3160", but that's just
Intel's insanity: the 7260 was released the quarter before it. So following
our naming convention strictly, "7260" is the correct name for this driver.

The firmware situation for this one is also a little different. Unlike past
instances where Intel has released mostly nonsubstantial firmware updates,
allowing us to just copy a recent-ish version from the iwlwifi archives,
the firmware is more closely tied to the driver in this series. As a result,
some of this firmware is not even used by Linux yet (they're a few versions
behind it seems), so the firmware packages included here come from FreeBSD.

One major hardware feature - RX of multiple frames at a time - is disabled
in this commit, as it depends on mbuf reference-counting, according to the
FreeBSD developers I asked, which we do not implement yet. I'll hopefully
get to looking at that in the next few weeks.

And with that, I finally have WiFi on my primary laptop, my original reason
for setting out on this quest last year. This commit was pushed through it,
even :)