mac80211.h (8d65b08debc7e62b2c6032d7fe7389d895b92cbc) mac80211.h (2f242bf45370b8ea44f209b22c3c90984655a102)
1/*
2 * mac80211 <-> driver interface
3 *
4 * Copyright 2002-2005, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH

--- 1127 unchanged lines hidden (view full) ---

1136 RX_FLAG_ALLOW_SAME_PN = BIT(22),
1137 RX_FLAG_ICV_STRIPPED = BIT(23),
1138};
1139
1140/**
1141 * enum mac80211_rx_encoding_flags - MCS & bandwidth flags
1142 *
1143 * @RX_ENC_FLAG_SHORTPRE: Short preamble was used for this frame
1/*
2 * mac80211 <-> driver interface
3 *
4 * Copyright 2002-2005, Devicescape Software, Inc.
5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net>
7 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH

--- 1127 unchanged lines hidden (view full) ---

1136 RX_FLAG_ALLOW_SAME_PN = BIT(22),
1137 RX_FLAG_ICV_STRIPPED = BIT(23),
1138};
1139
1140/**
1141 * enum mac80211_rx_encoding_flags - MCS & bandwidth flags
1142 *
1143 * @RX_ENC_FLAG_SHORTPRE: Short preamble was used for this frame
1144 * @RX_ENC_FLAG_40MHZ: HT40 (40 MHz) was used
1145 * @RX_ENC_FLAG_SHORT_GI: Short guard interval was used
1146 * @RX_ENC_FLAG_HT_GF: This frame was received in a HT-greenfield transmission,
1147 * if the driver fills this value it should add
1148 * %IEEE80211_RADIOTAP_MCS_HAVE_FMT
1149 * to hw.radiotap_mcs_details to advertise that fact
1150 * @RX_ENC_FLAG_LDPC: LDPC was used
1151 * @RX_ENC_FLAG_STBC_MASK: STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3
1152 * @RX_ENC_FLAG_BF: packet was beamformed
1153 */
1154enum mac80211_rx_encoding_flags {
1155 RX_ENC_FLAG_SHORTPRE = BIT(0),
1144 * @RX_ENC_FLAG_SHORT_GI: Short guard interval was used
1145 * @RX_ENC_FLAG_HT_GF: This frame was received in a HT-greenfield transmission,
1146 * if the driver fills this value it should add
1147 * %IEEE80211_RADIOTAP_MCS_HAVE_FMT
1148 * to hw.radiotap_mcs_details to advertise that fact
1149 * @RX_ENC_FLAG_LDPC: LDPC was used
1150 * @RX_ENC_FLAG_STBC_MASK: STBC 2 bit bitmask. 1 - Nss=1, 2 - Nss=2, 3 - Nss=3
1151 * @RX_ENC_FLAG_BF: packet was beamformed
1152 */
1153enum mac80211_rx_encoding_flags {
1154 RX_ENC_FLAG_SHORTPRE = BIT(0),
1156 RX_ENC_FLAG_40MHZ = BIT(1),
1157 RX_ENC_FLAG_SHORT_GI = BIT(2),
1158 RX_ENC_FLAG_HT_GF = BIT(3),
1159 RX_ENC_FLAG_STBC_MASK = BIT(4) | BIT(5),
1160 RX_ENC_FLAG_LDPC = BIT(6),
1161 RX_ENC_FLAG_BF = BIT(7),
1162};
1163
1164#define RX_ENC_FLAG_STBC_SHIFT 4

--- 4724 unchanged lines hidden ---
1155 RX_ENC_FLAG_SHORT_GI = BIT(2),
1156 RX_ENC_FLAG_HT_GF = BIT(3),
1157 RX_ENC_FLAG_STBC_MASK = BIT(4) | BIT(5),
1158 RX_ENC_FLAG_LDPC = BIT(6),
1159 RX_ENC_FLAG_BF = BIT(7),
1160};
1161
1162#define RX_ENC_FLAG_STBC_SHIFT 4

--- 4724 unchanged lines hidden ---