Lines Matching refs:pos
280 unsigned char *pos; in ieee80211_add_tx_radiotap_header() local
290 pos = (unsigned char *)(rthdr + 1); in ieee80211_add_tx_radiotap_header()
306 *pos = DIV_ROUND_UP(rate, 5 * (1 << shift)); in ieee80211_add_tx_radiotap_header()
308 pos += 2; in ieee80211_add_tx_radiotap_header()
322 put_unaligned_le16(txflags, pos); in ieee80211_add_tx_radiotap_header()
323 pos += 2; in ieee80211_add_tx_radiotap_header()
327 *pos = retry_count; in ieee80211_add_tx_radiotap_header()
328 pos++; in ieee80211_add_tx_radiotap_header()
337 pos[0] = IEEE80211_RADIOTAP_MCS_HAVE_MCS | in ieee80211_add_tx_radiotap_header()
341 pos[1] |= IEEE80211_RADIOTAP_MCS_SGI; in ieee80211_add_tx_radiotap_header()
343 pos[1] |= IEEE80211_RADIOTAP_MCS_BW_40; in ieee80211_add_tx_radiotap_header()
345 pos[1] |= IEEE80211_RADIOTAP_MCS_FMT_GF; in ieee80211_add_tx_radiotap_header()
346 pos[2] = info->status.rates[0].idx; in ieee80211_add_tx_radiotap_header()
347 pos += 3; in ieee80211_add_tx_radiotap_header()
356 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2); in ieee80211_add_tx_radiotap_header()
359 put_unaligned_le16(known, pos); in ieee80211_add_tx_radiotap_header()
360 pos += 2; in ieee80211_add_tx_radiotap_header()
364 *pos |= IEEE80211_RADIOTAP_VHT_FLAG_SGI; in ieee80211_add_tx_radiotap_header()
365 pos++; in ieee80211_add_tx_radiotap_header()
369 *pos = 1; in ieee80211_add_tx_radiotap_header()
371 *pos = 4; in ieee80211_add_tx_radiotap_header()
373 *pos = 11; in ieee80211_add_tx_radiotap_header()
375 *pos = 0; in ieee80211_add_tx_radiotap_header()
376 pos++; in ieee80211_add_tx_radiotap_header()
379 *pos = (ieee80211_rate_get_vht_mcs(&info->status.rates[0]) << 4) | in ieee80211_add_tx_radiotap_header()
381 pos += 4; in ieee80211_add_tx_radiotap_header()
384 pos++; in ieee80211_add_tx_radiotap_header()
386 pos++; in ieee80211_add_tx_radiotap_header()
388 pos += 2; in ieee80211_add_tx_radiotap_header()