Lines Matching defs:bcm_cfg80211

1175 struct bcm_cfg80211 {  struct
1176 struct wireless_dev *wdev; /* representing cfg cfg80211 device */
1178 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */
1179 struct net_device *p2p_net; /* reference to p2p0 interface */
1181 struct wl_conf *conf;
1182 struct cfg80211_scan_request *scan_request; /* scan request object */
1183 EVENT_HANDLER evt_handler[WLC_E_LAST];
1184 struct list_head eq_list; /* used for event queue */
1185 struct list_head net_list; /* used for struct net_info */
1186 spinlock_t net_list_sync; /* to protect scan status (and others if needed) */
1187 spinlock_t eq_lock; /* for event queue synchronization */
1188 spinlock_t cfgdrv_lock; /* to protect scan status (and others if needed) */
1189 struct completion act_frm_scan;
1190 struct completion iface_disable;
1191 struct completion wait_next_af;
1192 struct mutex usr_sync; /* maily for up/down synchronization */
1193 struct mutex if_sync; /* maily for iface op synchronization */
1194 struct mutex scan_sync; /* scan sync from different scan contexts */
1195 struct wl_scan_results *bss_list;
1196 struct wl_scan_results *scan_results;
1199 struct wl_scan_req *scan_req_int;
1202 struct wl_ie *ie;
1204 struct wl_ie ie;
1209 struct wl_connect_info *conn_info;
1211 struct wl_connect_info conn_info;
1214 struct dentry *debugfs;
1216 struct wl_pmk_list *pmk_list; /* wpa2 pmk list */
1217 tsk_ctl_t event_tsk; /* task of main event handler thread */
1218 void *pub;
1219 u32 iface_cnt;
1220 u32 channel; /* current channel */
1221 u32 af_sent_channel; /* channel action frame is sent */
1223 u8 next_af_subtype;
1225 ulong af_tx_sent_jiffies;
1227 struct escan_info escan_info; /* escan information */
1228 bool active_scan; /* current scan mode */
1229 bool ibss_starter; /* indicates this sta is ibss starter */
1230 bool link_up; /* link/connection up flag */
1233 bool pwr_save;
1234 bool roam_on; /* on/off switch for self-roaming */
1235 bool scan_tried; /* indicates if first scan attempted */
1237 bool wlfc_on;
1239 bool vsdb_mode;
1242 u32 roam_flags;
1243 u8 *ioctl_buf; /* ioctl buffer */
1244 struct mutex ioctl_buf_sync;
1245 u8 *escan_ioctl_buf;
1269 s32(*state_notifier) (struct bcm_cfg80211 *cfg, argument
1271 unsigned long interrested_state;
1272 wlc_ssid_t hostapd_ssid;
1274 bool wl11u;
1276 bool sched_scan_running; /* scheduled scan req status */
1277 struct cfg80211_sched_scan_request *sched_scan_req; /* scheduled scan req */
1279 u8 curr_band;
1281 bool scan_suppressed;
1283 timer_list_compat_t scan_supp_timer;
1284 struct work_struct wlan_work;
1286 struct mutex event_sync; /* maily for up/down synchronization */
1287 bool disable_roam_event;
1288 struct delayed_work pm_enable_work;
1290 struct workqueue_struct *event_workq; /* workqueue for event */
1292 bool event_workq_init;
1294 struct work_struct event_work; /* work item for event */
1295 struct mutex pm_sync; /* mainly for pm work synchronization */
1297 vndr_ie_setbuf_t *ibss_vsie; /* keep the VSIE for IBSS */
1298 int ibss_vsie_len;
1300 u32 aibss_txfail_pid;
1301 u32 aibss_txfail_seq;
1304 u32 rmc_event_pid;
1305 u32 rmc_event_seq;
1308 struct ether_addr ibss_if_addr;
1309 bcm_struct_cfgdev *ibss_cfgdev; /* For AIBSS */
1311 bool bss_pending_op; /* indicate where there is a pending IF operation */
1313 uint8 fbt_key[FBT_KEYLEN];
1315 int roam_offload;
1317 bool nan_enable;
1318 nan_svc_inst_t nan_inst_ctrl[NAN_ID_CTRL_SIZE];
1319 struct ether_addr initiator_ndi;
1320 uint8 nan_dp_state;
1321 bool nan_init_state; /* nan initialization state */
1322 wait_queue_head_t ndp_if_change_event;
1323 uint8 support_5g;
1324 u8 nan_nmi_mac[ETH_ALEN];
1325 u8 nan_dp_mask;
1326 wl_nancfg_t nancfg;
1328 int nan_disc_count;
1329 nan_disc_result_cache *nan_disc_cache;
1330 nan_svc_info_t svc_info[NAN_MAX_SVC_INST];
1331 nan_ranging_inst_t nan_ranging_info[NAN_MAX_RANGING_INST];
1334 uint8 conc_disc;
1335 bool nan_p2p_supported;
1339 iface_mgmt_data_t iface_data;
1342 bool down_disc_if;
1345 bool p2p_resp_apchn_status;
1347 struct wl_wsec_key wep_key;
1349 u8 *tdls_mgmt_frame;
1350 u32 tdls_mgmt_frame_len;
1351 s32 tdls_mgmt_freq;
1353 bool need_wait_afrx;
1355 uint8 *up_table; /* user priority table, size is UP_TABLE_MAX */
1357 struct ether_addr last_roamed_addr;
1358 bool rcc_enabled; /* flag for Roam channel cache feature */
1360 char bss_info[GET_BSS_INFO_LEN];
1361 wl_event_msg_t event_auth_assoc;
1362 u32 assoc_reject_status;
1363 u32 roam_count;
1365 u16 ap_oper_channel;
1367 bool random_mac_enabled;
1370 timer_list_compat_t roam_timeout; /* Timer for catch roam timeout */
1373 uint16 escan_sync_id_cntr;
1376 uint8 tdls_supported;
1377 struct mutex tdls_sync; /* protect tdls config operations */
1380 const uint8 *bip_pos;
1381 int mfp_mode;
1385 int custom_scan_channel_time;
1386 int custom_scan_unassoc_time;
1387 int custom_scan_passive_time;
1388 int custom_scan_home_time;
1389 int custom_scan_home_away_time;
1392 uint8 vif_count; /* Virtual Interface count */
1394 struct list_head wbtext_bssid_list;
1397 ap_rps_info_t ap_rps_info;
1399 u16 vif_macaddr_mask;
1400 osl_t *osh;
1401 struct list_head vndr_oui_list;
1402 spinlock_t vndr_oui_sync; /* to protect vndr_oui_list */
1403 bool rssi_sum_report;
1404 int rssi; /* previous RSSI (backup) of get_station */
1405 uint64 scan_enq_time;
1406 uint64 scan_deq_time;
1407 uint64 scan_hdlr_cmplt_time;
1408 uint64 scan_cmplt_time;
1409 uint64 wl_evt_deq_time;
1410 uint64 wl_evt_hdlr_entry_time;
1411 uint64 wl_evt_hdlr_exit_time;
1413 wl_wps_session_t wps_session[WPS_MAX_SESSIONS];
1414 spinlock_t wps_sync; /* to protect wps states (and others if needed) */
1416 struct wl_fils_info fils_info;
1418 wl_bad_ap_mngr_t bad_ap_mngr;
1421 struct wl_ap_sta_info *ap_sta_info;
1423 uint8 scanmac_enabled;
1426 struct mutex bcn_sync; /* mainly for bcn resume/suspend synchronization */
1427 wl_bcnrecv_info_t bcnrecv_info;
1429 struct net_device *static_ndev[DHD_MAX_STATIC_IFS];
1430 uint8 static_ndev_state[DHD_MAX_STATIC_IFS];
1431 bool hal_started;
1432 wl_wlc_version_t wlc_ver;
1433 bool scan_params_v2;
1435 void *dhd_bandsteer_cntx;
1436 bool p2p_bs;
1437 bool ap_bs;
1440 struct delayed_work hogsqs_eventwork; /* hog detection event work */
1443 bool in_csa;
1444 timer_list_compat_t csa_timeout; /* Timer for csa timeout */