Lines Matching refs:ch_params
225 s->ch_params.tx_delay = data[1];
226 PKP("TX delay = %ums", 10 * s->ch_params.tx_delay);
229 s->ch_params.ppersist = data[1];
230 PKP("p persistence = %u", s->ch_params.ppersist);
233 s->ch_params.slottime = data[1];
234 PKP("slot time = %ums", s->ch_params.slottime);
237 s->ch_params.tx_tail = data[1];
238 PKP("TX tail = %ums", s->ch_params.tx_tail);
241 s->ch_params.fulldup = !!data[1];
242 PKP("%s duplex", s->ch_params.fulldup ? "full" : "half");
291 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail);
355 s->hdlctx.numflags = tenms_to_2flags(s, s->ch_params.tx_delay);
368 if (s->ch_params.fulldup) {
373 s->hdlctx.slotcnt = s->ch_params.slottime;
378 s->hdlctx.slotcnt = s->ch_params.slottime;
379 if ((prandom_u32() % 256) > s->ch_params.ppersist)
454 s->hdlctx.slotcnt = s->ch_params.slottime;
506 bi.data.cp.tx_delay = s->ch_params.tx_delay;
507 bi.data.cp.tx_tail = s->ch_params.tx_tail;
508 bi.data.cp.slottime = s->ch_params.slottime;
509 bi.data.cp.ppersist = s->ch_params.ppersist;
510 bi.data.cp.fulldup = s->ch_params.fulldup;
516 s->ch_params.tx_delay = bi.data.cp.tx_delay;
517 s->ch_params.tx_tail = bi.data.cp.tx_tail;
518 s->ch_params.slottime = bi.data.cp.slottime;
519 s->ch_params.ppersist = bi.data.cp.ppersist;
520 s->ch_params.fulldup = bi.data.cp.fulldup;
637 s->ch_params = dflt_ch_params;
652 s->hdlctx.slotcnt = s->ch_params.slottime;