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()
154 bf->bf_buf_addr = dma_map_single(sc->dev, skb->data, in ath9k_beacon_generate()
156 if (unlikely(dma_mapping_error(sc->dev, bf->bf_buf_addr))) { in ath9k_beacon_generate()
158 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
159 bf->bf_buf_addr = 0; in ath9k_beacon_generate()
186 ath9k_beacon_setup(sc, vif, bf, info->control.rates[0].idx); in ath9k_beacon_generate()
191 return bf; in ath9k_beacon_generate()
221 struct ath_buf *bf = avp->av_bcbuf; in ath9k_beacon_remove_slot() local
231 if (bf && bf->bf_mpdu) { in ath9k_beacon_remove_slot()
232 struct sk_buff *skb = bf->bf_mpdu; in ath9k_beacon_remove_slot()
233 dma_unmap_single(sc->dev, bf->bf_buf_addr, in ath9k_beacon_remove_slot()
236 bf->bf_mpdu = NULL; in ath9k_beacon_remove_slot()
237 bf->bf_buf_addr = 0; in ath9k_beacon_remove_slot()
243 list_add_tail(&bf->list, &sc->beacon.bbuf); in ath9k_beacon_remove_slot()
324 struct ath_buf *bf = NULL; in ath9k_beacon_tasklet() local
393 bf = ath9k_beacon_generate(sc->hw, vif); in ath9k_beacon_tasklet()
427 if (bf) { in ath9k_beacon_tasklet()
434 ath9k_hw_puttxbuf(ah, sc->beacon.beaconq, bf->bf_daddr); in ath9k_beacon_tasklet()