Closed
Bug 1230037
Opened 9 years ago
Closed 6 years ago
[meta][OTA] [Wi-Fi] Separate Gecko and Gonk layers in Wi-Fi module
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
2.6 S10 - 3/25
People
(Reporter: ethan, Unassigned)
References
Details
User Story
As a developer, I want a WiFi daemon to serve as the interface in between Gecko and lower level hardware access, so that Gecko can work more independently. (Hence, it provides the flexibility to deploy Gecko to work for various android-based Gonk versions, and easier to be ported for non-android platform, regarding WiFi functionality).
Attachments
(1 file)
2.33 MB,
image/png
|
Details |
This bug is used to track the plan to refactor Wi-Fi module for the OTA project.
Reporter | ||
Comment 1•9 years ago
|
||
The architecture of Wi-Fi module in FxOS. Currently, Wi-Fi module in Gecko directly uses libhardware_legacy.so and libnetutils.so. The rough idea is to add an abstraction layer/interface to remove dynamic library dependencies from Gecko layer.
Comment 2•8 years ago
|
||
Basically, we would create a daemon for WiFi and move all dependencies into this daemon, for example, the libhardware_legacy.so will link to this deamon instead of gecko. This daemon would be called 'wifid'. The wifid would be responsible for following things: - Load/Unload wifi driver. - Start/Stop wpa_supplicant. - Bridge commands to wpa_supplicant from gecko. - Bridge messages to gecko from wpa_supplicant. And the IPC between gecko and wifid will be achieved through UNIX domain socket.
Comment 3•8 years ago
|
||
The wifid should handle WiFi tethering as well. In other words, it has to bridge messages between gecko and hostapd.
Updated•8 years ago
|
Updated•8 years ago
|
User Story: (updated)
Updated•8 years ago
|
Assignee: nobody → tihuang
Comment 4•8 years ago
|
||
Right now, I am working on the WiFi daemon. And the estimated time of finishing Wifi daemon would be the end of Feb. After that, I will spend two more weeks for rewriting the WifiUtils of Gecko. Thus, The ETA of this bug should be at the middle of March.
Comment 5•8 years ago
|
||
Hi Michael, We need a empty repository in b2g for this Wifi daemon. And its name should be 'platform_system_wifid'. Should I open a bug for creating this repository or you could help us to create one from here? Thanks.
Flags: needinfo?(mwu)
Reporter | ||
Comment 6•8 years ago
|
||
(In reply to Tim Huang[:timhuang] from comment #4) > Right now, I am working on the WiFi daemon. And the estimated time of > finishing Wifi daemon would be the end of Feb. After that, I will spend two > more weeks for rewriting the WifiUtils of Gecko. Thus, The ETA of this bug > should be at the middle of March. Thanks Tim for your estimation. Set target milestone according to it.
Status: NEW → ASSIGNED
Target Milestone: --- → 2.6 S10 - 3/25
Comment 7•8 years ago
|
||
Change this bug into a meta bug for separating Gecko and Gonk layers in Wi-Fi module.
Summary: [OTA] [Wi-Fi] Separate Gecko and Gonk layers in Wi-Fi module → [meta][OTA] [Wi-Fi] Separate Gecko and Gonk layers in Wi-Fi module
Comment 8•8 years ago
|
||
Because I have been shifted into other project, so I left the assigner into nobody. Any one get interested on this bug, feel free to take it.
Assignee: tihuang → nobody
Status: ASSIGNED → NEW
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(mwu)
Comment 9•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•