Hi Denis,

Hmm, are you sure you actually need the AT^SGAUTH?
I can explain a bit of the reason why I came to AT^SGAUTH modification.
@Giacinto it is module PLS8-E (Testing with firmware 3.017)

3G support from providers in NL is at its end. So we switched to PLS8-E (lte) 
modem. All seems to be working as expected 3G and also the switch to lte, this 
is on stock provider sim card.
But a customer uses a private APN with radius authentication. 3G context 
activation is fine but connecting with lte did not happen.

Research by the provider showed that authentication on lte did not happen.



MSISDN

Procedure

Duration

IPv4 Address

RAT

Cause

Initiator

LTE

3197012229997

PDN Create Session Rejected

00:00:00.015


EUTRAN

User authentication failed (92)

MME

LTE

3197012229997

PDN Create Session Rejected

00:00:00.015


EUTRAN

User authentication failed (92)

MME

LTE

3197012229997

PDN Create Session Rejected

00:00:00.019


EUTRAN

User authentication failed (92)

MME

LTE

3197012229997

PDN Create Session Rejected

00:00:00.009


EUTRAN

User authentication failed (92)

MME

LTE

3197012229997

PDN Create Session Rejected

00:00:00.009


EUTRAN

User authentication failed (92)

MME

2G/3G

3197012229997

PDP Context Activated

00:00:00.161

xxxx

UTRAN

Request accepted (128)

SGSN


For test purposes hardcode AT^SDAUTH fixes the authentication.

Gemalto is using the atmodem driver.  This driver uses PPP.  Generally any 
CHAP/PAP authentication is done during PPP negotiation phase, not via any 
vendor +FOOAUTH commands (although I think there are a few exceptions now)

For modems that use a high-speed interface, the auth parameters are sent during 
context setup phase.  e.g. after +CGDCONT.  See drivers/ifxmodem/gprs-context.c 
setup_cb() for an example.

If you do need the SGAUTH, then the logical place to put it would be into 
drivers/atmodem/gprs-context.c and use a vendor quirk for gemalto. E.g. 
something like:

switch(gcd->vendor) {
case OFONO_VENDOR_GEMALTO:
    g_at_chat_send(gcd->chat, "AT^XGAUTH..."....);
    break;
}

Regards,
-Denis
Regards,
Mark
Please consider the environment before printing this email. This e-mail, and 
any files transmitted with it, is confidential and is intended solely for the 
use of the person or entity to whom it is addressed. If you have received this 
e-mail in error, please notify the sender and delete it from your records. On 
all our offers, sales and deliveries our General Terms of Delivery are 
applicable, excluding all other Terms and Conditions. Our terms have been 
deposited at the Chamber of commerce Eindhoven (The Netherlands), reference 
number 17065041, a copy of these terms is enclosed with all quotations, a 
hardcopy also can be send on your request. You can find our General Terms 
online at 
https://www.intemo.com/wp-content/uploads/2018/05/FHI-Algemene-Leveringsvoorwaarden-2014-ENGELS.pdf
 Op al onze aanbiedingen, verkopen en leveringen zijn, met uitsluiting van alle 
andere voorwaarden, onze algemene voorwaarden van toepassing. Deze zijn 
gedeponeerd bij de Kamer van Koophandel te Eindhoven onder nummer 17065041. Bij 
iedere offerte hoe ook verzonden zijn de algemene voorwaarden bijgevoegd, een 
kopie kan op aanvraag ook per post worden toegezonden. U kunt onze algemene 
voorwaarden online inzien op 
https://www.intemo.com/wp-content/uploads/2018/05/FHI-Algemene-Leveringsvoorwaarden-2014-NEDERLANDS.pdf
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to