TPE RIL Network team/NetworkManagerEnhancement: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(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
* No bug yet - exponse only ‘NetworkInfo’ in NetworkManager
 
== 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 ==
* No bug yet - Move tethering code out of NetworkManager
* {{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

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
    1. bug 1168021 - [NetworkManager] consider expanding the nsINetworkInterface parameter in NetworkService interface
    2. bug 1167132 - [NetworkManager] move network information into a separate interface
    3. bug 911713 - B2G NetworkManager: Move policy control logic to NetworkManager
    4. bug 1207066 - [NetworkManager] implement nsINetworkInterface.activate()/deactivate() in wifi network interface
    5. 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

Use case

Bugs

  • bug 922584 - B2G RIL: provide WebAPI to setup network connections and expose connection state

Discussion

https://taiwan.etherpad.mozilla.org/1002