Comment 0 for bug 1245951

Revision history for this message
Tony Espy (awe) wrote :

Image: Touch #100 ( aka v1.0 ).

The current indicator-network code uses the ofono's NetworkRegistration interface's "Technology" property to determine which mobile data connection icon to display on the status bar.

The code currently compares the value of "Technology" to:

 - "gsm" -- this causes "2G" to be displayed

 - "umts" -- this causes "3G" to be displayed

 - "edge" -- this is invalid ( never set by ofono )

 - "hspa" -- this is invalid ( never set by ofono )

 - "lts" -- valid, but currently not supported in the ofono/rilmodem driver ( LTE isn't yet 100% supported )

The code instead should be examining ofono's ConnectionManager interface's "Bearer" property. This is not currently being set by the ofono/rilmodem code ( bug reference will be added to this bug once created ).

The valid values of the "Bearer" property are: "none", "gprs" ( 2G ), "edge" ( E ), "umts" ( 3G ), "hsupa"/"hsdpa"/"hspa" ( 3G ), and "lte" ( L ). oFono doesn't currently support reporting HSPA+, whereas RIL does, so we'll need to patch ofono so that the value "hspap" is valid for "Bearer".

 -