Lines Matching refs:padpos
1310 int padpos = 24; in ath5k_common_padpos() local
1313 padpos += ETH_ALEN; in ath5k_common_padpos()
1316 padpos += IEEE80211_QOS_CTL_LEN; in ath5k_common_padpos()
1318 return padpos; in ath5k_common_padpos()
1327 int padpos = ath5k_common_padpos(skb); in ath5k_add_padding() local
1328 int padsize = padpos & 3; in ath5k_add_padding()
1330 if (padsize && skb->len > padpos) { in ath5k_add_padding()
1336 memmove(skb->data, skb->data + padsize, padpos); in ath5k_add_padding()
1358 int padpos = ath5k_common_padpos(skb); in ath5k_remove_padding() local
1359 int padsize = padpos & 3; in ath5k_remove_padding()
1361 if (padsize && skb->len >= padpos + padsize) { in ath5k_remove_padding()
1362 memmove(skb->data + padsize, skb->data, padpos); in ath5k_remove_padding()