TPE RIL Network team/NetworkManagerEnhancement

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. No bug yet - Wifi implementation of nsINetworkInterface activate/deactive
  • 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

Discussion

None

Other improvements

Bugs

  • No bug yet - Move tethering code out of NetworkManager

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