Lines Matching defs:wil6210_priv
921 struct wil6210_priv { struct
922 struct pci_dev *pdev;
923 u32 bar_size;
924 struct wiphy *wiphy;
925 struct net_device *main_ndev;
926 int n_msi;
927 void __iomem *csr;
929 u8 fw_version[ETHTOOL_FWVERS_LEN];
930 u32 hw_version;
931 u8 chip_revision;
932 const char *hw_name;
933 const char *wil_fw_name;
934 char *board_file;
935 u32 num_of_brd_entries;
936 struct wil_brd_info *brd_info;
940 u32 recovery_count; /* num of FW recovery attempts in a short time */
941 u32 recovery_state; /* FW recovery state machine */
942 unsigned long last_fw_recovery; /* jiffies of last fw recovery */
943 wait_queue_head_t wq; /* for all wait_event() use */
944 u8 max_vifs; /* maximum number of interfaces, including main */
945 struct wil6210_vif *vifs[WIL_MAX_VIFS];
946 struct mutex vif_mutex; /* protects access to VIF entries */
947 atomic_t connected_vifs;
948 u32 max_assoc_sta; /* max sta's supported by the driver and the FW */
951 struct cfg80211_chan_def monitor_chandef;
952 u32 monitor_flags;
953 int sinfo_gen;
955 u32 tx_max_burst_duration;
956 u32 tx_interframe_timeout;
957 u32 rx_max_burst_duration;
958 u32 rx_interframe_timeout;
960 u32 isr_misc;
962 struct mutex wmi_mutex;
963 struct wil6210_mbox_ctl mbox_ctl;
964 struct completion wmi_ready;
965 struct completion wmi_call;
966 u16 wmi_seq;
967 u16 reply_id; /**< wait for this WMI event */
968 u8 reply_mid;
969 void *reply_buf;
970 u16 reply_size;
971 struct workqueue_struct *wmi_wq; /* for deferred calls */
972 struct work_struct wmi_event_worker;
973 struct workqueue_struct *wq_service;
974 struct work_struct fw_error_worker; /* for FW error recovery */
975 struct list_head pending_wmi_ev;
1004 struct mutex mutex; /* for wil6210_priv access in wil_{up|down} */ argument
1006 struct rw_semaphore mem_lock;
1008 atomic_t isr_count_rx, isr_count_tx;
1010 struct dentry *debug;
1011 struct wil_blob_wrapper blobs[MAX_FW_MAPPING_TABLE_SIZE];
1012 u8 discovery_mode;
1013 u8 abft_len;
1014 u8 wakeup_trigger;
1015 struct wil_suspend_stats suspend_stats;
1016 struct wil_debugfs_data dbg_data;
1017 bool tx_latency; /* collect TX latency measurements */
1018 size_t tx_latency_res; /* bin resolution in usec */
1020 void *platform_handle;
1021 struct wil_platform_ops platform_ops;
1022 bool keep_radio_on_during_sleep;
1024 struct pmc_ctx pmc;
1026 u8 p2p_dev_started;
1029 struct wireless_dev *p2p_wdev;
1030 struct wireless_dev *radio_wdev;
1033 struct wil_halp halp;
1035 enum wmi_ps_profile_type ps_profile;
1037 int fw_calib_result;
1039 struct notifier_block pm_notify;
1041 bool suspend_resp_rcvd;
1042 bool suspend_resp_comp;
1043 u32 bus_request_kbps;
1044 u32 bus_request_kbps_pre_suspend;
1046 u32 rgf_fw_assert_code_addr;
1070 #define wiphy_to_wil(w) (struct wil6210_priv *)(wiphy_priv(w)) argument