Lines Matching refs:pos
281 unsigned char *pos; in ieee80211_add_tx_radiotap_header() local
291 pos = (unsigned char *)(rthdr + 1); in ieee80211_add_tx_radiotap_header()
307 *pos = DIV_ROUND_UP(rate, 5 * (1 << shift)); in ieee80211_add_tx_radiotap_header()
309 pos += 2; in ieee80211_add_tx_radiotap_header()
323 put_unaligned_le16(txflags, pos); in ieee80211_add_tx_radiotap_header()
324 pos += 2; in ieee80211_add_tx_radiotap_header()
328 *pos = retry_count; in ieee80211_add_tx_radiotap_header()
329 pos++; in ieee80211_add_tx_radiotap_header()
338 pos[0] = IEEE80211_RADIOTAP_MCS_HAVE_MCS | in ieee80211_add_tx_radiotap_header()
342 pos[1] |= IEEE80211_RADIOTAP_MCS_SGI; in ieee80211_add_tx_radiotap_header()
344 pos[1] |= IEEE80211_RADIOTAP_MCS_BW_40; in ieee80211_add_tx_radiotap_header()
346 pos[1] |= IEEE80211_RADIOTAP_MCS_FMT_GF; in ieee80211_add_tx_radiotap_header()
347 pos[2] = info->status.rates[0].idx; in ieee80211_add_tx_radiotap_header()
348 pos += 3; in ieee80211_add_tx_radiotap_header()
357 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); in ieee80211_add_tx_radiotap_header()
360 put_unaligned_le16(known, pos); in ieee80211_add_tx_radiotap_header()
361 pos += 2; in ieee80211_add_tx_radiotap_header()
365 *pos |= IEEE80211_RADIOTAP_VHT_FLAG_SGI; in ieee80211_add_tx_radiotap_header()
366 pos++; in ieee80211_add_tx_radiotap_header()
370 *pos = 1; in ieee80211_add_tx_radiotap_header()
372 *pos = 4; in ieee80211_add_tx_radiotap_header()
374 *pos = 11; in ieee80211_add_tx_radiotap_header()
376 *pos = 0; in ieee80211_add_tx_radiotap_header()
377 pos++; in ieee80211_add_tx_radiotap_header()
380 *pos = (ieee80211_rate_get_vht_mcs(&info->status.rates[0]) << 4) | in ieee80211_add_tx_radiotap_header()
382 pos += 4; in ieee80211_add_tx_radiotap_header()
385 pos++; in ieee80211_add_tx_radiotap_header()
387 pos++; in ieee80211_add_tx_radiotap_header()
389 pos += 2; in ieee80211_add_tx_radiotap_header()