Home
last modified time | relevance | path

Searched refs:mprot (Results 1 – 6 of 6) sorted by relevance

/freebsd-11-stable/sys/dev/ral/
HDrt2661.c1368 struct mbuf *mprot; in rt2661_sendprot() local
1391 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rt2661_sendprot()
1393 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rt2661_sendprot()
1395 if (mprot == NULL) { in rt2661_sendprot()
1403 error = bus_dmamap_load_mbuf_sg(txq->data_dmat, data->map, mprot, segs, in rt2661_sendprot()
1408 m_freem(mprot); in rt2661_sendprot()
1412 data->m = mprot; in rt2661_sendprot()
1417 rt2661_setup_tx_desc(sc, desc, flags, 0, mprot->m_pkthdr.len, in rt2661_sendprot()
HDrt2560.c1600 struct mbuf *mprot; in rt2560_sendprot() local
1623 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rt2560_sendprot()
1625 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rt2560_sendprot()
1627 if (mprot == NULL) { in rt2560_sendprot()
1636 mprot, segs, &nsegs, 0); in rt2560_sendprot()
1640 m_freem(mprot); in rt2560_sendprot()
1644 data->m = mprot; in rt2560_sendprot()
1649 rt2560_setup_tx_desc(sc, desc, flags, mprot->m_pkthdr.len, protrate, 1, in rt2560_sendprot()
/freebsd-11-stable/sys/dev/usb/wlan/
HDif_ural.c1131 struct mbuf *mprot; in ural_sendprot() local
1152 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in ural_sendprot()
1154 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in ural_sendprot()
1156 if (mprot == NULL) { in ural_sendprot()
1164 data->m = mprot; in ural_sendprot()
1167 ural_setup_tx_desc(sc, &data->desc, flags, mprot->m_pkthdr.len, protrate); in ural_sendprot()
HDif_rum.c1367 struct mbuf *mprot; in rum_sendprot() local
1388 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rum_sendprot()
1390 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rum_sendprot()
1392 if (mprot == NULL) { in rum_sendprot()
1400 data->m = mprot; in rum_sendprot()
1404 mprot->m_pkthdr.len, protrate); in rum_sendprot()
HDif_run.c3494 struct mbuf *mprot; in run_sendprot() local
3531 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in run_sendprot()
3533 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in run_sendprot()
3535 if (mprot == NULL) { in run_sendprot()
3553 data->m = mprot; in run_sendprot()
/freebsd-11-stable/sys/dev/bwn/
HDif_bwn.c6196 struct mbuf *mprot; in bwn_set_txhdr() local
6349 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, in bwn_set_txhdr()
6351 KASSERT(mprot != NULL, ("failed to alloc mbuf\n")); in bwn_set_txhdr()
6352 bcopy(mtod(mprot, uint8_t *), (uint8_t *)cts, in bwn_set_txhdr()
6353 mprot->m_pkthdr.len); in bwn_set_txhdr()
6354 m_freem(mprot); in bwn_set_txhdr()
6376 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, in bwn_set_txhdr()
6378 KASSERT(mprot != NULL, ("failed to alloc mbuf\n")); in bwn_set_txhdr()
6379 bcopy(mtod(mprot, uint8_t *), (uint8_t *)rts, in bwn_set_txhdr()
6380 mprot->m_pkthdr.len); in bwn_set_txhdr()
[all …]