User Tools

Site Tools


en:users:drivers:brcm80211

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
en:users:drivers:brcm80211 [2017/06/07 09:28]
Arend van Spriel [Contact Info]
en:users:drivers:brcm80211 [2024/03/20 10:46] (current)
Peter Robinson [Table]
Line 116: Line 116:
 === Current === === Current ===
  
-For SDIO driver you need to copy the nvram for your system and place it in /​lib/​firmware/​brcm. The nvram file name depends on the chip you have. The kernel log will tell you the exact file name. For the USB driver no nvram file is needed. ​+For SDIO driver you need to copy the nvram for your system and place it in /​lib/​firmware/​brcm. The nvram file name depends on the chip you have. The kernel log will tell you the exact file name.  
 + 
 +For the USB driver no nvram file is //​strictly// ​needed: in fact, the driver only loads the firmware blob and does not look for an nvram text file. However, the nvram parameters are still required and they are already part of the firmware blob. This is a TRX file which contains the nvram parameters as a sequence of zero-terminated plain text strings, appended at the end of the last section. 
 +For an example of how to modify/add nvram parameters for USB devices, see [[https://​blog.elimo.io/​2020/​06/​05/​pta-coexistence/​|this post]]
  
 The firmware files are located in the linux-firmware repository and can be copied as is to /​lib/​firmware/​brcm. ​ The firmware files are located in the linux-firmware repository and can be copied as is to /​lib/​firmware/​brcm. ​
Line 147: Line 150:
 For driver issues and/or bug reports, please use one or both: For driver issues and/or bug reports, please use one or both:
  
-[[mailto:​brcm80211-dev-list.pdl@broadcom.com|brcm80211-dev-list.pdl@broadcom.com]]\\ +[[mailto:​brcm80211@lists.linux.dev|brcm80211@lists.linux.dev]]  [[https://​lore.kernel.org/​brcm80211/​|archive]]\\ 
-[[mailto:brcm80211-dev-list@cypress.com|brcm80211-dev-list@cypress.com]]+[[mailto:linux-wireless@vger.kernel.org|linux-wireless@vger.kernel.org]]\\
  
-For any other questions feel free to contact the developers ​listed below: ​+For any other questions feel free to contact the maintainer(s) ​listed below: ​
  
 Arend van Spriel ​       [[mailto:​arend.vanspriel@broadcom.com|arend.vanspriel@broadcom.com]]\\ Arend van Spriel ​       [[mailto:​arend.vanspriel@broadcom.com|arend.vanspriel@broadcom.com]]\\
-Franky Lin              [[mailto:​franky.lin@broadcom.com|franky.lin@broadcom.com]]\\ 
-Hante Meuleman ​         [[mailto:​hante.meuleman@broadcom.com|hante.meuleman@broadcom.com]]\\ 
-Chi-Hsien Lin           ​[[mailto:​Chi-Hsien.Lin@cypress.com|Chi-Hsien.Lin@cypress.com]]\\ 
-Wright Feng             ​[[mailto:​Wright.Feng@cypress.com|Wright.Feng@cypress.com]] 
  
 ===== Developer information ===== ===== Developer information =====
Line 173: Line 172:
             * monitor mode              * monitor mode 
 ==== fullmac driver specifics ==== ==== fullmac driver specifics ====
-              * Integrated with cfg80211  +The brcmfmac driver ​is based on the DHD driver, which is also released in AOSP under the name bcmdhd. Although similar the brcmfmac driver has been reworked significantly. In the figure below the layering of the brcmfmac is shown. It was made couple of years ago so it may not be accurate. 
-              * Most of Mac functionality ​is performed ​on chip  +{{:​en:​users:​drivers:​brcm80211:​brcmfmac-layering.png?​500|}} 
-              * support for SDIO, USB and PCIe  +\\ 
-              * SoftAP  +The bus layer supports ​SDIO, USBand PCIe. The protocol layer support msgbuf protocol used for PCIe devices and BCDC which is used for SDIO and USB devices.
-              * P2P  +
-              * TDLS +
 ==== Get the code ==== ==== Get the code ====
  
Line 184: Line 181:
  
  
-<​code>​git://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​linville/​wireless-testing.git</​code>​+<​code>​git://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​wireless/​wireless-testing.git</​code>​
 The driver is also available in the 3.2 and newer kernels. ​ When using 'make menuconfig'​ it can be accessed: ​ The driver is also available in the 3.2 and newer kernels. ​ When using 'make menuconfig'​ it can be accessed: ​
  
Line 203: Line 200:
                 *  *    *  *  * -> [*] Support for BCMA on PCI-host bus                  *  *    *  *  * -> [*] Support for BCMA on PCI-host bus 
  
 +==== Get Involved ====
 +
 +Maintaining a driver for a family of chipsets that is widespread and productized by multiple entities can be challenging. While having a good stock of devices it is by no means covering a fraction of the variants out in the wild. So we can always use help from people doing regression testing or co-maintaining the driver. The table below provides an overview of those involved and the role they play.
 +
 +^ Name               ^ Email                         ^ Role                ^ Device(s) ​                                                      ^
 +| Izabela Bakollari ​ | ibakolla@redhat.com ​          | Tester ​             | Raspberry PI4 8GB                                               |
 +| Arend van Spriel ​  | arend.vanspriel@broadcom.com ​ | Maintainer, Tester ​ | BCM4330, BCM43664 ​                                              |
 +| Peter Robinson ​    | pbrobinson@gmail.com ​         | Tester ​             | Numerous Arm devices with Broadcom/​Cypress/​Synaptics variants. ​ |
  
 ==== tracepoint support ==== ==== tracepoint support ====
Line 211: Line 216:
                 *  *    *  *  *  * 40MHz channels ​                 *  *    *  *  *  * 40MHz channels ​
                 *  *    *  *  *  * powersave ​                 *  *    *  *  *  * powersave ​
-                *  *    *  *  *  * debugfs (for accessing counters and other diagnostic info)  
                 *  *    *  *  *  * IBSS                  *  *    *  *  *  * IBSS 
-                *  *    *  *  *  * AP  
-                *  *    *  *  *  * LED support ​ 
                 *  *    *  *  *  * HW-based encryption ​                 *  *    *  *  *  * HW-based encryption ​
-                *  *    *  *  *  * Add support for more chips, including (near term) BCM43227, BCM43228, and BCM4331. ​ Support for additional new chips to follow. ​+
 ==== To be done for fullmac driver ==== ==== To be done for fullmac driver ====
                 *  *    *  *  *   * Add support for                  *  *    *  *  *   * Add support for 
Line 224: Line 226:
 ==== Regulatory Implementation for brcmsmac ==== ==== Regulatory Implementation for brcmsmac ====
  
-This generation of chips contain additional ​ regulatory support independent of the driver. The devices use a single ​ worldwide regulatory domain, with channels ​12-14 (2.4 GHz band) and  channels 52-64 and 100-140 (5 GHz band) restricted to passive operation. ​ Transmission on those channels is suppressed until appropriate other  traffic is observed on those channels. Within the driver, we use the  ficticious country code "​X2"​ to represent this worldwide regulatory ​ domain. There is currently no interface to configure a different domain. ​ The driver reads the SROM country code from the chip and hands it up to  mac80211 as the regulatory hint, however this information is otherwise ​ unused with the driver. ​+This generation of chips contain additional ​ regulatory support independent of the driver. The devices use a single ​ worldwide regulatory domain, with channels ​1-11 (2.4 GHz band) and  channels 52-64 and 100-140 (5 GHz band) restricted to passive operation. ​ Transmission on those channels is suppressed until appropriate other  traffic is observed on those channels. Within the driver, we use the  ficticious country code "​X2"​ to represent this worldwide regulatory ​ domain. There is currently no interface to configure a different domain. ​ The driver reads the SROM country code from the chip and hands it up to  mac80211 as the regulatory hint, however this information is otherwise ​ unused with the driver. ​
  
en/users/drivers/brcm80211.1496827734.txt.gz · Last modified: 2017/06/07 09:28 by Arend van Spriel