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

/freebsd-10.1-release/sys/dev/ral/
H A Drt2661.c1395 struct mbuf *mprot; local
1418 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
1420 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur);
1422 if (mprot == NULL) {
1430 error = bus_dmamap_load_mbuf_sg(txq->data_dmat, data->map, mprot, segs,
1435 m_freem(mprot);
1439 data->m = mprot;
1444 rt2661_setup_tx_desc(sc, desc, flags, 0, mprot->m_pkthdr.len,
H A Drt2560.c1635 struct mbuf *mprot; local
1658 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
1660 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur);
1662 if (mprot == NULL) {
1671 mprot, segs, &nsegs, 0);
1675 m_freem(mprot);
1679 data->m = mprot;
1684 rt2560_setup_tx_desc(sc, desc, flags, mprot->m_pkthdr.len, protrate, 1,
/freebsd-10.1-release/sys/dev/usb/wlan/
H A Dif_rum.c1060 struct mbuf *mprot; local
1082 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
1084 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur);
1086 if (mprot == NULL) {
1094 data->m = mprot;
1097 rum_setup_tx_desc(sc, &data->desc, flags, 0, mprot->m_pkthdr.len, protrate);
H A Dif_ural.c1171 struct mbuf *mprot; local
1192 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
1194 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur);
1196 if (mprot == NULL) {
1204 data->m = mprot;
1207 ural_setup_tx_desc(sc, &data->desc, flags, mprot->m_pkthdr.len, protrate);
H A Dif_run.c3524 struct mbuf *mprot; local
3563 mprot = ieee80211_alloc_rts(ic, wh->i_addr1, wh->i_addr2, dur);
3565 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr, dur);
3567 if (mprot == NULL) {
3585 data->m = mprot;
/freebsd-10.1-release/sys/dev/bwn/
H A Dif_bwn.c9611 struct mbuf *mprot; local
9724 mprot = ieee80211_alloc_cts(ic, ni->ni_vap->iv_myaddr,
9726 KASSERT(mprot != NULL, ("failed to alloc mbuf\n"));
9727 bcopy(mtod(mprot, uint8_t *), (uint8_t *)cts,
9728 mprot->m_pkthdr.len);
9729 m_freem(mprot);
9738 mprot = ieee80211_alloc_rts(ic, wh->i_addr1,
9740 KASSERT(mprot != NULL, ("failed to alloc mbuf\n"));
9741 bcopy(mtod(mprot, uint8_t *), (uint8_t *)rts,
9742 mprot
[all...]

Completed in 183 milliseconds