openwrt/package/kernel/mac80211
Bastian Bittorf 91ba22e3a4 mac80211: fix IBSS/adhoc mode for brcmfmac
On systems using brmcfmac (e.g. Raspberry Pi Zero W) without this fix,
the final setup-call:
iw dev wlan0 ibss join ...

fails with returncode 161 and message:
"command failed: Not supported (-95)"

So this patch calls an explicit:
iw dev wlan0 set type ibss
just prior to the 'ibss join' command.

I have tested several ath9k and mt76xx devices
with different revisions: this patch does not harm.

please also apply to stable branch.

Signed-off-by: Bastian Bittorf <bb@npl.de>
(cherry-picked from commit ea5fce3f46)
2021-11-23 18:30:04 +01:00
..
files mac80211: fix IBSS/adhoc mode for brcmfmac 2021-11-23 18:30:04 +01:00
patches mac80211: Update to backports-5.10.68 2021-09-22 22:36:15 +02:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: Add wil6210 driver 2021-01-05 02:16:24 +00:00
broadcom.mk treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
intel.mk treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
Makefile mac80211: Update to backports-5.10.68 2021-09-22 22:36:15 +02:00
marvell.mk kernel: Remove support for kernel 3.18 2019-05-03 22:41:38 +02:00
ralink.mk treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
realtek.mk treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00