Searched refs:mprot (Results 1 – 6 of 6) sorted by relevance
| /trueos/sys/dev/ral/ |
| HD | rt2560.c | 1635 struct mbuf *mprot; in rt2560_sendprot() local 1658 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rt2560_sendprot() 1660 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rt2560_sendprot() 1662 if (mprot == NULL) { in rt2560_sendprot() 1671 mprot, segs, &nsegs, 0); in rt2560_sendprot() 1675 m_freem(mprot); in rt2560_sendprot() 1679 data->m = mprot; in rt2560_sendprot() 1684 rt2560_setup_tx_desc(sc, desc, flags, mprot->m_pkthdr.len, protrate, 1, in rt2560_sendprot()
|
| HD | rt2661.c | 1395 struct mbuf *mprot; in rt2661_sendprot() local 1418 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rt2661_sendprot() 1420 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rt2661_sendprot() 1422 if (mprot == NULL) { in rt2661_sendprot() 1430 error = bus_dmamap_load_mbuf_sg(txq->data_dmat, data->map, mprot, segs, in rt2661_sendprot() 1435 m_freem(mprot); in rt2661_sendprot() 1439 data->m = mprot; in rt2661_sendprot() 1444 rt2661_setup_tx_desc(sc, desc, flags, 0, mprot->m_pkthdr.len, in rt2661_sendprot()
|
| /trueos/sys/dev/usb/wlan/ |
| HD | if_ural.c | 1171 struct mbuf *mprot; in ural_sendprot() local 1192 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in ural_sendprot() 1194 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in ural_sendprot() 1196 if (mprot == NULL) { in ural_sendprot() 1204 data->m = mprot; in ural_sendprot() 1207 ural_setup_tx_desc(sc, &data->desc, flags, mprot->m_pkthdr.len, protrate); in ural_sendprot()
|
| HD | if_rum.c | 1060 struct mbuf *mprot; in rum_sendprot() local 1082 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in rum_sendprot() 1084 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in rum_sendprot() 1086 if (mprot == NULL) { in rum_sendprot() 1094 data->m = mprot; in rum_sendprot() 1097 rum_setup_tx_desc(sc, &data->desc, flags, 0, mprot->m_pkthdr.len, protrate); in rum_sendprot()
|
| HD | if_run.c | 3525 struct mbuf *mprot; in run_sendprot() local 3564 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur); in run_sendprot() 3566 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur); in run_sendprot() 3568 if (mprot == NULL) { in run_sendprot() 3586 data->m = mprot; in run_sendprot()
|
| /trueos/sys/dev/bwn/ |
| HD | if_bwn.c | 9611 struct mbuf *mprot; in bwn_set_txhdr() local 9724 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, in bwn_set_txhdr() 9726 KASSERT(mprot != NULL, ("failed to alloc mbuf\n")); in bwn_set_txhdr() 9727 bcopy(mtod(mprot, uint8_t *), (uint8_t *)cts, in bwn_set_txhdr() 9728 mprot->m_pkthdr.len); in bwn_set_txhdr() 9729 m_freem(mprot); in bwn_set_txhdr() 9738 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, in bwn_set_txhdr() 9740 KASSERT(mprot != NULL, ("failed to alloc mbuf\n")); in bwn_set_txhdr() 9741 bcopy(mtod(mprot, uint8_t *), (uint8_t *)rts, in bwn_set_txhdr() 9742 mprot->m_pkthdr.len); in bwn_set_txhdr() [all …]
|