TPE RIL Network team/NetworkManagerEnhancement: Difference between revisions
Jump to navigation
Jump to search
(→Bugs) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
* {{Bug|990458}} - B2G RIL: replace the use of 'network-interface-state-changed' events with updateNetworkInterface() API. | * {{Bug|990458}} - B2G RIL: replace the use of 'network-interface-state-changed' events with updateNetworkInterface() API. | ||
* {{Bug|904542}} - B2G NetworkManager: Redefine the nsINetworkInterface | * {{Bug|904542}} - B2G NetworkManager: Redefine the nsINetworkInterface | ||
* {{Bug|911713}} - B2G NetworkManager: Move policy control logic to NetworkManager | *# {{Bug|1168021}} - [NetworkManager] consider expanding the nsINetworkInterface parameter in NetworkService interface | ||
*# {{Bug|1167132}} - [NetworkManager] move network information into a separate interface | |||
*# {{Bug|911713}} - B2G NetworkManager: Move policy control logic to NetworkManager | |||
*# {{Bug|1207066}} - [NetworkManager] implement nsINetworkInterface.activate()/deactivate() in wifi network interface | |||
*# {{Bug|1216468}} - B2G NetworkManager: provide a flag to indicate network interface's ready state | |||
* {{Bug|928861}} - B2G NetworkManager: Provide a more generic function for connecting | * {{Bug|928861}} - B2G NetworkManager: Provide a more generic function for connecting | ||
== Discussion == | == Discussion == | ||
* [https://wiki.mozilla.org/TPE_RIL_Network_team/NetworkManagerEnhancement/2014-07-14 2014-07-14] | * [https://wiki.mozilla.org/TPE_RIL_Network_team/NetworkManagerEnhancement/2014-07-14 2014-07-14] | ||
Line 45: | Line 49: | ||
* {{Bug|997654}} - B2G RIL: let each network handle its own host routes | * {{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 | * {{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 | * <strike>No bug yet - B2G RIL: add callbacks in routing requests in NetworkService</strike> -> done in {{bug|1126222}} | ||
== Discussion == | == Discussion == | ||
None | None | ||
Line 51: | Line 55: | ||
= Other improvements = | = Other improvements = | ||
== Bugs == | == Bugs == | ||
* | * {{Bug|1109479}} - B2G tethering: move tethering code out of NetworkManager | ||
* {{Bug|1126222}} - B2G NetworkManager: fire 'network-connection-state-changed' after internal work is done ( | |||
== Discussion == | == Discussion == | ||
None | None |
Latest revision as of 09:22, 21 October 2015
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 1168021 - [NetworkManager] consider expanding the nsINetworkInterface parameter in NetworkService interface
- bug 1167132 - [NetworkManager] move network information into a separate interface
- bug 911713 - B2G NetworkManager: Move policy control logic to NetworkManager
- bug 1207066 - [NetworkManager] implement nsINetworkInterface.activate()/deactivate() in wifi network interface
- bug 1216468 - B2G NetworkManager: provide a flag to indicate network interface's ready state
- bug 928861 - B2G NetworkManager: Provide a more generic function for connecting
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-> done in bug 1126222
Discussion
None
Other improvements
Bugs
- bug 1109479 - B2G tethering: move tethering code out of NetworkManager
- bug 1126222 - B2G NetworkManager: fire 'network-connection-state-changed' after internal work is done (
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