aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-18 13:20:08 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-18 13:20:08 +0200
commit55e0df7c431b6c2e8114c663092ab2c2f1a3e8d8 (patch)
tree05eb56f4914b691497ba47697aacb3c2593f8782
parent322a5ee954e92cf6bbdd9ff95aabb5ac57cd10b0 (diff)
[GPRS] SGSN: Don't use GGSN-provided QoS as the MS doesn't like it
-rw-r--r--openbsc/src/gprs/gprs_gmm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index d05f4cdd6..474c7f238 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -675,15 +675,14 @@ int gsm48_tx_gsm_act_pdp_acc(struct sgsn_pdp_ctx *pdp)
/* Negotiated LLC SAPI */
msgb_v_put(msg, pdp->sapi);
- /* copy QoS parameters from original request */
- msgb_lv_put(msg, pdp->lib->qos_neg.l, pdp->lib->qos_neg.v);
- //msgb_lv_put(msg, sizeof(default_qos), (uint8_t *)&default_qos);
+ /* FIXME: copy QoS parameters from original request */
+ //msgb_lv_put(msg, pdp->lib->qos_neg.l, pdp->lib->qos_neg.v);
+ msgb_lv_put(msg, sizeof(default_qos), (uint8_t *)&default_qos);
/* Radio priority 10.5.7.2 */
msgb_v_put(msg, pdp->lib->radio_pri);
/* PDP address */
msgb_tlv_put(msg, GSM48_IE_GSM_PDP_ADDR,
pdp->lib->eua.l, pdp->lib->eua.v);
- //msgb_put_pdp_addr_ipv4(msg, 0x01020304);
/* Optional: Protocol configuration options */
if (pdp->lib->pco_neg.l && pdp->lib->pco_neg.v)
msgb_tlv_put(msg, GSM48_IE_GSM_PROTO_CONF_OPT,