Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange Pi Zero Plus 2 & Nano Pi Neo Air: AP6212A Wifi+BT

Featured Replies

On 4/28/2017 at 9:38 PM, martinayotte said:

AP6212 WiFi still not working on any Mainline (OPiZeroPlus*/OPiPrime/OPiWin), we still investigate ...

The only one working is Legacy OPiZeroPlus-H3.

 

Are you 100% sure that OPiPrime has AP6212(A)?
In my case I believe it has Realtek 8723
```
$ lsmod | grep 80211
cfg80211              294912  1 r8723bs
rfkill                 28672  3 cfg80211
``` 

As for OPiWin, my has AP6212A - maybe my experience might be useful to someone here.
 

Mainline.

Could not make it work with mainline 5.32 and upgraded 5.41 (both same kernel 4.11.8)
It is using brcmfmac module, that I tried with various firmware (/lib/firmware/brcm/brcmfmac43430-sdio.bin and -=-.txt files). All have the same result - system reboot after first wifi frames go - e.g. client get's dhcp address and the system reboots.
The only thing in dmesg:
```
[    9.458442] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct  8 2016 15:31:47 version 7.46.57.4.ap.r4 (A1 Station/P2P) FWID 01-3621395e es6.c5.n4.a3
[    9.741314] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[    9.924496] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
```
Tracking similar (freez instead of reboot) issue:
https://github.com/raspberrypi/linux/issues/1342
 

Strange, but have the feeling that it did work with mainline before on 5.32 (card was corrupted and had no backup) but might confuse with prime.


Legacy.

Could make it work in legacy kernel. First the hostapd was starting fine, but was no ESSID in iwconfig and got some error in dmesg
```
CFG80211-ERROR) check_dev_role_integrity : device role select failed
```

Fixed it with module parameter.
(by Igor advice from here http://forum.banana-pi.org/t/how-to-setup-a-wifi-ap/2437)

# echo 'options bcmdhd op_mode=2' > /etc/modprobe.d/bcmdhd.conf

Iwconfig should show the ESSID name.
```
# iwconfig 
...
wlan0     IEEE 802.11  ESSID:"ARMBIAN"  
          Mode:Master  Frequency:2.432 GHz  Access Point: 02:1A:11:F8:B9:12   
          Bit Rate=96 Mb/s   Tx-Power:32 dBm   
          Retry min limit:10   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Managementmode:All packets received
...
```
Works fine despite some errors in dmesg
```
CFG80211-ERROR) __wl_cfg80211_scan : Invalid Scan Command at SoftAP mode
CFG80211-ERROR) wl_cfg80211_scan : scan error (-22)
```

Will appreciate any ideas with mainline and will try to provide any logs if required.

4 hours ago, renard said:

Are you 100% sure that OPiPrime has AP6212(A)?
In my case I believe it has Realtek 8723

Of course, but this is really old post ! At that time, I've just received my OPiPrime board. Later, I've succeeded to get the Realtek using Icenowy's branch from that time, I don't remember which kernel version.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.