rilmodem: query network selection mode

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: optionally use RIL_REQUEST_RADIO_POWER

Some MTK devices do not have RIL_REQUEST_RADIO_POWERON/OFF, so fall
back to generic RIL_REQUEST_RADIO_POWER here if environment variable
"OFONO_MTK_NO_POWERON_POWEROFF" is *NOT* set.

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: add dummy RIL_REQUEST_DISABLE_VT_CAPABILITY

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
delay startup

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
gril: rename GRilIO->buf to GRilIO->ring_buf

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
gril: fix GRilIO read under boundary conditions

Close: #142

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
gril: remove ril_s->read_so_far

struct ril_s::read_so_far is never assigned a non-zero value outside
the while-loop in function `new_bytes` in gril/gril.c.

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
gril: dispatch multiple parcels in burst

Close: #141

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: add RIL_REQUEST_STORE_MODEM_TYPE

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: support suspend/resume registration

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
gril: support RIL_REQUEST_SET_INITIAL_ATTACH_APN

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: support RIL_REQUEST_SET_INITIAL_ATTACH_APN

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: send SET_GPRS_CONNECT_TYPE at init

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
mtkmodem: add MTK_RIL_REQUEST_DETECT_SIM_MISSING

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Merge remote-tracking branch 'abeato/arale-patch' into mx4-porting
Merge remote-tracking branch 'vicamo/fix-ringbuf' into mx4-porting
Merge commit '61c8d41787907b685afa54b3cd6b4c51ae8e5485' into mx4-porting
Merge remote-tracking branch 'vicamo/launchpad/1399106/mx4-porting/missed-mtk-requests' into mx4-porting