1、开启热点缺少hostapd_interface_service

修改如下:uhdf/device_info.hcs中添加服务

 

2、设置国家码失败导致开启热点失败

foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ap_service.cpp

ErrCode ApService::EnableHotspot()中注释国家码相关

3、开启热点后,关闭再开启失败

因为hostapd_interface_service服务被unload,导致getapinstance hostapdinterfacegetinstance failed

注释unload相关

4、手机连接ap热点,获取不到ip地址

5、使用p2p0生成ap热点

foundation/communication/wifi/wifi/relation_services/etc/init/default_conf/unix_socket/hostapd.conf

修改名称为p2p0

foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/wifi_hdi_wpa_proxy.c

drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/hdi_hostapd_hal.c

drivers/peripheral/wlan/chip/hdi_service/wifi_chip.cpp

6、sta+ap共存

尝试中还未验证

7、切换5G频段失败

 

Logo

社区规范:仅讨论OpenHarmony相关问题。

更多推荐