TPE RIL Network team/NetworkManagerEnhancement
Jump to navigation
Jump to search
meta bug
- bug 904514 - [meta] NetworkManager enhancement
Internal interface changes
Background
Proposal
interface nsINetworkInterface { readonly attribute nsINetworkInfo info; readonly attribute DOMString httpProxyHost; readonly attribute long httpProxyPort; void activate(); void deactivate(); };
interface nsINetworkInfo { readonly attribute long type; /* WIFI/MOBILE/MMS/SUPL */ readonly attribute long state; /* Connected/Disconnected/... */ readonly attribute DOMString name; /* Interface name: eth0, ... */ void getAddresses([array, size_is(count)] out wstring ips, [array, size_is(count)] out unsigned long prefixLengths, [retval] out unsigned long count); void getGateways([optional] out unsigned long count, [array, size_is(count), retval] out wstring gateways); void getDnses([optional] out unsigned long count, [array, size_is(count), retval] out wstring dnses); };
Bugs
- bug 990458 - B2G RIL: replace the use of 'network-interface-state-changed' events with updateNetworkInterface() API.
- bug 904542 - B2G NetworkManager: Redefine the nsINetworkInterface
- bug 911713 - B2G NetworkManager: Move policy control logic to NetworkManager
- bug 928861 - B2G NetworkManager: Provide a more generic function for connecting
- No bug yet - exponse only ‘NetworkInfo’ in NetworkManager
Discussion
Routing improvements
Bugs
- bug 997654 - B2G RIL: let each network handle its own host routes
- bug 973543 - B2G RIL: host routes removed unexpectedly when data call is shared
- No bug yet - B2G RIL: add callbacks in routing requests in NetworkService
Discussion
None
Other improvements
Bugs
- No bug yet - Move tethering code out of NetworkManager
Discussion
None
Web API changes
Proposal
- https://github.com/johnmwshih/NetworkManagerAPI-Proposal-FirefoxOS/wiki/Network-Manager-Proposed-IDL
Use case
Bugs
- bug 922584 - B2G RIL: provide WebAPI to setup network connections and expose connection state