diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index e1fb97cc9a41..bff82a8e62f3 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -1259,7 +1259,18 @@ static inline int ieee80211_bssid_match(const u8 *raddr, const u8 *addr) | |||
1259 | is_broadcast_ether_addr(raddr); | 1259 | is_broadcast_ether_addr(raddr); |
1260 | } | 1260 | } |
1261 | 1261 | ||
1262 | static inline bool | ||
1263 | ieee80211_have_rx_timestamp(struct ieee80211_rx_status *status) | ||
1264 | { | ||
1265 | WARN_ON_ONCE(status->flag & RX_FLAG_MACTIME_START && | ||
1266 | status->flag & RX_FLAG_MACTIME_END); | ||
1267 | return status->flag & (RX_FLAG_MACTIME_START | RX_FLAG_MACTIME_END); | ||
1268 | } | ||
1262 | 1269 | ||
1270 | u64 ieee80211_calculate_rx_timestamp(struct ieee80211_local *local, | ||
1271 | struct ieee80211_rx_status *status, | ||
1272 | unsigned int mpdu_len, | ||
1273 | unsigned int mpdu_offset); | ||
1263 | int ieee80211_hw_config(struct ieee80211_local *local, u32 changed); | 1274 | int ieee80211_hw_config(struct ieee80211_local *local, u32 changed); |
1264 | void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx); | 1275 | void ieee80211_tx_set_protected(struct ieee80211_tx_data *tx); |
1265 | void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, | 1276 | void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, |