Hello,
While integrating Android HAL for Android 11 with 88W8997 PCIE-USB driver. I cannot activate the Hotspot. The STA works fine though.
Whenever I try to enable the AP/Hotspot via Android GUI, the kernel give this messages. And the AP cannot be activated. Could anyone give some hints to solve this?
evk_8mq:/ # [ 59.607447] init: starting service 'hostapd'...
[ 59.619464] init: Control message: Processed ctl.interface_start for 'android.hardware.wifi.hostapd@1.0::IHostapd/default' from pid: 237 (/system/bin/hwservicemanager)
[ 59.739979] capability: warning: `hostapd' uses 32-bit capabilities (legacy support in use)
[59.819150] type=1400 audit(1627913138.799:49): avc: denied { sys_module } for comm="wifi@1.0-servic" capability=16 scontext=u:r:hal_wifi_default:s0 tcontext=u:r:hal_wifi_default:s0 tclass=capability permissive=0 evk_8mq:/ #
[ 64.607637] type=1400 audit(1627913143.587:50): avc: denied { sys_module } for comm="wifi@1.0-servic" capability=16 scontext=u:r:hal_wifi_default:s0 tcontext=u:r:hal_wifi_default:s0 tclass=capability permissive=0 evk_8mq:/ #
[ 66.156767] type=1400 audit(1627913145.135:51): avc: denied { sys_module } for comm="wifi@1.0-servic" capability=16 scontext=u:r:hal_wifi_default:s0 tcontext=u:r:hal_wifi_default:s0 tclass=capability permissive=0
Best regards,
Rahmanu
Edit: formating