Does the Raspberry Pi 2 B 1.2 support adhoc mode?
iwlist says:
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
* P2P-device
However, if I try configuring adhoc mode I get errors in the form of:
Thu Jul 22 21:51:42 2021 daemon.notice netifd: radio0 (1760): command failed: No error information (-524)
Thu Jul 22 21:51:42 2021 daemon.notice netifd: radio0 (1793): command failed: No error information (-524)
Thu Jul 22 21:51:42 2021 daemon.notice netifd: radio0 (1793): command failed: I/O error (-5)
Thu Jul 22 21:51:43 2021 daemon.notice netifd: radio0 (1793): command failed: Not supported (-95)
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/soc/3f300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
option htmode 'HT20'
option country 'DE'
config wifi-iface
option device 'radio0'
option mode 'adhoc'
option ssid 'Openwrt'
opption encryption 'none'
option network 'lan'
[ 8.119709] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.303266] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.325266] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 16 2020 22:39:24 version 7.45.98.97 (r724416 CY) FWID 01-bf41ed64
[ 8.362524] usbcore: registered new interface driver brcmfmac
OpenWrt 21.02-rc3
Looks like having similarity to: