diff options
author | Sergei Golubtsov <s.e.golubtsov@gmail.com> | 2021-01-07 23:40:16 +0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2021-01-07 23:17:45 -0600 |
commit | c8ed7162d5550c6d82fd604ecc47ca6cbfc91227 (patch) | |
tree | 356032a3cc58d10ef0f14fe420d95ad31ad68e9d /gatchat/gatppp.h | |
parent | 41967b92f333d6a17a51f1a44e91f7af7bc121fc (diff) | |
download | ofono-c8ed7162d5550c6d82fd604ecc47ca6cbfc91227.tar.gz |
ppp: using RX ACCM = 0 by default
Some modems such as Quectel EC200T do not honor the default value for
the Async-Control-Character-Map (ACCM) configuration option defined in
RFC 1548 6.2 as 0xffffffff. This patch suggests to use RX ACCM = 0 for
Ofono by default as pppd does for instance. This will reduce PPP data
overhead as well.
Diffstat (limited to 'gatchat/gatppp.h')
-rw-r--r-- | gatchat/gatppp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h index dd203c28..a12e42e3 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -88,6 +88,7 @@ void g_at_ppp_set_recording(GAtPPP *ppp, const char *filename); void g_at_ppp_set_server_info(GAtPPP *ppp, const char *remote_ip, const char *dns1, const char *dns2); +void g_at_ppp_set_accm(GAtPPP *ppp, guint32 accm); void g_at_ppp_set_acfc_enabled(GAtPPP *ppp, gboolean enabled); void g_at_ppp_set_pfc_enabled(GAtPPP *ppp, gboolean enabled); |