mvm.h (1595ecce1cf32688760281f40b58b7a1d4a69aa9) mvm.h (c7eca79def44f1faf024d8442044287bef749818)
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

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

776 struct ptp_clock *ptp_clock;
777 struct ptp_clock_info ptp_clock_info;
778 /* keeps track of GP2 wrap-around */
779 u32 last_gp2;
780 u32 wrap_counter;
781 struct delayed_work dwork;
782};
783
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2/*
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#ifndef __IWL_MVM_H__
8#define __IWL_MVM_H__

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

776 struct ptp_clock *ptp_clock;
777 struct ptp_clock_info ptp_clock_info;
778 /* keeps track of GP2 wrap-around */
779 u32 last_gp2;
780 u32 wrap_counter;
781 struct delayed_work dwork;
782};
783
784struct iwl_time_sync_data {
785 struct sk_buff_head frame_list;
786 u8 peer_addr[ETH_ALEN];
787 bool active;
788};
789
784struct iwl_mvm {
785 /* for logger access */
786 struct device *dev;
787
788 struct iwl_trans *trans;
789 const struct iwl_fw *fw;
790 const struct iwl_cfg *cfg;
791 struct iwl_phy_db *phy_db;

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

1121 u8 cur_bssid[ETH_ALEN];
1122
1123 unsigned long last_6ghz_passive_scan_jiffies;
1124 unsigned long last_reset_or_resume_time_jiffies;
1125
1126 bool sta_remove_requires_queue_remove;
1127
1128 bool pldr_sync;
790struct iwl_mvm {
791 /* for logger access */
792 struct device *dev;
793
794 struct iwl_trans *trans;
795 const struct iwl_fw *fw;
796 const struct iwl_cfg *cfg;
797 struct iwl_phy_db *phy_db;

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

1127 u8 cur_bssid[ETH_ALEN];
1128
1129 unsigned long last_6ghz_passive_scan_jiffies;
1130 unsigned long last_reset_or_resume_time_jiffies;
1131
1132 bool sta_remove_requires_queue_remove;
1133
1134 bool pldr_sync;
1135
1136 struct iwl_time_sync_data time_sync;
1129};
1130
1131/* Extract MVM priv from op_mode and _hw */
1132#define IWL_OP_MODE_GET_MVM(_iwl_op_mode) \
1133 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific)
1134
1135#define IWL_MAC80211_GET_MVM(_hw) \
1136 IWL_OP_MODE_GET_MVM((struct iwl_op_mode *)((_hw)->priv))

--- 1180 unchanged lines hidden ---
1137};
1138
1139/* Extract MVM priv from op_mode and _hw */
1140#define IWL_OP_MODE_GET_MVM(_iwl_op_mode) \
1141 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific)
1142
1143#define IWL_MAC80211_GET_MVM(_hw) \
1144 IWL_OP_MODE_GET_MVM((struct iwl_op_mode *)((_hw)->priv))

--- 1180 unchanged lines hidden ---