diff --git a/hispark_phoenix/hdf_config/uhdf/device_info.hcs b/hispark_phoenix/hdf_config/uhdf/device_info.hcs index c9d92a80fb3e5037ad44db06d9fa18fc15d9de70..0a6188ff653db558fd2e5c7e50582016d8b367e7 100644 --- a/hispark_phoenix/hdf_config/uhdf/device_info.hcs +++ b/hispark_phoenix/hdf_config/uhdf/device_info.hcs @@ -152,7 +152,8 @@ wlan :: host { hostName = "wifi_host"; priority = 50; - caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH"]; + caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"]; + gid = ["wifi_host", "wifi_group"]; wifi_c_device :: device { device0 :: deviceNode { policy = 2; @@ -161,6 +162,14 @@ serviceName = "wlan_interface_service"; } } + wpa_supplicant_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libwpa_hdi_c_device.z.so"; + serviceName = "wpa_interface_service"; + } + } } audio :: host { hostName = "audio_host"; diff --git a/hispark_taurus_standard/hdf_config/uhdf/device_info.hcs b/hispark_taurus_standard/hdf_config/uhdf/device_info.hcs index 1d5dd315a29f0953a0d3c3c6141142d26a56da74..626ece8d5fe391866fae07ec6d98a2f27d4591a2 100644 --- a/hispark_taurus_standard/hdf_config/uhdf/device_info.hcs +++ b/hispark_taurus_standard/hdf_config/uhdf/device_info.hcs @@ -128,7 +128,8 @@ wlan :: host { hostName = "wifi_host"; priority = 50; - caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH"]; + caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"]; + gid = ["wifi_host", "wifi_group"]; wifi_c_device :: device { device0 :: deviceNode { policy = 2; @@ -137,6 +138,14 @@ serviceName = "wlan_interface_service"; } } + wpa_supplicant_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libwpa_hdi_c_device.z.so"; + serviceName = "wpa_interface_service"; + } + } } audio :: host { hostName = "audio_host"; diff --git a/watchos/hdf_config/uhdf/device_info.hcs b/watchos/hdf_config/uhdf/device_info.hcs index ffa56431ff15871e687d288a66507c9c94f43898..7656bb9e2fc311ea871004fb1d69da3b496a4a3e 100644 --- a/watchos/hdf_config/uhdf/device_info.hcs +++ b/watchos/hdf_config/uhdf/device_info.hcs @@ -115,6 +115,8 @@ wlan :: host { hostName = "wifi_host"; priority = 50; + caps = ["DAC_OVERRIDE", "DAC_READ_SEARCH", "NET_ADMIN", "NET_RAW"]; + gid = ["wifi_host", "wifi_group"]; wifi_c_device :: device { device0 :: deviceNode { policy = 2; @@ -123,6 +125,14 @@ serviceName = "wlan_interface_service"; } } + wpa_supplicant_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libwpa_hdi_c_device.z.so"; + serviceName = "wpa_interface_service"; + } + } } audio :: host { hostName = "audio_host";