B2G/Architecture: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 348: Line 348:


There is a RIL message that places a "data call" to the cellular tower, which enables data-transfer mode in the modem.  This data call ends up creating/activating a PPP interface device in the linux kernel that can be configured through usual interfaces. '''TODO'''
There is a RIL message that places a "data call" to the cellular tower, which enables data-transfer mode in the modem.  This data call ends up creating/activating a PPP interface device in the linux kernel that can be configured through usual interfaces. '''TODO'''
== WiFi ==
WiFi is implemented by a worker that uses jsctypes to open an interface to the wpa_supplicant.  The worker scans for available networks, chooses one to connect to, and then lets the higher-level network compontents configure the network.
[https://github.com/cgjones/mozilla-central/blob/master/dom/wifi/nsWifiWorker.js WiFi worker code]
'''TODO'''
Confirmed users
699

edits