Home | History | Annotate | Download | only in tools

Lines Matching defs:psm

91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm)
122 *psm = p;
131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags)
182 addr.l2_psm = htobs(psm);
228 unsigned short psm;
256 if (!get_psm(&src, &dst, &psm))
262 do_connect(ctl, dev_id, &src, &dst, psm, 0);
275 unsigned short psm;
293 if (!get_psm(&src, &dst, &psm))
294 psm = 4099;
296 psm = atoi(argv[2]);
298 do_connect(ctl, dev_id, &src, &dst, psm, 0);
341 unsigned short psm;
362 if (!get_psm(&src, &dst, &psm))
363 psm = 4099;
365 psm = atoi(argv[2]);
367 sk = do_connect(ctl, dev_id, &src, &dst, psm, (1 << CMTP_LOOPBACK));