Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wifi:wireless.overview [2019/09/14 18:55] – Wireless FAQ changed to tagged FAQ tmomasdocs:guide-user:network:wifi:wireless.overview [2023/06/22 22:24] – [Wireless Drivers in OpenWrt] Grammar and capitalization memicinn19
Line 1: Line 1:
 ====== Wireless overview ====== ====== Wireless overview ======
- 
-for outdated information check [[doc:howto:wireless.overview.old|Wireless Overview Archive]] 
- 
 This article deals with 802.11 wireless. OpenWrt supports other wireless devices too, see This article deals with 802.11 wireless. OpenWrt supports other wireless devices too, see
-[[docs:guide-user:hardware:bluetooth:start|Bluetooth]], 802.15.4 ([[https://dev.openwrt.org/changeset/45348|r45348]]) or RTL-SDR ([[http://blog.y3xz.com/blog/2014/04/24/feeding-data-to-flightradar24-dot-com/|RTL-SDR on TL-WR703n]])+[[docs:guide-user:hardware:bluetooth:start|Bluetooth]], 802.15.4 ([[https://dev.openwrt.org/changeset/45348|r45348]]) or RTL-SDR ([[https://yuv.al/blog/feeding-data-to-flightradar24-dot-com/|RTL-SDR on TL-WR703n]])
  
 ===== Introduction ===== ===== Introduction =====
-[[http://wireless.kernel.org/en/users|Linux Wireless]] is //the// source for documentation regarding the entire **Linux Kernel IEEE 802.11 ("wireless") subsystem**. It is a wiki like this one, so feel free to contribute there as well! Everything not OpenWrt specific, belongs there. This page is an exception, as I believe I can provide a better introduction. ;-)+[[https://wireless.wiki.kernel.org/welcome|Linux Wireless]] is //the// source for documentation regarding the entire **Linux Kernel IEEE 802.11 ("wireless") subsystem**. It is a wiki like this one, so feel free to contribute there as well! Everything not OpenWrt specific, belongs there. This page is an exception, as I believe I can provide a better introduction. ;-)
  
   * IEEE 802.**3** is a family of communication protocols comprising [[wp>Physical Layer|Layer 1]] and [[wp>Media Access Control|Layer 2 Sublayer MAC]]    * IEEE 802.**3** is a family of communication protocols comprising [[wp>Physical Layer|Layer 1]] and [[wp>Media Access Control|Layer 2 Sublayer MAC]] 
Line 16: Line 13:
     * for some broadcom WNICs, there are also three drivers available: broadcom proprietary drivers (''broadcom-wl''), broadcom mac80211-based drivers (the ''b43'') and the brcmSmac- and brcmFmac drivers     * for some broadcom WNICs, there are also three drivers available: broadcom proprietary drivers (''broadcom-wl''), broadcom mac80211-based drivers (the ''b43'') and the brcmSmac- and brcmFmac drivers
       * to set up and configure **[[https://wireless.wiki.kernel.org/en/users/documentation/iw|wireless utilities]]** are available, however on OpenWrt we rather use UCI: ''[[docs:guide-user:network:wifi:basic|/etc/config/wireless]]'' and ''[[docs:guide-user:base-system:basic-networking|/etc/config/network]]''.       * to set up and configure **[[https://wireless.wiki.kernel.org/en/users/documentation/iw|wireless utilities]]** are available, however on OpenWrt we rather use UCI: ''[[docs:guide-user:network:wifi:basic|/etc/config/wireless]]'' and ''[[docs:guide-user:base-system:basic-networking|/etc/config/network]]''.
-    * There are two different types of WNICs to distinguish: [[http://www.linuxwireless.org/en/developers/Documentation/Glossary?highlight=%28softmac%29#SoftMAC|SoftMAC]] and [[http://www.linuxwireless.org/en/developers/Documentation/Glossary?highlight=%28FullMAC%29#FullMAC|FullMAC]] devices; also see //[[http://linuxwireless.org/en/developers/Documentation/mac80211|About mac80211]]//.+    * There are two different types of WNICs to distinguish: [[https://wireless.wiki.kernel.org/en/developers/documentation/glossary#:~:text=(Access%20Point)-,SoftMAC,-SoftMAC%20is%20a|SoftMAC]] and [[https://wireless.wiki.kernel.org/en/developers/documentation/glossary#:~:text=or%20terminal%20emulator.-,FullMAC,-FullMAC%20is%20a|FullMAC]] devices; also see //[[https://wireless.wiki.kernel.org/en/developers/documentation/mac80211|About mac80211]]//.
   * Many drivers might require firmware blobs. Most firmware code is closed source. (Exception carl9170, [[https://wireless.wiki.kernel.org/en/developers/gsoc/2012/ath9k_htc_open_firmware|ath9k_htc]])   * Many drivers might require firmware blobs. Most firmware code is closed source. (Exception carl9170, [[https://wireless.wiki.kernel.org/en/developers/gsoc/2012/ath9k_htc_open_firmware|ath9k_htc]])
   * Atheros ath9k does not require firmware.   * Atheros ath9k does not require firmware.
Line 39: Line 36:
  
 ==== Regulation in law ==== ==== Regulation in law ====
-Available FrequenciesBands and Channels are subject to regulation in each state. +Available frequenciesbands and channels are subject to regulation in each state. 
-Please see: http://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-regdb.git/tree/db.txt+Please see: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/tree/db.txt
  
  
 ===== Wireless Drivers in OpenWrt ===== ===== Wireless Drivers in OpenWrt =====
-Wireless drivers are pulled on a more or less regularly basis from [[http://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-testing.git/|wireless-testing]] and the OpenWrt-patches which are not mainlined yet are adjusted, see e.g. [[https://dev.openwrt.org/changeset/36939/trunk|r36939]]. +Wireless drivers are pulled on a more or less regular basis from [[http://git.kernel.org/cgit/linux/kernel/git/wireless/wireless-testing.git/|wireless-testing]] and the OpenWrt patches which are not mainlined yet are adjusted, see e.g. [[https://dev.openwrt.org/changeset/36939/trunk|r36939]]. 
-OpenWrt does not use Kernel drivers. The package is called mac80211.+OpenWrt does not use kernel drivers. The package is called mac80211.
   * [[https://dev.openwrt.org/log/trunk/package/kernel/mac80211|history of commits to OpenWrt trunk regarding mac80211]]   * [[https://dev.openwrt.org/log/trunk/package/kernel/mac80211|history of commits to OpenWrt trunk regarding mac80211]]
   * [[https://dev.openwrt.org/search?ticket=on&q=mac80211|tickets on mac80211]], better is a custom query in [[wp>Trac]]: e.g. [[https://dev.openwrt.org/query?status=accepted&status=assigned&status=new&status=reopened&description=~mac80211&max=20&order=priority|custom query]]   * [[https://dev.openwrt.org/search?ticket=on&q=mac80211|tickets on mac80211]], better is a custom query in [[wp>Trac]]: e.g. [[https://dev.openwrt.org/query?status=accepted&status=assigned&status=new&status=reopened&description=~mac80211&max=20&order=priority|custom query]]
  
-Similar work (brand new drivers for older Kernel) is done by the [[https://backports.wiki.kernel.org/index.php/Main_Page|backports]] project [[http://marc.info/?l=linux-backports&m=136490878702448|April 2013 announcement]], previously called compat-wireless or compat-driver. OpenWrt does not use this, despite referencing it by name.+Similar work (brand new drivers for older kernel) is done by the [[https://backports.wiki.kernel.org/index.php/Main_Page|backports]] project [[http://marc.info/?l=linux-backports&m=136490878702448|April 2013 announcement]], previously called compat-wireless or compat-driver. OpenWrt does not use this, despite referencing it by name.
  
 ===== Wireless Utilities in OpenWrt ===== ===== Wireless Utilities in OpenWrt =====
Line 126: Line 123:
 | kmod-ath          |   10.059 | This module contains some common parts needed by Atheros Wireless drivers.  | | kmod-ath          |   10.059 | This module contains some common parts needed by Atheros Wireless drivers.  |
 | kmod-b43          |  210.860 | Kernel module for Broadcom 43xx wireless support (mac80211 stack) | | kmod-b43          |  210.860 | Kernel module for Broadcom 43xx wireless support (mac80211 stack) |
 +| kmod-brcm-wl      | 1847.448 | Proprietary kernel module for Broadcom SSB/B43xx, it replaces kmod-b43. It requires also the packages nas and wlc |
 +| kmod-brcmsmac      550.416 | Kernel module for Broadcom BCMA/IEEE802.11n PCIe Wireless cards |
 | kmod-mac80211      139.372 | Generic IEEE 802.11 Networking Stack (mac80211)              | | kmod-mac80211      139.372 | Generic IEEE 802.11 Networking Stack (mac80211)              |
 | kmod-cfg80211       93.696 | cfg80211 is the Linux wireless LAN (802.11) configuration API.  | | kmod-cfg80211       93.696 | cfg80211 is the Linux wireless LAN (802.11) configuration API.  |
 | iw                |   32.100 | cfg80211 interface configuration utility  | | iw                |   32.100 | cfg80211 interface configuration utility  |
 | wireless-tools    |   23.153 | Contains ''[[man>iwconfig]]'', ''[[man>iwlist]]'' and ''[[man>iwpriv]]''; tools for configuring wireless adapters implementing the WExt.  | | wireless-tools    |   23.153 | Contains ''[[man>iwconfig]]'', ''[[man>iwlist]]'' and ''[[man>iwpriv]]''; tools for configuring wireless adapters implementing the WExt.  |
-| crda              |    9.627 | The [[http://www.linuxwireless.org/en/developers/Regulatory/CRDA|Central Regulatory Domain Agent]] serves one purpose: tell Linux kernel what to enforce. In essence it is a udev helper for communication between the kernel and userspace. You only need to run this manually for debugging purposes. For manual changing of regulatory domains use iw (''iw reg set'') or wpa-supplicant (feature yet to be added).  |+| crda              |    9.627 | The [[https://wireless.wiki.kernel.org/en/developers/regulatory/crda|Central Regulatory Domain Agent]] serves one purpose: tell Linux kernel what to enforce. In essence it is a udev helper for communication between the kernel and userspace. You only need to run this manually for debugging purposes. For manual changing of regulatory domains use iw (''iw reg set'') or wpa-supplicant (feature yet to be added).  |
 | libnl-tiny        |   13.529 | This package contains a stripped down version of libnl  | | libnl-tiny        |   13.529 | This package contains a stripped down version of libnl  |
  
  
-| {{:meta:icons:tango:48px-outdated.svg.png?nolink}}  | Due to [[https://dev.openwrt.org/changeset/31954/|r31954]] tweaking the ''regulatory.bin'' to enbale channel 13 and 14 is no longer an option.  |+| {{:meta:icons:tango:48px-outdated.svg.png?nolink}}  | Due to [[https://dev.openwrt.org/changeset/31954/|r31954]] tweaking the ''regulatory.bin'' to enable channel 13 and 14 is no longer an option.  |
  
  
  • Last modified: 2023/06/22 22:48
  • by memicinn19