Android 11 wlan is not working

A6S AP6275 wifi/BT module.
By Rock3A, debian package works well with Wifi, BT.
Also BT works well with android11.
When I tries to set Android - settings - Network & internet - Wi-Fi - Off to On - it "off"ed immediately.
At the console, I call below command.
console:/ $ svc wifi enable
console:/ $ dumpsys wifi | grep “Wi-Fi is”
Wi-Fi is disabled
console:/ $ settings get global wifi_on
1

Below is booting sequence for wifi.
Any advice would be highly appreciated.

[ 2.804596] [BT_RFKILL]: Enter rfkill_rk_init
[ 2.804604] [WLAN_RFKILL]: Enter rfkill_wlan_init
[ 2.805046] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[ 2.805079] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6256
[ 2.805090] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[ 2.805098] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[ 2.805126] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 125, flags = 0.
[ 2.805499] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[ 2.805512] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1
[ 2.805521] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[ 2.806012] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 77.
[ 2.806038] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 138.
[ 2.806049] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_gpio = 141.
[ 2.806059] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 140.
[ 2.806106] [BT_RFKILL]: Request irq for bt wakeup host
[ 2.806170] [BT_RFKILL]: ** disable irq
[ 2.806271] [BT_RFKILL]: bt_default device registered.

[ 7.458273] ======== dhd_wlan_init_plat_data ========
[ 7.458280] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[ 7.458341] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=117, oob_irq_flags=0x414
[ 7.458354] dhd_wlan_init_gpio: WL_REG_ON=-1
[ 7.458360] dhd_wifi_platform_load: Enter
[ 7.458366] Power-up adapter ‘DHD generic adapter’
[ 7.458785] wifi_platform_set_power = 1
[ 7.458807] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 7.458814] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 7.458820] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 7.458826] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]

[ 7.770445] wifi_platform_bus_enumerate device present 1

[ 7.864611] init: starting service ‘wificond’…

[ 9.885957] wifi_platform_set_power = 0
[ 9.885982] ======== PULL WL_REG_ON(-1) LOW! ========
[ 9.885989] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 9.886003] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 9.886008] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 9.886014] wifi_platform_bus_enumerate device present 0
[ 9.886019] ======== Card detection to remove SDIO card! ========
[ 9.886024] mmc3:mmc host rescan start!
[ 9.886091] wifi_platform_set_power = 1
[ 9.886097] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 9.886101] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 9.886106] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 9.886111] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 10.193757] wifi_platform_bus_enumerate device present 1

[ 12.232725] ======== PULL WL_REG_ON(-1) LOW! ========
[ 12.232731] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 12.232744] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 12.232749] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 12.232755] wifi_platform_bus_enumerate device present 0

[ 12.232780] wifi_platform_bus_enumerate device present 0
[ 15.790719] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 15.794656] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 17.428344] type=1400 audit(1659221215.263:37): avc: denied { read } for comm=“Binder:434_3” name=“state” dev=“sysfs” ino=15565 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 18.416468] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/system/etc/init/hw/init.rc:994)
[ 18.798696] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 19.239436] type=1107 audit(1659221217.070:40): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg=‘avc: denied { set } for property=sys.gmali.version pid=585 uid=10113 gid=10113 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=1’
[ 19.794843] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 20.795601] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 21.796366] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 22.797467] init: Control message: Processed ctl.interface_start for ‘android.hardware.wifi@1.0::IWifi/default’ from pid: 144 (/system/bin/hwservicemanager)
[ 23.201243] init: Service ‘bootanim’ (pid 177) exited with status 0 oneshot service took 17.961000 seconds in background

well nothing is changed lately for android 11 i can see

and litle sparse info linux works android not ?

wich images used ?

Below debian Package works well with wlan.
rock-3a-debian-buster-xfce4-arm64-20220701-0158-gpt.img

I built and test Android image with default option, rk356x_rock_3a_r_20220729.1812_gpt.img
exactly same build procedure like below.
https://wiki.radxa.com/Rock3/Android11

also I did test with official image “rock3a-android11-20220408_1204-gpt.img”
but result was same.
adb shell “svc wifi enable”
adb shell am start -n com.android.settings/.wifi.WifiStatusTest
Starting: Intent { cmp=com.android.settings/.wifi.WifiStatusTest }
adb shell dumpsys wifi | grep “Wi-Fi is”
Wi-Fi is disabled
adb shell settings get global wifi_on
1

I did test A2 A6S module.
About A2
while connecting Ethernet wlan is not working.
when disconnect Ethernet , then wlan is connected.
But A6S is always Wi-Fi Off.

Think you didnt adjust the dts for the wifi it is default ap6256 and doesnt sound as ap6275

wlan_platdata_parse_dt: wifi_chip_type = ap6256

and some info from not official site

just look at the wifi6 patches they added to the android 11 sdk