Benutzer-Werkzeuge

Webseiten-Werkzeuge


stellar-wireless-wpa3-sae-raspberry-pi

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
stellar-wireless-wpa3-sae-raspberry-pi [2019/05/18 01:17]
benny
stellar-wireless-wpa3-sae-raspberry-pi [2019/06/06 22:45] (aktuell)
benny
Zeile 3: Zeile 3:
 Connecting with WPA3-Personal (SAE/PMF) on the Raspberry Pi 3 B+ via on-board wireless NIC is not exactly straight forward, but it works. On this page I'll document what needs to be done, to get it to work. Connecting with WPA3-Personal (SAE/PMF) on the Raspberry Pi 3 B+ via on-board wireless NIC is not exactly straight forward, but it works. On this page I'll document what needs to be done, to get it to work.
  
-**Equipement ​& Access Point used:** +**Equipment ​& Access Point used:** 
-  * Alcatel-Lucent Enterprise Stellar ​Wireless ​AP1201+  * [[https://​www.al-enterprise.com/​en/​products/​wlan/​omniaccess-stellar-access-point-1201|Alcatel-Lucent Enterprise ​OmniAccess ​Stellar AP1201]]
   * AWOS v3.0.6.20   * AWOS v3.0.6.20
   * OmniVista 2500 v4.4R1 Build 39   * OmniVista 2500 v4.4R1 Build 39
   * Raspberry Pi Model 3 B+   * Raspberry Pi Model 3 B+
 {{ :​omniaccess-stellar-ap1201.png?​direct&​400 |}} {{ :​omniaccess-stellar-ap1201.png?​direct&​400 |}}
 +
 +<WRAP center round tip 60%>
 +If you'd like to know how to connect a Windows 10 laptop via WPA3-Personal,​ [[stellar-wireless-win10-windows-10-wpa3-sae|you may want to review this article]]!
 +</​WRAP>​
  
 Connecting to SSID "​ov44b39"​ mandates MFP/PMF (as SAE-only), as you can tell from following **Wifi Explorer** screenshot. Connecting to SSID "​ov44b39"​ mandates MFP/PMF (as SAE-only), as you can tell from following **Wifi Explorer** screenshot.
Zeile 757: Zeile 761:
 </​code>​ </​code>​
  
-===== TODO =====+===== TODO / Steps to be carried out ===== 
 + 
 +  * Visit [[https://​community.cypress.com/​docs/​DOC-17441|Cypress Linux WiFi Driver Release (FMAC) [2019-05-08]]] website and download the archive 
 +  * You can try to build the described v4.14.77 kernel, but it won't get beyond the Rainbow screen at boot unless you spend a lot of time to incorporate all the changes done by the awesome Raspberry Pi project 
 + 
 +==== Cross-compiling own Linux Kernel ==== 
 +I decided to cross-compile the Kernel for my Raspberry Pi. I did this on Ubuntu 19.04., but this will work in a similar way on every distribution. 
 + 
 +<​code>​ 
 +# Install some packages required to build a kernel 
 +sudo apt-get install git bison flex libssl-dev 
 + 
 +# Get hold of the tool-chain 
 +git clone https://​github.com/​raspberrypi/​tools ~/tools 
 + 
 +# Ensure that you have access to those tools 
 +echo PATH=\$PATH:​~/​tools/​arm-bcm2708/​gcc-linaro-arm-linux-gnueabihf-raspbian-x64/​bin >> ~/.bashrc 
 +source ~/.bashrc 
 + 
 +# Obtain the Raspberry Pi 4.14 Kernel Source 
 +git clone --depth=1 --branch rpi-4.14.y https://​github.com/​raspberrypi/​linux 
 + 
 +# Decompress the Cypress archive and move/copy the cypress-patch folder to the Kernel Source root directory 
 +tar xvzf cypress-patch-v4.14.77-2019_0503.tar.gz 
 +cd linux 
 +cp -r ../​cypress/​cypress-patch . 
 + 
 +# Apply the patches and just keep hitting the Return key on every query (don't resume, it will look like following) 
 +for i in cypress-patch/​*.patch;​ do patch -p1 < $i; done 
 + 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bus.h 
 +Reversed (or previously applied) patch detected! ​ Assume -R? [n]  
 +Apply anyway? [n]  
 +Skipping patch. 
 +3 out of 3 hunks ignored -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bus.h.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Reversed (or previously applied) patch detected! ​ Assume -R? [n]  
 +Apply anyway? [n]  
 +Skipping patch. 
 +5 out of 5 hunks ignored -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 989 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 +Hunk #1 succeeded at 171 with fuzz 2 (offset 16 lines). 
 +Hunk #2 succeeded at 858 (offset 16 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +Reversed (or previously applied) patch detected! ​ Assume -R? [n]  
 +Apply anyway? [n]  
 +Skipping patch. 
 +2 out of 2 hunks ignored -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Reversed (or previously applied) patch detected! ​ Assume -R? [n]  
 +Apply anyway? [n]  
 +Skipping patch. 
 +2 out of 2 hunks ignored -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +Reversed (or previously applied) patch detected! ​ Assume -R? [n]  
 +Apply anyway? [n]  
 +Skipping patch. 
 +1 out of 1 hunk ignored -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bcmsdh.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #3 succeeded at 4024 (offset 1 line). 
 +Hunk #4 succeeded at 4080 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​of.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​vendor.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bcmsdh.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 625 (offset 1 line). 
 +Hunk #2 succeeded at 645 (offset 1 line). 
 +Hunk #3 succeeded at 707 (offset 1 line). 
 +Hunk #4 succeeded at 2459 (offset 1 line). 
 +Hunk #5 succeeded at 4080 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​brcm_hw_ids.h 
 +patching file include/​linux/​mmc/​sdio_ids.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 4581 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3366 (offset 1 line). 
 +Hunk #2 succeeded at 4119 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 186 with fuzz 2 (offset 14 lines). 
 +Hunk #3 FAILED at 183. 
 +1 out of 3 hunks FAILED -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​feature.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 2330 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 4121 (offset 1 line). 
 +Hunk #3 succeeded at 4128 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #3 succeeded at 2557 (offset 1 line). 
 +Hunk #4 succeeded at 2777 (offset 1 line). 
 +Hunk #5 succeeded at 3634 (offset 1 line). 
 +Hunk #6 succeeded at 4333 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​chipcommon.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 1719 (offset -41 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​brcmu_wifi.h 
 +Hunk #1 succeeded at 239 (offset 2 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5218 (offset -39 lines). 
 +Hunk #2 succeeded at 5283 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 2568 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pno.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 469 (offset 11 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 2705 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6686 (offset -38 lines). 
 +Hunk #2 succeeded at 6711 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 473 (offset 11 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 3667 (offset -39 lines). 
 +Hunk #2 succeeded at 3729 (offset -39 lines). 
 +Hunk #3 succeeded at 3778 (offset -39 lines). 
 +Hunk #4 succeeded at 6540 (offset -38 lines). 
 +Hunk #5 succeeded at 6563 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #1 succeeded at 281 with fuzz 2 (offset 20 lines). 
 +Hunk #2 succeeded at 398 (offset 11 lines). 
 +Hunk #3 succeeded at 474 (offset 11 lines). 
 +Hunk #4 succeeded at 562 (offset 11 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 1237 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.h 
 +Hunk #4 succeeded at 220 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 3758 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​brcm_hw_ids.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 476 (offset 11 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 2704 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 480 (offset 11 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 4352 (offset 1 line). 
 +Hunk #2 succeeded at 4369 (offset 1 line). 
 +Hunk #3 succeeded at 4392 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 1721 (offset -41 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 452 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 4352 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3524 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 192 with fuzz 2 (offset 14 lines). 
 +Hunk #3 FAILED at 188. 
 +1 out of 3 hunks FAILED -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #1 FAILED at 190. 
 +1 out of 1 hunk FAILED -- saving rejects to file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c.rej 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6638 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3532 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5428 (offset -39 lines). 
 +Hunk #2 succeeded at 5590 (offset -39 lines). 
 +Hunk #3 succeeded at 5911 (offset -39 lines). 
 +Hunk #4 succeeded at 6025 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 2916 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6903 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 482 (offset 21 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #2 succeeded at 519 (offset -41 lines). 
 +Hunk #3 succeeded at 579 (offset -41 lines). 
 +Hunk #4 succeeded at 681 (offset -41 lines). 
 +Hunk #5 succeeded at 806 (offset -41 lines). 
 +Hunk #6 succeeded at 863 (offset -41 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6619 (offset -38 lines). 
 +Hunk #2 succeeded at 6633 (offset -38 lines). 
 +Hunk #3 succeeded at 6644 (offset -38 lines). 
 +Hunk #4 succeeded at 6662 (offset -38 lines). 
 +Hunk #5 succeeded at 6700 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5358 (offset -39 lines). 
 +Hunk #2 succeeded at 5371 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +Hunk #3 succeeded at 2023 (offset -1 lines). 
 +Hunk #4 succeeded at 2169 (offset -1 lines). 
 +Hunk #5 succeeded at 2208 (offset -1 lines). 
 +Hunk #6 succeeded at 2236 (offset -1 lines). 
 +Hunk #7 succeeded at 2282 (offset -1 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bcmsdh.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 622 (offset 1 line). 
 +Hunk #2 succeeded at 644 (offset 1 line). 
 +patching file include/​linux/​mmc/​sdio_ids.h 
 +patching file include/​net/​cfg80211.h 
 +patching file include/​uapi/​linux/​nl80211.h 
 +patching file net/​wireless/​core.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 13821 (offset 10 lines). 
 +Hunk #2 succeeded at 13835 (offset 10 lines). 
 +patching file net/​wireless/​nl80211.h 
 +patching file net/​wireless/​sme.c 
 +patching file net/​wireless/​util.c 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 13851 (offset 10 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5411 (offset -39 lines). 
 +Hunk #2 succeeded at 5428 (offset -39 lines). 
 +Hunk #3 succeeded at 5772 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 1733 (offset -41 lines). 
 +Hunk #2 succeeded at 1778 (offset -41 lines). 
 +Hunk #3 succeeded at 5737 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #2 succeeded at 276 with fuzz 2 (offset 23 lines). 
 +Hunk #3 succeeded at 383 (offset 21 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​debug.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fweh.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 1097 (offset 1 line). 
 +Hunk #3 succeeded at 1175 (offset 1 line). 
 +Hunk #4 succeeded at 2569 (offset 1 line). 
 +Hunk #5 succeeded at 2610 (offset 1 line). 
 +Hunk #6 succeeded at 2680 (offset 1 line). 
 +Hunk #7 succeeded at 2796 (offset 1 line). 
 +Hunk #8 succeeded at 2845 (offset 1 line). 
 +Hunk #9 succeeded at 4255 (offset 1 line). 
 +Hunk #10 succeeded at 4335 (offset 1 line). 
 +Hunk #11 succeeded at 4383 (offset 1 line). 
 +Hunk #12 succeeded at 4634 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3568 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 4380 (offset -39 lines). 
 +Hunk #2 succeeded at 4534 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 4579 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​chipcommon.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 4325 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​brcm_hw_ids.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 3864 (offset 1 line). 
 +patching file include/​uapi/​linux/​nl80211.h 
 +patching file include/​uapi/​linux/​nl80211.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 7968 (offset 1 line). 
 +patching file include/​linux/​ieee80211.h 
 +patching file include/​net/​cfg80211.h 
 +patching file include/​uapi/​linux/​nl80211.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #2 succeeded at 3867 (offset 1 line). 
 +Hunk #3 succeeded at 8187 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 1382 (offset -41 lines). 
 +Hunk #2 succeeded at 1620 (offset -41 lines). 
 +Hunk #3 succeeded at 1652 (offset -41 lines). 
 +Hunk #4 succeeded at 1821 (offset -41 lines). 
 +Hunk #5 succeeded at 1903 (offset -41 lines). 
 +Hunk #6 succeeded at 2109 (offset -41 lines). 
 +Hunk #7 succeeded at 2128 (offset -41 lines). 
 +Hunk #8 succeeded at 5489 (offset -39 lines). 
 +Hunk #9 succeeded at 6973 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​feature.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​feature.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 +Hunk #2 succeeded at 537 (offset 16 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​include/​brcmu_wifi.h 
 +Hunk #1 succeeded at 242 (offset 2 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 4343 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 2934 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6987 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 2896 (offset -39 lines). 
 +Hunk #2 succeeded at 7059 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.c 
 +Hunk #3 succeeded at 528 (offset 21 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​common.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 3891 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 2132 (offset -41 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3847 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6711 (offset -38 lines). 
 +Hunk #2 succeeded at 6726 (offset -38 lines). 
 +Hunk #3 succeeded at 6772 (offset -38 lines). 
 +Hunk #4 succeeded at 6781 (offset -38 lines). 
 +Hunk #5 succeeded at 6800 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #2 succeeded at 506 (offset -41 lines). 
 +Hunk #3 succeeded at 530 (offset -41 lines). 
 +Hunk #4 succeeded at 625 (offset -41 lines). 
 +Hunk #5 succeeded at 750 (offset -41 lines). 
 +Hunk #6 succeeded at 807 (offset -41 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 409 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bus.h 
 +Hunk #1 succeeded at 259 (offset 3 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 967 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​debug.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​debug.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 3574 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6872 (offset -38 lines). 
 +Hunk #2 succeeded at 6943 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fweh.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​vendor.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​vendor.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bus.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 6633 (offset -38 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​chip.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #1 succeeded at 4603 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 1119 (offset 1 line). 
 +Hunk #3 succeeded at 1180 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​debug.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #2 succeeded at 6012 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwsignal.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file include/​net/​cfg80211.h 
 +patching file include/​uapi/​linux/​nl80211.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 13837 (offset 10 lines). 
 +patching file net/​wireless/​sme.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5751 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​msgbuf.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​p2p.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5544 (offset -39 lines). 
 +Hunk #2 succeeded at 5615 (offset -39 lines). 
 +Hunk #3 succeeded at 6028 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5718 (offset -39 lines). 
 +Hunk #2 succeeded at 5819 (offset -39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 1184 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​msgbuf.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bcmsdh.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 3710 (offset -39 lines). 
 +Hunk #2 succeeded at 3748 (offset -39 lines). 
 +Hunk #3 succeeded at 3818 (offset -39 lines). 
 +Hunk #4 succeeded at 3865 (offset -39 lines). 
 +Hunk #5 succeeded at 7425 (offset -28 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​pcie.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​usb.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 4359 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​bcmsdh.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​sdio.c 
 +Hunk #2 succeeded at 4386 (offset 1 line). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​core.c 
 +Hunk #1 succeeded at 383 (offset 39 lines). 
 +Hunk #2 succeeded at 401 (offset 39 lines). 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fweh.h 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​msgbuf.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 3610 (offset -39 lines). 
 +patching file include/​net/​cfg80211.h 
 +patching file net/​wireless/​nl80211.c 
 +Hunk #1 succeeded at 13782 (offset 10 lines). 
 +patching file net/​wireless/​sme.c 
 +patching file drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​cfg80211.c 
 +Hunk #1 succeeded at 5885 (offset -39 lines). 
 + 
 +# Now we need to manually correct one file, that has changed since the patches by Cypress 
 +vi drivers/​net/​wireless/​broadcom/​brcm80211/​brcmfmac/​fwil_types.h 
 + 
 +# Go to line 1011 and comment out the entire definition like shown below 
 +# This is defined twice in the file after the patch and therefore compilation would fail (at line 894) 
 +/** 
 + * struct brcmf_dload_data_le - data passing to firmware for downloading 
 + */ 
 +/*struct brcmf_dload_data_le { 
 +*       ​__le16 flag; 
 +*       ​__le16 dload_type;​ 
 +*       ​__le32 len; 
 +*       ​__le32 crc; 
 +*       u8 data[1]; 
 +};*/ 
 + 
 +# Ensure we get the Kernel we want ... 
 +export KERNEL=kernel7 
 + 
 +# I decided to go for the "​bcm2709_defconfig"​ 
 +make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcm2709_defconfig 
 + 
 +# Compile the kernel 
 +make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs 
 + 
 +# Create a directory to collect your modules 
 +mkdir /​tmp/​modules 
 + 
 +# Push the modules to that directory 
 +make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/​tmp/​modules modules_install 
 + 
 +# At this point you only need to copy the Kernel/​Modules over to your Raspberry Pi 
 +cd arch/​arm/​boot/​ 
 +scp zImage pi@192.168.2.153:​ 
 + 
 +# Modules 
 +cd /​tmp/​modules 
 +tar czf newmodules.tar.gz lib/ 
 +scp newmodules.tar.gz pi@192.168.2.153:​ 
 + 
 +
 +# On the Raspberry Pi:  
 +#  - Give "​zImage"​ a meaningful name (e.g. kernelwifi.img) and move/copy it to /boot 
 +#  - Ensure that you add "​kernel=kernelwifi.img"​ at the end of the /​boot/​config.txt 
 +#  - Decompress the newmodules.tar.gz and move/copy the 4.14.114-v7+ folder to /​lib/​modules 
 +#  - Take a backup copy of your /​lib/​firmware/​brcm directory 
 +#  - SCP the cypress-firmware-v4.14.77-2019_0503.tar.gz firmware package to your Raspberry Pi 
 +#  - tar xvzf cypress-firmware-v4.14.77-2019_0503.tar.gz 
 +#  - sudo cp firmware/* /​lib/​firmware/​brcm/​ 
 +</​code>​ 
 + 
 +==== Compiling / Patching hostap/​wpa_supplicant ==== 
 +<​code>​ 
 +# Download hostap_2_6 package 
 + 
 +wget https://​w1.fi/​cgit/​hostap/​snapshot/​hostap_2_6.tar.gz 
 +--2019-05-17 22:​24:​40-- ​ https://​w1.fi/​cgit/​hostap/​snapshot/​hostap_2_6.tar.gz 
 +Resolving w1.fi (w1.fi)... 212.71.239.96 
 +Connecting to w1.fi (w1.fi)|212.71.239.96|:​443... connected. 
 +HTTP request sent, awaiting response... 200 OK 
 +Length: unspecified [application/​x-gzip] 
 +Saving to: ‘hostap_2_6.tar.gz’ 
 + 
 +hostap_2_6.tar.gz ​                                  ​[ ​  <​=> ​                                                                                                ​] ​  ​3.49M ​ 7.79MB/​s ​   in 0.4s     
 + 
 +2019-05-17 22:24:42 (7.79 MB/s) - ‘hostap_2_6.tar.gz’ saved [3657570] 
 + 
 +# Decompress the archive 
 +tar xvzf hostap_2_6.tar.gz  
 + 
 +# SCP and decompress the hostap_2_6 patch archive from Cypress  
 +tar xvzf cypress-hostap_2_6-2019_0502.tar.gz  
 + 
 +# Move the patches to the hostap folder 
 +mv cypress-hostap_2_6 hostap_2_6 
 +cd hostap_2_6/​ 
 + 
 +# Apply the Cypress patches 
 +for i in cypress-hostap_2_6/​*.patch;​ do patch -p1 < $i; done 
 + 
 +patching file src/​ap/​ieee802_11.c 
 +patching file src/​ap/​wpa_auth.c 
 +patching file src/​ap/​wpa_auth.h 
 +patching file src/​ap/​wpa_auth_ft.c 
 +patching file src/​ap/​wpa_auth_i.h 
 +patching file src/​common/​wpa_common.h 
 +patching file src/​rsn_supp/​wpa.c 
 +patching file src/​rsn_supp/​wpa_i.h 
 +patching file src/​rsn_supp/​wpa.c 
 +patching file src/​rsn_supp/​wpa_i.h 
 +patching file src/​common/​wpa_common.h 
 +patching file src/​rsn_supp/​wpa.c 
 +patching file src/​rsn_supp/​wpa_i.h 
 +patching file src/​ap/​wpa_auth.c 
 +patching file src/​rsn_supp/​tdls.c 
 +patching file wpa_supplicant/​wnm_sta.c 
 +patching file src/​rsn_supp/​wpa.c 
 +patching file src/​rsn_supp/​wpa_ft.c 
 +patching file src/​rsn_supp/​wpa_i.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​driver_nl80211.c 
 +patching file src/​drivers/​driver_nl80211_capa.c 
 +patching file src/​drivers/​driver_nl80211.c 
 +patching file src/​drivers/​driver.h 
 +patching file src/​drivers/​driver_common.c 
 +patching file src/​drivers/​driver_nl80211_event.c 
 +patching file wpa_supplicant/​events.c 
 +patching file wpa_supplicant/​wpa_supplicant.c 
 +patching file src/​drivers/​driver_nl80211.c 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file wpa_supplicant/​config.c 
 +patching file wpa_supplicant/​config_file.c 
 +patching file wpa_supplicant/​config_ssid.h 
 +patching file wpa_supplicant/​config_winreg.c 
 +patching file wpa_supplicant/​mesh_rsn.c 
 +patching file wpa_supplicant/​sme.c 
 +patching file wpa_supplicant/​wpa_supplicant.c 
 +patching file wpa_supplicant/​wpa_supplicant.conf 
 +patching file wpa_supplicant/​wpa_supplicant.conf 
 +patching file wpa_supplicant/​wpa_supplicant.c 
 +patching file wpa_supplicant/​sme.c 
 +patching file wpa_supplicant/​wpa_supplicant.c 
 +patching file src/​drivers/​driver_nl80211.c 
 +patching file src/​drivers/​nl80211_copy.h 
 +patching file src/​drivers/​driver.h 
 +patching file src/​drivers/​driver_nl80211_capa.c 
 +patching file src/​drivers/​driver.h 
 +patching file src/​drivers/​driver_nl80211.c 
 +patching file wpa_supplicant/​wpa_supplicant.c 
 +patching file src/​rsn_supp/​wpa.c 
 +patching file src/​drivers/​driver_nl80211_event.c 
 +patching file wpa_supplicant/​wpas_glue.c 
 + 
 +# Change to wpa_supplicant directory 
 +cd wpa_supplicant/​ 
 + 
 +# Copy defconfig to .config 
 +cp defconfig .config 
 + 
 +# Edit the .config file and add a few lines 
 +vi .config 
 + 
 +CONFIG_IEEE80211W=y 
 +CONFIG_SAE=y 
 +CONFIG_SUITEB=y 
 + 
 +# Install a libssl-dev to make the compilation successful 
 +sudo apt-get install libssl-dev libnl-dev 
 + 
 +# Depending on your system, you might need some libnl packages 
 +# Those are the ones I have, but the above should be sufficient 
 +dpkg -l | grep libnl 
 +ii  libnl-3-200:​armhf ​                    ​3.2.27-2 ​                         armhf        library for dealing with netlink sockets 
 +ii  libnl-cli-3-200:​armhf ​                ​3.2.27-2 ​                         armhf        library for dealing with netlink sockets - cli helpers 
 +ii  libnl-dev ​                            ​1.1-8 ​                            ​armhf ​       development library and headers for libnl 
 +ii  libnl-genl-3-200:​armhf ​               3.2.27-2 ​                         armhf        library for dealing with netlink sockets - generic netlink 
 +ii  libnl-nf-3-200:​armhf ​                 3.2.27-2 ​                         armhf        library for dealing with netlink sockets - netfilter interface 
 +ii  libnl-route-3-200:​armhf ​              ​3.2.27-2 ​                         armhf        library for dealing with netlink sockets - route interface 
 +ii  libnl1:​armhf ​                         1.1-8                             ​armhf ​       library for dealing with netlink sockets 
 + 
 +# The make would still fail due to some issue with some "Fast Transition"​ declarations 
 +vi ../​src/​drivers/​driver_nl80211.c 
 + 
 +# Go to line 4969 and comment out those entries 
 +/*              case WPA_KEY_MGMT_FT_IEEE8021X:​ 
 +                        mgmt = RSN_AUTH_KEY_MGMT_FT_802_1X;​ 
 +                        break; 
 +                case WPA_KEY_MGMT_FT_PSK:​ 
 +                        mgmt = RSN_AUTH_KEY_MGMT_FT_PSK;​ 
 +                        break;*/ 
 + 
 +# Compile the code 
 +make 
 + 
 +</​code>​ 
 + 
 +==== Content of my wpa_supplicant.conf ==== 
 +You'll need to adapt this to your needs. Please note that "​pmf=1"​ signals that the client is capable to do Protected Management Frames (PMF), while SAE makes it mandatory (required) to enable/use PMF. 
 +<​code>​ 
 +ctrl_interface=DIR=/​var/​run/​wpa_supplicant GROUP=netdev 
 +eapol_version=1 
 +ap_scan=1 
 +fast_reauth=1 
 +country=DE 
 +pmf=1 
 +network={ 
 + ssid="​ov44b39"​ 
 + proto=RSN 
 + key_mgmt=SAE 
 + sae_password="​12345678"​ 
 +
 +</​code>​ 
 + 
 +==== Final step ==== 
 +<​code>​ 
 +# Very likely a wpa_supplicant is already running, so we need to kill it before attempting to connect somewhere 
 +sudo killall wpa_supplicant 
 + 
 +# Run our newly compiled wpa_supplicant with the above configuration 
 +sudo ./​wpa_supplicant -c wpa_supplicant.conf -dd -i wlan0 
 +  
 +</​code>​ 
  
-  * Describe how to build custom kernel 
-  * Describe how to embed firmware blob 
-  * Describe how to get custom wpa_supplicant 
stellar-wireless-wpa3-sae-raspberry-pi.1558135022.txt.gz · Zuletzt geändert: 2019/05/18 01:17 von benny