History log of /haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/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.


# 79187c3c 15-Sep-2018 Augustin Cavalier <waddlesplash@gmail.com>

iprowifi4965: Add -100 firmware.

Should fix #14492.

Change-Id: I887995d45d2e357f0181f54396bc3c19a2158e26
Reviewed-on: https://review.haiku-os.org/567
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# fc35866e 03-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

iprowifi4965: Rework interrupts glue code.

Untested, but this now better matches how the FreeBSD code does it.
Potentially fixes a bug where interrupts would be spuriously re-enabled
after the driver had disabled them, which may fix a KDL humdinger
reported to me via IRC.


# a7abbdae 03-Jul-2018 Augustin Cavalier <waddlesplash@gmail.com>

iprowifi4965: Add some more firmwares to the image.

Not sure why these were left out. Probably helps with #12407.


# 1894a243 28-Apr-2015 Dan MacDonald <allcoms@gmail.com>

Add support for Intel Centrino Wireless-N 2230.

Fixes #12006.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 81fd469d 11-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

iprowifi4965: fixed firmware filename for iwn6000g2afw.

see #10197


# 5f1c0791 14-Feb-2012 Jérôme Duval <jerome.duval@gmail.com>

merged changes from FreeBSD 9.0 for most wlan drivers and net80211.

* merged changes from FreeBSD 9.0 for most wlan drivers except atheroswifi and net80211.
* added iwlwifi-6000g2b-ucode-18.168.6.1


# 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


# cceb9427 19-Sep-2010 Jérôme Duval <korli@users.berlios.de>

Updated iprowifi4965 based on iwn FreeBSD 8.1.0 with the following changes:
* added more firmware to be used by the driver and updated the old one.
* avoid the switch to using ICT interrupt mode (dunno what it implies on Haiku)
* commented ieee80211_ratectl_*() calls. They can be uncommented when we support them.
* added ieee80211_ratectl.h with functions commented out
Switch to using ICT interrupt mode


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38734 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


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

Cody style cleanup. Thanx Axel for the headup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34817 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


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

* No need for a special interrupt reenabling routine, as this is done by
the FreeBSD driver already.
* Some coding style cleanups.


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


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

Read the interrupt status only once, to prevent wrong status reads in the
iwn_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@34804 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


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

iprowifi4965 now links. Still needs to be tested as I don't own the required
hardware myself.


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


# 1894a24358be3f11916c06eddaaea1a2d68bc14a 28-Apr-2015 Dan MacDonald <allcoms@gmail.com>

Add support for Intel Centrino Wireless-N 2230.

Fixes #12006.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>


# 81fd469dcfaa0fd2b07b985d261cadc6aea9ff58 11-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

iprowifi4965: fixed firmware filename for iwn6000g2afw.

see #10197


# 5f1c0791b39b7de6321658ce707d1788eda0f27b 14-Feb-2012 Jérôme Duval <jerome.duval@gmail.com>

merged changes from FreeBSD 9.0 for most wlan drivers and net80211.

* merged changes from FreeBSD 9.0 for most wlan drivers except atheroswifi and net80211.
* added iwlwifi-6000g2b-ucode-18.168.6.1


# 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


# cceb9427a8c1be5eb197ca2cd1224d380a7b4427 19-Sep-2010 Jérôme Duval <korli@users.berlios.de>

Updated iprowifi4965 based on iwn FreeBSD 8.1.0 with the following changes:
* added more firmware to be used by the driver and updated the old one.
* avoid the switch to using ICT interrupt mode (dunno what it implies on Haiku)
* commented ieee80211_ratectl_*() calls. They can be uncommented when we support them.
* added ieee80211_ratectl.h with functions commented out
Switch to using ICT interrupt mode


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38734 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


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

Cody style cleanup. Thanx Axel for the headup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34817 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


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

* No need for a special interrupt reenabling routine, as this is done by
the FreeBSD driver already.
* Some coding style cleanups.


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


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

Read the interrupt status only once, to prevent wrong status reads in the
iwn_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@34804 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


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

iprowifi4965 now links. Still needs to be tested as I don't own the required
hardware myself.


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