Lines Matching +full:2 +full:m
54 * 2) Need to figure out what to do with packets that we hand up that did
244 (BLE_LL_PREAMBLE_LEN * 2 + BLE_LL_ACC_ADDR_LEN + BLE_LL_CRC_LEN +
245 BLE_LL_PDU_HDR_LEN) << 2,
248 * - PDU, CRC, TERM2 (coded as S=2 or S=8)
254 (80 + 256 + 16 + 24 + 2 * (BLE_LL_PDU_HDR_LEN * 8 + 24 + 3)),
312 struct os_mbuf *m; in ble_ll_rxpdu_alloc() local
337 m = os_msys_get(len, 0); in ble_ll_rxpdu_alloc()
338 if (!m) { in ble_ll_rxpdu_alloc()
344 SLIST_NEXT(n, om_next) = m; in ble_ll_rxpdu_alloc()
345 n = m; in ble_ll_rxpdu_alloc()
346 mb_bytes = m->om_omp->omp_databuf_len; in ble_ll_rxpdu_alloc()
644 length = get_le16(om->om_data + 2); in ble_ll_tx_pkt_in()
719 struct os_mbuf *m; in ble_ll_rx_pkt_in() local
725 m = (struct os_mbuf *)((uint8_t *)pkthdr - sizeof(struct os_mbuf)); in ble_ll_rx_pkt_in()
733 ble_hdr = BLE_MBUF_HDR_PTR(m); in ble_ll_rx_pkt_in()
734 rxbuf = m->om_data; in ble_ll_rx_pkt_in()
742 ble_ll_conn_rx_data_pdu(m, ble_hdr); in ble_ll_rx_pkt_in()
743 /* m is going to be free by function above */ in ble_ll_rx_pkt_in()
744 m = NULL; in ble_ll_rx_pkt_in()
750 ble_ll_scan_rx_pkt_in(pdu_type, m, ble_hdr); in ble_ll_rx_pkt_in()
757 ble_ll_dtm_rx_pkt_in(m, ble_hdr); in ble_ll_rx_pkt_in()
765 if (m) { in ble_ll_rx_pkt_in()
767 os_mbuf_free_chain(m); in ble_ll_rx_pkt_in()
1218 * @param m
1223 ble_ll_mbuf_init(struct os_mbuf *m, uint8_t pdulen, uint8_t hdr) in ble_ll_mbuf_init() argument
1228 m->om_len = pdulen; in ble_ll_mbuf_init()
1229 OS_MBUF_PKTHDR(m)->omp_len = pdulen; in ble_ll_mbuf_init()
1232 ble_hdr = BLE_MBUF_HDR_PTR(m); in ble_ll_mbuf_init()
1347 usecs = payload_len << 2; in ble_ll_pdu_tx_time_get()
1352 /* S=2 => 2 * 8 = 16 usecs per byte */ in ble_ll_pdu_tx_time_get()
1400 octets = usecs >> 2; in ble_ll_pdu_max_tx_octets_get()
1405 /* S=2 => 2 * 8 = 16 usecs per byte */ in ble_ll_pdu_max_tx_octets_get()