123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
-
-
-
-
-
-
-
- #ifndef _MON_DROP_H_
- #define _MON_DROP_H_
- #if !defined(__ASSEMBLER__)
- #endif
- #define NUM_OF_DWORDS_MON_DROP 2
- #define NUM_OF_QWORDS_MON_DROP 1
- struct mon_drop {
- #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
- uint32_t ppdu_id : 32;
- uint32_t ppdu_drop_cnt : 10,
- mpdu_drop_cnt : 10,
- tlv_drop_cnt : 10,
- end_of_ppdu_seen : 1,
- reserved_1a : 1;
- #else
- uint32_t ppdu_id : 32;
- uint32_t reserved_1a : 1,
- end_of_ppdu_seen : 1,
- tlv_drop_cnt : 10,
- mpdu_drop_cnt : 10,
- ppdu_drop_cnt : 10;
- #endif
- };
- #define MON_DROP_PPDU_ID_OFFSET 0x0000000000000000
- #define MON_DROP_PPDU_ID_LSB 0
- #define MON_DROP_PPDU_ID_MSB 31
- #define MON_DROP_PPDU_ID_MASK 0x00000000ffffffff
- #define MON_DROP_PPDU_DROP_CNT_OFFSET 0x0000000000000000
- #define MON_DROP_PPDU_DROP_CNT_LSB 32
- #define MON_DROP_PPDU_DROP_CNT_MSB 41
- #define MON_DROP_PPDU_DROP_CNT_MASK 0x000003ff00000000
- #define MON_DROP_MPDU_DROP_CNT_OFFSET 0x0000000000000000
- #define MON_DROP_MPDU_DROP_CNT_LSB 42
- #define MON_DROP_MPDU_DROP_CNT_MSB 51
- #define MON_DROP_MPDU_DROP_CNT_MASK 0x000ffc0000000000
- #define MON_DROP_TLV_DROP_CNT_OFFSET 0x0000000000000000
- #define MON_DROP_TLV_DROP_CNT_LSB 52
- #define MON_DROP_TLV_DROP_CNT_MSB 61
- #define MON_DROP_TLV_DROP_CNT_MASK 0x3ff0000000000000
- #define MON_DROP_END_OF_PPDU_SEEN_OFFSET 0x0000000000000000
- #define MON_DROP_END_OF_PPDU_SEEN_LSB 62
- #define MON_DROP_END_OF_PPDU_SEEN_MSB 62
- #define MON_DROP_END_OF_PPDU_SEEN_MASK 0x4000000000000000
- #define MON_DROP_RESERVED_1A_OFFSET 0x0000000000000000
- #define MON_DROP_RESERVED_1A_LSB 63
- #define MON_DROP_RESERVED_1A_MSB 63
- #define MON_DROP_RESERVED_1A_MASK 0x8000000000000000
- #endif
|