Home
last modified time | relevance | path

Searched refs:padpos (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dcommon.c126 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()
Dhtc_drv_beacon.c144 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()
Dxmit.c2237 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()
2413 int padpos, padsize; in ath_tx_complete() local
2429 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_complete()
2430 padsize = padpos & 3; in ath_tx_complete()
2431 if (padsize && skb->len>padpos+padsize) { in ath_tx_complete()
2436 memmove(skb->data + padsize, skb->data, padpos); in ath_tx_complete()
[all …]
Dhtc_drv_main.c869 int padpos, padsize, ret, slot; in ath9k_htc_tx() local
874 padpos = ieee80211_hdrlen(hdr->frame_control); in ath9k_htc_tx()
875 padsize = padpos & 3; in ath9k_htc_tx()
876 if (padsize && skb->len > padpos) { in ath9k_htc_tx()
882 memmove(skb->data, skb->data + padsize, padpos); in ath9k_htc_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Dbase.c1310 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()
[all …]