]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto/meta: improve wifi driver granularity
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 27 Mar 2018 15:03:16 +0000 (11:03 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Mar 2018 13:21:18 +0000 (14:21 +0100)
commitc24d6863768a64b2c1632d5202790689a1164694
tree005e13612b54a1ed5e73b8d5782dc56b396f1fb2
parent6dd68cddc3536c11b9f868fde34a745256648c25
linux-yocto/meta: improve wifi driver granularity

Integrating the following commit for the 4.12+ kernels:

   Author: Nathan Rossi <nathan@nathanrossi.com>
   Date:   Wed Mar 21 00:10:02 2018 +1000

    features/wifi: Add WiFi driver fragments for various vendors/interfaces

    This change adds WiFi driver configuration fragments. The fragments are
    split into vendor and interface files to allow for easy selection of
    drivers for specific interface types (USB, PCI, SDIO) which is useful
    for BSPs with specific interfaces. The specific vendor/interface config
    fragments can be included by specific BSPs in its .scc files.

    However .scc files (wifi-*.scc) are provided to allow enabling interface
    specific or all interfaces drivers via KERNEL_FEATURES or inclusion via
    other .scc files. And wifi-common.scc is provided to enable the base
    config options required for all WiFi drivers, which is done to ensure
    correct configuration for default no config setups (e.g.
    linux-yocto-tiny).

    This patch only enables a limited set of drivers, which is based on what
    the common-pc-wifi.cfg fragment sets as well as some additional drivers,
    that primarily appear in USB WiFi devices.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This gives us a much better granularity of drivers and a good baseline for
future improvements.

The 4.12 fragments are also slightly re-organized on top of this commit
to avoid patch failures when including the new frags.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb
meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb
meta/recipes-kernel/linux/linux-yocto_4.12.bb
meta/recipes-kernel/linux/linux-yocto_4.14.bb
meta/recipes-kernel/linux/linux-yocto_4.15.bb