Searched refs:padsize (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/ath/ath9k/ |
D | common.c | 126 int hdrlen, padpos, padsize; in ath9k_cmn_rx_skb_postprocess() local 144 padsize = padpos & 3; in ath9k_cmn_rx_skb_postprocess() 145 if (padsize && skb->len>=padpos+padsize+FCS_LEN) { in ath9k_cmn_rx_skb_postprocess() 146 memmove(skb->data + padsize, skb->data, padpos); in ath9k_cmn_rx_skb_postprocess() 147 skb_pull(skb, padsize); in ath9k_cmn_rx_skb_postprocess()
|
D | htc_drv_beacon.c | 144 int padpos, padsize, ret, tx_slot; in ath9k_htc_send_buffered() local 156 padsize = padpos & 3; in ath9k_htc_send_buffered() 157 if (padsize && skb->len > padpos) { in ath9k_htc_send_buffered() 158 if (skb_headroom(skb) < padsize) { in ath9k_htc_send_buffered() 162 skb_push(skb, padsize); in ath9k_htc_send_buffered() 163 memmove(skb->data, skb->data + padsize, padpos); in ath9k_htc_send_buffered()
|
D | xmit.c | 2278 int padpos, padsize; in ath_tx_prepare() local 2300 padsize = padpos & 3; in ath_tx_prepare() 2301 if (padsize && skb->len > padpos) { in ath_tx_prepare() 2302 if (skb_headroom(skb) < padsize) in ath_tx_prepare() 2305 skb_push(skb, padsize); in ath_tx_prepare() 2306 memmove(skb->data, skb->data + padsize, padpos); in ath_tx_prepare() 2454 int padpos, padsize; in ath_tx_complete() local 2471 padsize = padpos & 3; in ath_tx_complete() 2472 if (padsize && skb->len>padpos+padsize) { in ath_tx_complete() 2477 memmove(skb->data + padsize, skb->data, padpos); in ath_tx_complete() [all …]
|
D | htc_drv_txrx.c | 456 int hdrlen, padsize; in ath9k_htc_tx_process() local 519 padsize = hdrlen & 3; in ath9k_htc_tx_process() 520 if (padsize && skb->len > hdrlen + padsize) { in ath9k_htc_tx_process() 521 memmove(skb->data + padsize, skb->data, hdrlen); in ath9k_htc_tx_process() 522 skb_pull(skb, padsize); in ath9k_htc_tx_process()
|
D | htc_drv_main.c | 869 int padpos, padsize, ret, slot; in ath9k_htc_tx() local 875 padsize = padpos & 3; in ath9k_htc_tx() 876 if (padsize && skb->len > padpos) { in ath9k_htc_tx() 877 if (skb_headroom(skb) < padsize) { in ath9k_htc_tx() 881 skb_push(skb, padsize); in ath9k_htc_tx() 882 memmove(skb->data, skb->data + padsize, padpos); in ath9k_htc_tx()
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 769 struct ath5k_txq *txq, int padsize, in ath5k_txbuf_setup() argument 842 ieee80211_get_hdrlen_from_skb(skb), padsize, in ath5k_txbuf_setup() 1373 int padsize = padpos & 3; in ath5k_add_padding() local 1375 if (padsize && skb->len > padpos) { in ath5k_add_padding() 1377 if (skb_headroom(skb) < padsize) in ath5k_add_padding() 1380 skb_push(skb, padsize); in ath5k_add_padding() 1381 memmove(skb->data, skb->data + padsize, padpos); in ath5k_add_padding() 1382 return padsize; in ath5k_add_padding() 1404 int padsize = padpos & 3; in ath5k_remove_padding() local 1406 if (padsize && skb->len >= padpos + padsize) { in ath5k_remove_padding() [all …]
|
D | desc.c | 78 int padsize, in ath5k_hw_setup_2word_tx_desc() argument 118 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_2word_tx_desc() 244 int padsize, in ath5k_hw_setup_4word_tx_desc() argument 294 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_4word_tx_desc()
|