<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>11d69a4558de2a5427d8191caed315c5f7e9a5d6 - LinuxKPI: 802.11: add support for suspend/resume</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/linuxkpi_wlan/Makefile#11d69a4558de2a5427d8191caed315c5f7e9a5d6</link>
        <description>LinuxKPI: 802.11: add support for suspend/resumeAdd support for automatic suspend/resume as we know it for wireless.The problem is that the PCI driver which would normally gets the codeis the LinuxKPI PCI framework/Linux wireless driver, which we cannotammend or generally add extra suspend/resume code to.A further problem is that with growing support, the LinuxKPI 802.11(mac80211) layer also is involved in suspend/resume for WoWLAN (notyet supported) meaning that we need to hook the suspend/resumeframework into that as well.  Unlike Linux we do not have a generalsuspend/resume &quot;hook&quot; we can hang into and we need to tie this oneto the hardware so cannot indepedently (after the driver one) run it.The solution for FreeBSD, in order to not mangle the Linux nativedrivers and get extra maintanace overhead, is to add a bus childwhich inherits the general framework and thus is 2 lines + #includesfor each driver extra to add to.The general suspend/resume framework lives in LinuxKPI (linuxkpi_80211_pm)and imitates the normal suspend/resume path overloading it (there isa slight code/logic duplication from the PCI code).Given we are passed the LinuxKPI p(ci)dev, we can go and peel out thenet80211 ic from the native bsddev and that way get access to thewireless stack.  We then call into LinuxKPI 802.11 in order to dothe suspend/resume dance there, and, if needed also call theofficial suspend/resume routine from the device driver after(reverse for resume).If any in this fails, suspend will be blocked as we will return theerror (no different to any native driver could do).The LinuxKPI 802.11 suspend/resume code has the initial code fordoing a WoWLAN suspend (one could change the sysctl) but other bitslike access to ifnet flags etc. has to be sorted out before we cango and support that.The default code path calles into net80211 to clear everythinglike native wireless drivers do.  The one thing we need to do inaddition is to remove the vif devices from the firmware and restorethem prior to net80211 resume.We also check for a possible HW SCAN to still be runinng on resumeand warn as that may cause problems though the scan should be stoppedbefore suspend (we may still get a callback).  You can easily seethese problems if you suspend/resume without stopping the wlan.Enable the PM framework for iwlwifi in the module Makefile tobe able to use all this; others can follow as tested.In case anyone has problems with this, they can change the sysctlback to 0 until we can figure out any further problems.The linuxkpi_wlan.4 man page got adjusted to document this.Sponsored by:	The FreeBSD FoundationTested on:	Dell XPS 13 (AX200), Lenovo TP X270 (AX210)MFC after:	3 daysPR:		263632

            List of files:
            /freebsd/sys/modules/linuxkpi_wlan/Makefile</description>
        <pubDate>Wed, 09 Apr 2025 20:00:20 +0200</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>031beb4e239bfce798af17f5fe8dba8bcaf13d99 - sys: Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/linuxkpi_wlan/Makefile#031beb4e239bfce798af17f5fe8dba8bcaf13d99</link>
        <description>sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd/sys/modules/linuxkpi_wlan/Makefile</description>
        <pubDate>Wed, 16 Aug 2023 19:54:58 +0200</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>06a1103fe38677ba6213cae321255f53e9476dcd - ath10k: ath11k: add specific LinuxKPI support</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/linuxkpi_wlan/Makefile#06a1103fe38677ba6213cae321255f53e9476dcd</link>
        <description>ath10k: ath11k: add specific LinuxKPI supportAdd files needed by ath1?k drivers to linuxkpi/linuxkpi_wlan.This contain (skeleton) implementations of what is needed tocompile but specifically mhi/qmi/qrtr will need more work forath11k.MFC after:	2 months

            List of files:
            /freebsd/sys/modules/linuxkpi_wlan/Makefile</description>
        <pubDate>Tue, 18 Apr 2023 22:21:37 +0200</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>514fb3872166a361faa81d89909f65913e90b1b2 - LinuxKPI: define LINUXKPI_INCLUDES for module builds as well</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/linuxkpi_wlan/Makefile#514fb3872166a361faa81d89909f65913e90b1b2</link>
        <description>LinuxKPI: define LINUXKPI_INCLUDES for module builds as wellWhile for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mkfor kmod builds we&apos;ve not had a common define to use leading to variousspellings of include paths.In order for the include list to be expanded more easily in the future,e.g., adding the &quot;dummy&quot; includes (for all) and to harmonize code,duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.MFC after:	1 weekReviewed by:	hselaskyDifferential Revision: https://reviews.freebsd.org/D36683

            List of files:
            /freebsd/sys/modules/linuxkpi_wlan/Makefile</description>
        <pubDate>Fri, 23 Sep 2022 23:18:45 +0200</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>6b4cac814e32f3b307720d6b880939fb1f21f3ac - LinuxKPI: add 802.11 compat code</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/modules/linuxkpi_wlan/Makefile#6b4cac814e32f3b307720d6b880939fb1f21f3ac</link>
        <description>LinuxKPI: add 802.11 compat codeAdd 802.11 compat code for mac80211 and to a minimal degree cfg80211.This allows us to compile and use basic functionality of wirelessdrivers such as iwlwifi.This is a constant work in progress but having it in the tree willallow others to test and more easy to track changes and avoid havingsnapshots no longer applying to branches.Sponsored by:	The FreeBSD FoundationMFC after:	3 days

            List of files:
            /freebsd/sys/modules/linuxkpi_wlan/Makefile</description>
        <pubDate>Sun, 26 Dec 2021 19:52:51 +0100</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
