History log of /haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/glue.c
Revision Date Author Comments
# b0719130 21-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

freebsd_network & drivers: Remove need to specify FBSD_TASKQUEUES.

Instead make FBSD_TASKQUEUES a combination flag of all taskqueues,
so that if even one is needed, the init_taskqueues function will
be invoked appropriately.


# 7fd8b4ad 30-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

Outsource most WiFi firmwares.

Some are still in-tree and need to be removed, but this takes care
of all recent Intel, Realtek, and also the old Ralink chips.

This cuts down the size of haiku.hpkg by close to 10MB.


# 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>


# 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.


# 9552ec82 28-Jun-2018 Augustin Cavalier <waddlesplash@gmail.com>

iprowifi3945: Sync with FreeBSD 11.1.

Tested and verified as working by cocobean. (The previous driver KDLed
on their hardware.)


# 8dc03de6 11-Apr-2011 Jérôme Duval <korli@users.berlios.de>

merged changes from 8.2 FreeBSD release for most wlan drivers and net80211.
updated several firmwares for iprowifi4965 and iprowifi3945. Tested on iprowifi4965 only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41240 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 396abf07 19-Jan-2010 Colin Günther <coling@gmx.de>

* Adapting firmware based driver to the new firmware name mapping method.
* Removing the respective settings files, as they are no longer needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e39b0b7 29-Dec-2009 Colin Günther <coling@gmx.de>

Using atomic_{set|get} as proposed by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 296653ac 29-Dec-2009 Colin Günther <coling@gmx.de>

* Coding style cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34807 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49fbc543 29-Dec-2009 Colin Günther <coling@gmx.de>

Read the interrupt status only once, to prevent wrong status reads in the
wpi_intr function. This should fix firmware timeouts, which occure due to the
second read just returns wrong values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34805 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9f040ab 19-Dec-2009 Colin Günther <coling@gmx.de>

Codestyle fix: adding spaces between operator. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34711 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b69928b2 03-Dec-2009 Colin Günther <coling@gmx.de>

Coding style fixes and white space clean up. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86a3b75e 01-Dec-2009 Colin Günther <coling@gmx.de>

iprowifi3945 now links. Still needs to be tested as I don't own the needed
hardware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34411 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8dc03de632faeed754033a549eec60b411308cad 11-Apr-2011 Jérôme Duval <korli@users.berlios.de>

merged changes from 8.2 FreeBSD release for most wlan drivers and net80211.
updated several firmwares for iprowifi4965 and iprowifi3945. Tested on iprowifi4965 only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41240 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 396abf076f733d6ddd2469fe7cfcb898dd3b49fd 19-Jan-2010 Colin Günther <coling@gmx.de>

* Adapting firmware based driver to the new firmware name mapping method.
* Removing the respective settings files, as they are no longer needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35171 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e39b0b7ce3f10bbd9409a2c93e2eafb6dd0261d 29-Dec-2009 Colin Günther <coling@gmx.de>

Using atomic_{set|get} as proposed by Axel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 296653ac73c4fef481a7a0827559fae0fee93553 29-Dec-2009 Colin Günther <coling@gmx.de>

* Coding style cleanup. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34807 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49fbc5438e0544fdaad492f300784577a18cfb21 29-Dec-2009 Colin Günther <coling@gmx.de>

Read the interrupt status only once, to prevent wrong status reads in the
wpi_intr function. This should fix firmware timeouts, which occure due to the
second read just returns wrong values.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34805 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d9f040ab4e69713c0a54affd0214700103f759af 19-Dec-2009 Colin Günther <coling@gmx.de>

Codestyle fix: adding spaces between operator. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34711 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b69928b291c939099d8fb36a67ad107a43e8d9e2 03-Dec-2009 Colin Günther <coling@gmx.de>

Coding style fixes and white space clean up. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86a3b75e8a5aa3489b415e8687eb26236afab12e 01-Dec-2009 Colin Günther <coling@gmx.de>

iprowifi3945 now links. Still needs to be tested as I don't own the needed
hardware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34411 a95241bf-73f2-0310-859d-f6bbb57e9c96