Lines 1863-1869
Link Here
|
1863 |
if (head->flags & htole16(WPI_STAT_FLAG_SHPREAMBLE)) |
1863 |
if (head->flags & htole16(WPI_STAT_FLAG_SHPREAMBLE)) |
1864 |
tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; |
1864 |
tap->wr_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; |
1865 |
tap->wr_dbm_antsignal = (int8_t)(stat->rssi + WPI_RSSI_OFFSET); |
1865 |
tap->wr_dbm_antsignal = (int8_t)(stat->rssi + WPI_RSSI_OFFSET); |
1866 |
tap->wr_dbm_antnoise = (int8_t)le16toh(stat->noise); |
1866 |
tap->wr_dbm_antnoise = WPI_RSSI_OFFSET; |
1867 |
tap->wr_tsft = tail->tstamp; |
1867 |
tap->wr_tsft = tail->tstamp; |
1868 |
tap->wr_antenna = (le16toh(head->flags) >> 4) & 0xf; |
1868 |
tap->wr_antenna = (le16toh(head->flags) >> 4) & 0xf; |
1869 |
tap->wr_rate = plcp2rate(head->plcp); |
1869 |
tap->wr_rate = plcp2rate(head->plcp); |