Home
last modified time | relevance | path

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

/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.c2296 int padpos, padsize; in ath_tx_prepare() local
2317 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_prepare()
2318 padsize = padpos & 3; in ath_tx_prepare()
2319 if (padsize && skb->len > padpos) { in ath_tx_prepare()
2324 memmove(skb->data, skb->data + padsize, padpos); in ath_tx_prepare()
2472 int padpos, padsize; in ath_tx_complete() local
2488 padpos = ieee80211_hdrlen(hdr->frame_control); in ath_tx_complete()
2489 padsize = padpos & 3; in ath_tx_complete()
2490 if (padsize && skb->len>padpos+padsize) { in ath_tx_complete()
2495 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()
/drivers/net/wireless/ath/ath5k/
Dbase.c1355 int padpos = 24; in ath5k_common_padpos() local
1358 padpos += ETH_ALEN; in ath5k_common_padpos()
1361 padpos += IEEE80211_QOS_CTL_LEN; in ath5k_common_padpos()
1363 return padpos; in ath5k_common_padpos()
1372 int padpos = ath5k_common_padpos(skb); in ath5k_add_padding() local
1373 int padsize = padpos & 3; in ath5k_add_padding()
1375 if (padsize && skb->len > padpos) { in ath5k_add_padding()
1381 memmove(skb->data, skb->data + padsize, padpos); in ath5k_add_padding()
1403 int padpos = ath5k_common_padpos(skb); in ath5k_remove_padding() local
1404 int padsize = padpos & 3; in ath5k_remove_padding()
[all …]