Lines Matching refs:bf
73 struct ath_buf *bf, int rateidx) in ath9k_beacon_setup() argument
75 struct sk_buff *skb = bf->bf_mpdu; in ath9k_beacon_setup()
97 info.buf_addr[0] = bf->bf_buf_addr; in ath9k_beacon_setup()
109 ath9k_hw_set_txdesc(ah, bf->bf_desc, &info); in ath9k_beacon_setup()
117 struct ath_buf *bf; in ath9k_beacon_generate() local
128 bf = avp->av_bcbuf; in ath9k_beacon_generate()
129 skb = bf->bf_mpdu; in ath9k_beacon_generate()
131 dma_unmap_single(sc->dev, bf->bf_buf_addr, in ath9k_beacon_generate()
134 bf->bf_buf_addr = 0; in ath9k_beacon_generate()
135 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
142 bf->bf_mpdu = skb; in ath9k_beacon_generate()
155 bf->bf_buf_addr = dma_map_single(sc->dev, skb->data, in ath9k_beacon_generate()
157 if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) { in ath9k_beacon_generate()
159 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
160 bf->bf_buf_addr = 0; in ath9k_beacon_generate()
187 ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx); in ath9k_beacon_generate()
192 return bf; in ath9k_beacon_generate()
221 struct ath_buf *bf = avp->av_bcbuf; in ath9k_beacon_remove_slot() local
228 if (bf && bf->bf_mpdu) { in ath9k_beacon_remove_slot()
229 struct sk_buff *skb = bf->bf_mpdu; in ath9k_beacon_remove_slot()
230 dma_unmap_single(sc->dev, bf->bf_buf_addr, in ath9k_beacon_remove_slot()
233 bf->bf_mpdu = NULL; in ath9k_beacon_remove_slot()
234 bf->bf_buf_addr = 0; in ath9k_beacon_remove_slot()
239 list_add_tail(&bf->list, &sc->beacon.bbuf); in ath9k_beacon_remove_slot()
393 struct ath_buf *bf = NULL; in ath9k_beacon_tasklet() local
462 bf = ath9k_beacon_generate(sc->hw, vif); in ath9k_beacon_tasklet()
496 if (bf) { in ath9k_beacon_tasklet()
503 ath9k_hw_puttxbuf(ah, sc->beacon.beaconq, bf->bf_daddr); in ath9k_beacon_tasklet()