Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

WiFi hotspot does not work #109

Open
ngoquang2708 opened this issue Jul 11, 2018 · 10 comments
Open

WiFi hotspot does not work #109

ngoquang2708 opened this issue Jul 11, 2018 · 10 comments

Comments

@ngoquang2708
Copy link
Owner

ngoquang2708 commented Jul 11, 2018

Logcat: https://gist.github.com/ngoquang2708/0ffbbbd0bff08565313981893c2972a5.

@ngoquang2708
Copy link
Owner Author

@remilia15 I have noticed something. I previous version of Android. When we turn on WiFi hotspot, hostapd change the firmware path.

@ngoquang2708
Copy link
Owner Author

@remilia15 Here it goes!

@diepquynh
Copy link

diepquynh commented Jul 22, 2018

Nice. My kernel had the config you mentioned enabled already

@ngoquang2708
Copy link
Owner Author

OK. About the firmware path change, have you checked?

@diepquynh
Copy link

No, I haven't. What do you have in logcat?

@diepquynh
Copy link

I'm think about where does this commit goes
LineageOS/android_hardware_libhardware_legacy@1650ddc

@diepquynh
Copy link

@ngoquang2708
Copy link
Owner Author

Nothing interesting in logcat. But kmsg shows that hostapd start with the same firmware as wpa_supplicant, not the one that for AP mode.

  271.766941] init: starting service 'hostapd'...
[  271.950538] \x0aDongle Host Driver, version 1.141.64 (r)\x0aCompiled in drivers/net/wireless/bcmdhd on Jul 20 2018 at 19:11:12
[  271.950657] wl_android_wifi_on in
[  271.950671] wifi_platform_set_power = 1
[  271.950680] wlan_device_power:1 
[  272.193183] sdio_reset_comm():
[  272.208106] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
[  272.208829] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[  272.209674] REVISION SPECIFIC feature is not required
[  272.209694] dhdsdio_download_firmware: firmware path=/vendor/firmware/fw_bcmdhd.bin, nvram path=/vendor/etc/wifi/nvram_net.txt
[  272.262660] sdioh_request_buffer: [1] doing memory copy buf=c1966000, len=1527
[  272.264976] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

@ngoquang2708
Copy link
Owner Author

I see that netd's SoftApController is removed.

@ngoquang2708
Copy link
Owner Author

It is used to switch the firmware between AP and STA mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants