Hi everyone,
I am in the development in my custom board base on imx7dual sabre board, while the wifi module is replaced by AP6212.
The STA mode works fine that it can connect to other access points. But for the Access Point mode, the ssid that I set never showed up. I tried using the hostapd or wpa_supplicant, but still got the same result. I have confirmed my device is work in AP mode, which is one of the supported modes.
Btw I also tried to do the following manually:
echo /lib/firmware/ap6212/fw_bcm43438a0_apsta.bin > /sys/module/bcmdhd/parameters/firmware_path
echo 2 > /sys/module/bcmdhd/parameters/op_mode
echo /lib/firmware/ap6212/nvram.txt > /sys/module/bcmdhd/parameters/nvram_path
but still get the same result.
The pre-built image for the imx7d sabre board does not have ap mode for the wifi. I have no clue at all.
# iw wlan0 info
Interface wlan0
ifindex 6
wdev 0x1
addr 44:2c:05:27:5c:4e
ssid test_device
type AP
wiphy 0
txpower 31.00 dBm
here is my wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ap_scan=2
max_num_sta=5
network={
ssid="test_device"
frequency=2412
key_mgmt=NONE
mode=2
here is my hostapd.conf:
interface=wlan0
ctrl_interface=/var/run/hostapd
beacon_int=100
dtim_period=1
preamble=0
wps_state=2
eap_server=1
ssid=test_device
max_num_sta=5
channel=1
hw_mode=g
Dongle Host Driver, version 1.141.100.6 (r)
Compiled in drivers/net/wireless/bcmdhd\x00cmdhd
[ 1216.027646] wl_android_wifi_on in
[ 1216.126620] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1216.143859] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1216.161057] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1216.188941] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1216.945890] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
[ 1216.952571] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[ 1217.019996] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 1217.080705] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 1217.087102] wifi_platform_get_mac_addr
[ 1217.091358] Firmware up: op_mode=0x0002, MAC=44:2c:05:27:5c:4e
[ 1217.105710] Firmware version = wl0: Jun 6 2014 14:57:15 version 7.10.226.49 (r) FWID 01-cf4a5122
[ 1217.114359] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
[ 1217.120338] dhd_wlfc_init(): wlfc_mode=0x0, ret=-23
[ 1217.125058] CFG80211-ERROR) wl_cfg80211_up :
[ 1217.127942] Disable p2p support in hostap mode
[ 1217.192562] CFG80211-ERROR) wl_update_wiphybands :
[ 1217.195967] error reading vhtmode (-23)
[ 1217.206936] wl_create_event_handler(): thread:wl_event_handler:1f5 started
[ 1217.366144] CFG80211-ERROR) wl_cfg80211_set_channel :
[ 1217.369822] netdev_ifidx(6), chan_type(1) target channel(1)
Please advice and thank you.
Hi Chris
one can look at murata linux quick start quide on
wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html
or check web:
Switching Wifi Mode on NanoPiNeoAir running Armbian. Thanks FergusL · GitHub
Awasu » Banana Pi gateway: Setting up a WiFi access point
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for you reply anyway. I checked the links before but they do not help at all.
Chris