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