armbian 已经有了ap6210的驱动,而且ap6210支持AP模式,下面就以ap6210为例,开启WiFi AP
首先运行

1
2
rmmod dhd
modprobe dhd op_mode=2 firmware_path=/lib/firmware/ap6212/fw_apsta.bin

hostapd.conf内容

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
auth_algs=1
driver=nl80211
interface=wlan0
bridge=br0
hw_mode=g
ieee80211n=1
channel=1
ssid=test
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=876543210
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

重启会失效
参考
https://forum.armbian.com/index.php?/topic/2395-access-point-mode-with-ap6212-on-armbian-521/
http://www.aneasystone.com/archives/2016/08/wireless-analysis-one-monitoring.html