($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@lists.linux.dev
Cc: Denis Kenzior <denkenz@gmail.com>
Subject: [PATCH 11/11] quectel: Set modem lte capable
Date: Fri, 22 Mar 2024 09:09:12 -0500	[thread overview]
Message-ID: <20240322140942.2703042-11-denkenz@gmail.com> (raw)
In-Reply-To: <20240322140942.2703042-1-denkenz@gmail.com>

---
 plugins/quectel.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/plugins/quectel.c b/plugins/quectel.c
index 69e1ff48729d..18cc33123759 100644
--- a/plugins/quectel.c
+++ b/plugins/quectel.c
@@ -648,6 +648,10 @@ static void qinistat_cb(gboolean ok, GAtResult *result, gpointer user_data)
 	}
 
 	data->sim_ready = true;
+
+	if (quectel_model_supports_lte(data->model))
+		ofono_modem_set_capabilities(modem, OFONO_MODEM_CAPABILITY_LTE);
+
 	ofono_modem_set_powered(modem, TRUE);
 }
 
-- 
2.43.0


      parent reply	other threads:[~2024-03-22 14:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 14:09 [PATCH 01/11] phonesim: Allow phonesim to work with Multiplexer=internal Denis Kenzior
2024-03-22 14:09 ` [PATCH 02/11] modem: commonize feature string list generation Denis Kenzior
2024-03-22 14:09 ` [PATCH 03/11] modem: commonize interface " Denis Kenzior
2024-03-22 14:09 ` [PATCH 04/11] doc: Add new Modem.Capabilities property Denis Kenzior
2024-03-22 14:09 ` [PATCH 05/11] modem: add implementation for the Capabilities property Denis Kenzior
2024-03-22 14:09 ` [PATCH 06/11] phonesim: Set modem lte capable Denis Kenzior
2024-03-22 14:09 ` [PATCH 07/11] gemalto: " Denis Kenzior
2024-03-22 14:09 ` [PATCH 08/11] xmm7xxx: Set modem as " Denis Kenzior
2024-03-22 14:09 ` [PATCH 09/11] ublox: Set modem " Denis Kenzior
2024-03-22 14:09 ` [PATCH 10/11] gobi: " Denis Kenzior
2024-03-22 14:09 ` Denis Kenzior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240322140942.2703042-11-denkenz@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).