Lines Matching defs:pos
299 unsigned char *pos;
310 pos = (unsigned char *)(rthdr + 1);
335 *pos = DIV_ROUND_UP(legacy_rate, 5 * (1 << shift));
337 pos += 2;
351 put_unaligned_le16(txflags, pos);
352 pos += 2;
356 *pos = retry_count;
357 pos++;
362 pos[0] = IEEE80211_RADIOTAP_MCS_HAVE_MCS |
366 pos[1] |= IEEE80211_RADIOTAP_MCS_SGI;
368 pos[1] |= IEEE80211_RADIOTAP_MCS_BW_40;
369 pos[2] = status->rate->mcs;
370 pos += 3;
380 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2);
383 put_unaligned_le16(known, pos);
384 pos += 2;
388 *pos |= IEEE80211_RADIOTAP_VHT_FLAG_SGI;
389 pos++;
394 *pos = 11;
397 *pos = 4;
400 *pos = 1;
403 *pos = 0;
406 pos++;
409 *pos = (status->rate->mcs << 4) | status->rate->nss;
410 pos += 4;
413 pos++;
415 pos++;
417 pos += 2;
425 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2);
426 he = (struct ieee80211_radiotap_he *)pos;
489 pos += sizeof(struct ieee80211_radiotap_he);
499 pos[0] = IEEE80211_RADIOTAP_MCS_HAVE_MCS |
503 pos[1] |= IEEE80211_RADIOTAP_MCS_SGI;
505 pos[1] |= IEEE80211_RADIOTAP_MCS_BW_40;
507 pos[1] |= IEEE80211_RADIOTAP_MCS_FMT_GF;
508 pos[2] = info->status.rates[0].idx;
509 pos += 3;
518 pos = (u8 *)rthdr + ALIGN(pos - (u8 *)rthdr, 2);
521 put_unaligned_le16(known, pos);
522 pos += 2;
526 *pos |= IEEE80211_RADIOTAP_VHT_FLAG_SGI;
527 pos++;
531 *pos = 1;
533 *pos = 4;
535 *pos = 11;
537 *pos = 0;
538 pos++;
541 *pos = (ieee80211_rate_get_vht_mcs(&info->status.rates[0]) << 4) |
543 pos += 4;
546 pos++;
548 pos++;
550 pos += 2;