Make a section for regulatory.db firmware

And tell the the cfg80211 driver needs to be loaded as a module.
See ticket #17780.
This commit is contained in:
Pierre Labastie 2023-03-13 18:36:58 +01:00
parent 00120f9621
commit 0f5515df63

View File

@ -664,6 +664,36 @@ cp -d nv* vuc-* /lib/firmware/nouveau/</userinput></screen>
</sect2>
<sect2 id="regulatory-db">
<title>Firmware for Regulatory Database of Wireless Devices</title>
<para>
Different countries have different regulations on the radio spectrum
usage of wireless devices. You can install a firmware to make the
wireless devices obey local spectrum regulations, so you won't be
inquired by local authority or find your wireless NIC jamming the
frequencies of other devices (for example, remote controllers).
The regulatory database firmware can be downloaded from
<ulink url = 'https://kernel.org/pub/software/network/wireless-regdb/'/>.
To install it, simply extract <filename>regulatory.db</filename> and
<filename>regulatory.db.p7s</filename> from the tarball into
<filename class="directory">/lib/firmware</filename>. Note that either
the <option>cfg80211</option> driver needs to be selected as a module
for the <filename>regulatory.*</filename>
files to be loaded, or those files need to be included as firmware into
the kernel, as explained above in <xref linkend="video-firmware"/>.
</para>
<para>
The access point (AP) would send a country code to your wireless NIC,
and <xref linkend='wpa_supplicant'/> would tell the kernel to load
the regulation of this country from
<filename>regulatory.db</filename>, and enforce it. Note that several AP
don't send this country code, so you may be locked to a rather
restricted usage (specially if you want to use your interface as an AP).
</para>
</sect2>
<sect2 id="other-firmware">
<title>Firmware for Other Devices</title>
@ -678,25 +708,8 @@ cp -d nv* vuc-* /lib/firmware/nouveau/</userinput></screen>
<para>
If possible, you should begin by using a wired connection when you first
boot your LFS system. To use a wireless connection you will need to
use a network tools such as <xref linkend='wireless_tools'/> and <xref
linkend='wpa_supplicant'/>.
</para>
<para>
Different countries have different regulations on the radio spectrum
usage of wireless devices. You can install a firmware to make the
wireless devices obey local spectrum regulations, so you won't be
inquired by local authority or find your wireless NIC jamming the
frequencies of other devices (for example, remote controllers).
The regulatory database firmware can be downloaded from
<ulink url = 'https://kernel.org/pub/software/network/wireless-regdb/'/>.
To install it, simply extract <filename>regulatory.db</filename> and
<filename>regulatory.db.p7s</filename> from the tarball into
<filename class="directory">/lib/firmware</filename>.
The access point would send a country code to your wireless NIC,
and <xref linkend='wpa_supplicant'/> would tell the kernel to load
the regulation of this country from
<filename>regulatory.db</filename>, and enforce it.
use a network tools such as <xref linkend="iw"/>,
<xref linkend='wireless_tools'/>, or <xref linkend='wpa_supplicant'/>.
</para>
<para>