modemmanager: allow specifying list of authentication protocols
authorAleksander Morgado <aleksander@aleksander.es>
Tue, 5 May 2020 13:04:04 +0000 (15:04 +0200)
committerAleksander Morgado <aleksander@aleksander.es>
Thu, 14 May 2020 07:19:54 +0000 (09:19 +0200)
commitc5c5620f20b59a79425f3878785831c01a005dda
treee54ce33f6a434ec511c7987d862f2173d3b07b58
parentba2c714aa8cd1fc7bd9166d0d383cb271ee46062
modemmanager: allow specifying list of authentication protocols

ModemManager allows specifying which are the authentication protocols
to be used during the user/password context authentication with the
peer.

This protocol update allows users to provide a new 'allowedauth'
option in the interface configuration, which is then used in two
different places:
 * It is sent to ModemManager in the --simple-connect call so that
   modems with a network interface can perform the authentication
   using their own vendor-specific protocol.
 * If the connection is done using PPP, this list of protocols is used
   to configure the pppd call.

If the new 'allowedauth' option is not given, all auth protocols are
implicitly allowed.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
net/modemmanager/Makefile
net/modemmanager/files/modemmanager.proto