Searched refs:padpos (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/ath/ath9k/ |
D | common.c | 126 int hdrlen, padpos, padsize; in ath9k_cmn_rx_skb_postprocess() local 134 padpos = ieee80211_hdrlen(fc); in ath9k_cmn_rx_skb_postprocess() 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()
|
D | htc_drv_beacon.c | 144 int padpos, padsize, ret, tx_slot; in ath9k_htc_send_buffered() local 155 padpos = ieee80211_hdrlen(hdr->frame_control); in ath9k_htc_send_buffered() 156 padsize = padpos & 3; in ath9k_htc_send_buffered() 157 if (padsize && skb->len > padpos) { in ath9k_htc_send_buffered() 163 memmove(skb->data, skb->data + padsize, padpos); in ath9k_htc_send_buffered()
|
D | xmit.c | 2237 int padpos, padsize; in ath_tx_prepare() local 2258 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_prepare() 2259 padsize = padpos & 3; in ath_tx_prepare() 2260 if (padsize && skb->len > padpos) { in ath_tx_prepare() 2265 memmove(skb->data, skb->data + padsize, padpos); in ath_tx_prepare() 2465 int padpos, padsize; in ath_tx_complete() local 2480 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_complete() 2481 padsize = padpos & 3; in ath_tx_complete() 2482 if (padsize && skb->len>padpos+padsize) { in ath_tx_complete() 2487 memmove(skb->data + padsize, skb->data, padpos); in ath_tx_complete() [all …]
|
D | htc_drv_main.c | 872 int padpos, padsize, ret, slot; in ath9k_htc_tx() local 877 padpos = ieee80211_hdrlen(hdr->frame_control); in ath9k_htc_tx() 878 padsize = padpos & 3; in ath9k_htc_tx() 879 if (padsize && skb->len > padpos) { in ath9k_htc_tx() 885 memmove(skb->data, skb->data + padsize, padpos); in ath9k_htc_tx()
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 1311 int padpos = 24; in ath5k_common_padpos() local 1314 padpos += ETH_ALEN; in ath5k_common_padpos() 1317 padpos += IEEE80211_QOS_CTL_LEN; in ath5k_common_padpos() 1319 return padpos; in ath5k_common_padpos() 1328 int padpos = ath5k_common_padpos(skb); in ath5k_add_padding() local 1329 int padsize = padpos & 3; in ath5k_add_padding() 1331 if (padsize && skb->len > padpos) { in ath5k_add_padding() 1337 memmove(skb->data, skb->data + padsize, padpos); in ath5k_add_padding() 1359 int padpos = ath5k_common_padpos(skb); in ath5k_remove_padding() local 1360 int padsize = padpos & 3; in ath5k_remove_padding() [all …]
|