Lines Matching defs:acx

2 #include "acx.h"
18 wl1251_debug(DEBUG_ACX, "acx frame rates");
47 wl1251_debug(DEBUG_ACX, "acx dot11_station_id");
67 wl1251_debug(DEBUG_ACX, "acx dot11_default_key (%d)", key_id);
95 wl1251_debug(DEBUG_ACX, "acx wake up conditions");
121 wl1251_debug(DEBUG_ACX, "acx sleep auth");
140 wl1251_debug(DEBUG_ACX, "acx fw rev");
169 struct acx_current_tx_power *acx;
172 wl1251_debug(DEBUG_ACX, "acx dot11_cur_tx_pwr");
177 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
178 if (!acx)
181 acx->current_tx_power = power * 10;
183 ret = wl1251_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx));
190 kfree(acx);
199 wl1251_debug(DEBUG_ACX, "acx feature cfg");
226 wl1251_debug(DEBUG_ACX, "acx mem map");
241 wl1251_debug(DEBUG_ACX, "acx data path params");
272 wl1251_warning("data path parameter acx status failed");
284 struct acx_rx_msdu_lifetime *acx;
287 wl1251_debug(DEBUG_ACX, "acx rx msdu life time");
289 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
290 if (!acx)
293 acx->lifetime = life_time;
295 acx, sizeof(*acx));
302 kfree(acx);
311 wl1251_debug(DEBUG_ACX, "acx rx config");
337 wl1251_debug(DEBUG_ACX, "acx data pd threshold");
361 wl1251_debug(DEBUG_ACX, "acx slot");
384 struct acx_dot11_grp_addr_tbl *acx;
387 wl1251_debug(DEBUG_ACX, "acx group address tbl");
389 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
390 if (!acx)
394 acx->enabled = enable;
395 acx->num_groups = mc_list_len;
396 memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN);
399 acx, sizeof(*acx));
406 kfree(acx);
419 wl1251_debug(DEBUG_ACX, "acx service period timeout");
442 wl1251_debug(DEBUG_ACX, "acx rts threshold");
466 wl1251_debug(DEBUG_ACX, "acx beacon filter opt");
493 wl1251_debug(DEBUG_ACX, "acx beacon filter table");
518 struct acx_conn_monit_params *acx;
521 wl1251_debug(DEBUG_ACX, "acx connection monitor parameters");
523 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
524 if (!acx)
527 acx->synch_fail_thold = SYNCH_FAIL_DEFAULT_THRESHOLD;
528 acx->bss_lose_timeout = NO_BEACON_DEFAULT_TIMEOUT;
531 acx, sizeof(*acx));
539 kfree(acx);
548 wl1251_debug(DEBUG_ACX, "acx sg enable");
572 wl1251_debug(DEBUG_ACX, "acx sg cfg");
624 wl1251_debug(DEBUG_ACX, "acx cca threshold");
647 wl1251_debug(DEBUG_ACX, "acx bcn dtim options");
674 wl1251_debug(DEBUG_ACX, "acx aid");
698 wl1251_debug(DEBUG_ACX, "acx event mbox mask");
727 wl1251_debug(DEBUG_ACX, "acx low rssi");
748 struct acx_preamble *acx;
753 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
754 if (!acx)
757 acx->preamble = preamble;
759 ret = wl1251_cmd_configure(wl, ACX_PREAMBLE_TYPE, acx, sizeof(*acx));
766 kfree(acx);
773 struct acx_ctsprotect *acx;
778 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
779 if (!acx)
782 acx->ctsprotect = ctsprotect;
784 ret = wl1251_cmd_configure(wl, ACX_CTS_PROTECTION, acx, sizeof(*acx));
791 kfree(acx);
823 wl1251_debug(DEBUG_ACX, "acx statistics");
828 wl1251_warning("acx statistics failed: %d", ret);
837 struct acx_rate_policy *acx;
840 wl1251_debug(DEBUG_ACX, "acx rate policies");
842 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
843 if (!acx)
847 acx->rate_class_cnt = 2;
848 acx->rate_class[0].enabled_rates = ACX_RATE_MASK_UNSPECIFIED;
849 acx->rate_class[0].short_retry_limit = ACX_RATE_RETRY_LIMIT;
850 acx->rate_class[0].long_retry_limit = ACX_RATE_RETRY_LIMIT;
851 acx->rate_class[0].aflags = 0;
854 acx->rate_class[1].enabled_rates = ACX_RATE_MASK_UNSPECIFIED;
855 acx->rate_class[1].short_retry_limit = 0;
856 acx->rate_class[1].long_retry_limit = 0;
857 acx->rate_class[1].aflags = 0;
859 ret = wl1251_cmd_configure(wl, ACX_RATE_POLICY, acx, sizeof(*acx));
866 kfree(acx);
875 wl1251_debug(DEBUG_ACX, "acx mem cfg");
917 struct wl1251_acx_wr_tbtt_and_dtim *acx;
920 wl1251_debug(DEBUG_ACX, "acx tbtt and dtim");
922 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
923 if (!acx)
926 acx->tbtt = tbtt;
927 acx->dtim = dtim;
930 acx, sizeof(*acx));
937 kfree(acx);
944 struct wl1251_acx_bet_enable *acx;
947 wl1251_debug(DEBUG_ACX, "acx bet enable");
949 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
950 if (!acx)
953 acx->enable = mode;
954 acx->max_consecutive = max_consecutive;
956 ret = wl1251_cmd_configure(wl, ACX_BET_ENABLE, acx, sizeof(*acx));
958 wl1251_warning("wl1251 acx bet enable failed: %d", ret);
963 kfree(acx);
969 struct wl1251_acx_arp_filter *acx;
972 wl1251_debug(DEBUG_ACX, "acx arp ip filter, enable: %d", enable);
974 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
975 if (!acx)
978 acx->version = ACX_IPV4_VERSION;
979 acx->enable = enable;
982 memcpy(acx->address, &address, ACX_IPV4_ADDR_SIZE);
985 acx, sizeof(*acx));
989 kfree(acx);
996 struct wl1251_acx_ac_cfg *acx;
999 wl1251_debug(DEBUG_ACX, "acx ac cfg %d cw_ming %d cw_max %d "
1002 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1003 if (!acx)
1006 acx->ac = ac;
1007 acx->cw_min = cw_min;
1008 acx->cw_max = cw_max;
1009 acx->aifsn = aifs;
1010 acx->txop_limit = txop;
1012 ret = wl1251_cmd_configure(wl, ACX_AC_CFG, acx, sizeof(*acx));
1014 wl1251_warning("acx ac cfg failed: %d", ret);
1019 kfree(acx);
1028 struct wl1251_acx_tid_cfg *acx;
1031 wl1251_debug(DEBUG_ACX, "acx tid cfg %d type %d tsid %d "
1035 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1036 if (!acx)
1039 acx->queue = queue;
1040 acx->type = type;
1041 acx->tsid = tsid;
1042 acx->ps_scheme = ps_scheme;
1043 acx->ack_policy = ack_policy;
1045 ret = wl1251_cmd_configure(wl, ACX_TID_CFG, acx, sizeof(*acx));
1047 wl1251_warning("acx tid cfg failed: %d", ret);
1052 kfree(acx);