Lines Matching refs:ch_params
226 s->ch_params.tx_delay = data[1];
227 PKP("TX delay = %ums", 10 * s->ch_params.tx_delay);
230 s->ch_params.ppersist = data[1];
231 PKP("p persistence = %u", s->ch_params.ppersist);
234 s->ch_params.slottime = data[1];
235 PKP("slot time = %ums", s->ch_params.slottime);
238 s->ch_params.tx_tail = data[1];
239 PKP("TX tail = %ums", s->ch_params.tx_tail);
242 s->ch_params.fulldup = !!data[1];
243 PKP("%s duplex", s->ch_params.fulldup ? "full" : "half");
292 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail);
356 s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay);
369 if (s->ch_params.fulldup) {
374 s->hdlctx.slotcnt = s->ch_params.slottime;
379 s->hdlctx.slotcnt = s->ch_params.slottime;
380 if (get_random_u8() > s->ch_params.ppersist)
455 s->hdlctx.slotcnt = s->ch_params.slottime;
509 bi.data.cp.tx_delay = s->ch_params.tx_delay;
510 bi.data.cp.tx_tail = s->ch_params.tx_tail;
511 bi.data.cp.slottime = s->ch_params.slottime;
512 bi.data.cp.ppersist = s->ch_params.ppersist;
513 bi.data.cp.fulldup = s->ch_params.fulldup;
519 s->ch_params.tx_delay = bi.data.cp.tx_delay;
520 s->ch_params.tx_tail = bi.data.cp.tx_tail;
521 s->ch_params.slottime = bi.data.cp.slottime;
522 s->ch_params.ppersist = bi.data.cp.ppersist;
523 s->ch_params.fulldup = bi.data.cp.fulldup;
640 s->ch_params = dflt_ch_params;
655 s->hdlctx.slotcnt = s->ch_params.slottime;