25 #ifdef CSR_SUPPORT_WEXT_AP
39 priv->filter_tclas_ies =
NULL;
42 #ifdef CSR_SUPPORT_WEXT
43 priv->ignore_bssid_join =
FALSE;
44 priv->mib_data.length = 0;
49 priv->sta_ip_address = 0xFFFFFFFF;
51 priv->wifi_on_state = wifi_on_unspecified;
53 sema_init(&priv->sme_sem, 1);
56 priv->ta_ind_work.in_use = 0;
57 priv->ta_sample_ind_work.in_use = 0;
59 priv->CSR_WIFI_SME_IFACEQUEUE = 0xFFFF;
61 for (i = 0; i < MAX_MA_UNIDATA_IND_FILTERS; i++) {
62 priv->sme_unidata_ind_filters[
i].in_use = 0;
68 #ifdef CSR_SUPPORT_WEXT
80 interfacePriv->controlled_data_port.entries_in_use = 1;
81 interfacePriv->controlled_data_port.port_cfg[0].in_use =
TRUE;
86 interfacePriv->uncontrolled_data_port.entries_in_use = 1;
87 interfacePriv->uncontrolled_data_port.port_cfg[0].in_use =
TRUE;
93 interfacePriv->controlled_data_port.port_cfg[
j].in_use =
FALSE;
96 interfacePriv->uncontrolled_data_port.port_cfg[
j].in_use =
FALSE;
101 INIT_LIST_HEAD(&interfacePriv->genericMgtFrames);
102 INIT_LIST_HEAD(&interfacePriv->genericMulticastOrBroadCastMgtFrames);
103 INIT_LIST_HEAD(&interfacePriv->genericMulticastOrBroadCastFrames);
106 interfacePriv->staInfo[
j] =
NULL;
109 interfacePriv->num_stations_joined = 0;
110 interfacePriv->sta_activity_check_enabled =
FALSE;
129 if (priv->packet_filters.tclas_ies_length) {
130 priv->packet_filters.tclas_ies_length = 0;
131 kfree(priv->filter_tclas_ies);
132 priv->filter_tclas_ies =
NULL;
135 for (i = 0; i < MAX_MA_UNIDATA_IND_FILTERS; i++) {
136 priv->sme_unidata_ind_filters[
i].in_use = 0;
143 ba_session_rx = priv->
interfacePriv[
i]->ba_session_rx[ba_session_idx];
153 ba_session_tx = priv->
interfacePriv[
i]->ba_session_tx[ba_session_idx];
167 if ((staInfo=interfacePriv->staInfo[j]) !=
NULL) {
169 unifi_trace(priv,
UDBG1,
"uf_sme_deinit: Canceling work queue for STA with AID: %d\n", staInfo->
aid);
174 if (interfacePriv->sta_activity_check_enabled){
175 interfacePriv->sta_activity_check_enabled =
FALSE;
218 if (priv->ta_ind_work.in_use) {
220 "unifi_ta_indicate_protocol: workqueue item still in use, not sending\n");
226 u16 interfaceTag = 0;
235 priv->ta_ind_work.packet_type = packet_type;
237 priv->ta_ind_work.src_addr = *
src_addr;
268 if (priv->ta_sample_ind_work.in_use) {
270 "unifi_ta_indicate_sampling: workqueue item still in use, not sending\n");
274 priv->ta_sample_ind_work.stats = *
stats;