[WIP] merge to 3.0.31

merged some of latest stargo's changes for modem stability

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>