From: Alexander Couzens Date: Wed, 14 Aug 2024 12:35:58 +0000 (+0200) Subject: uqmid: implement roaming support (allow and forbid) X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d39b53b7b0c91133e12db3dec1e73ef39a791e93;p=project%2Fuqmi.git uqmid: implement roaming support (allow and forbid) Set roaming flag on the wds profile which is used to connect to the network. Signed-off-by: Alexander Couzens --- diff --git a/uqmid/modem_tx.c b/uqmid/modem_tx.c index 0e405f8..dc345e2 100644 --- a/uqmid/modem_tx.c +++ b/uqmid/modem_tx.c @@ -148,6 +148,8 @@ int tx_wds_modify_profile(struct modem *modem, struct qmi_service *wds, request_ if (password) profile_req.data.password = (char *)password; + qmi_set(&profile_req, roaming_disallowed_flag, !modem->config.roaming); + int ret = qmi_set_wds_modify_profile_request(msg, &profile_req); if (ret) { LOG_ERROR("Failed to encode get profile list");