• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/wl12xx/

Lines Matching refs:acx

42 	wl1271_debug(DEBUG_ACX, "acx wake up conditions");
70 wl1271_debug(DEBUG_ACX, "acx sleep auth");
94 wl1271_debug(DEBUG_ACX, "acx fw rev");
125 struct acx_current_tx_power *acx;
128 wl1271_debug(DEBUG_ACX, "acx dot11_cur_tx_pwr");
133 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
134 if (!acx) {
139 acx->current_tx_power = power * 10;
141 ret = wl1271_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx));
148 kfree(acx);
157 wl1271_debug(DEBUG_ACX, "acx feature cfg");
186 wl1271_debug(DEBUG_ACX, "acx mem map");
197 struct acx_rx_msdu_lifetime *acx;
200 wl1271_debug(DEBUG_ACX, "acx rx msdu life time");
202 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
203 if (!acx) {
208 acx->lifetime = cpu_to_le32(wl->conf.rx.rx_msdu_life_time);
210 acx, sizeof(*acx));
217 kfree(acx);
226 wl1271_debug(DEBUG_ACX, "acx rx config");
254 wl1271_debug(DEBUG_ACX, "acx data pd threshold");
280 wl1271_debug(DEBUG_ACX, "acx slot");
305 struct acx_dot11_grp_addr_tbl *acx;
308 wl1271_debug(DEBUG_ACX, "acx group address tbl");
310 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
311 if (!acx) {
317 acx->enabled = enable;
318 acx->num_groups = mc_list_len;
319 memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN);
322 acx, sizeof(*acx));
329 kfree(acx);
344 wl1271_debug(DEBUG_ACX, "acx service period timeout");
367 wl1271_debug(DEBUG_ACX, "acx rts threshold");
394 wl1271_debug(DEBUG_ACX, "acx dco itrim parameters");
422 wl1271_debug(DEBUG_ACX, "acx beacon filter opt");
461 wl1271_debug(DEBUG_ACX, "acx beacon filter table");
512 struct acx_conn_monit_params *acx;
517 wl1271_debug(DEBUG_ACX, "acx connection monitor parameters: %s",
520 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
521 if (!acx) {
531 acx->synch_fail_thold = cpu_to_le32(threshold);
532 acx->bss_lose_timeout = cpu_to_le32(timeout);
535 acx, sizeof(*acx));
543 kfree(acx);
553 wl1271_debug(DEBUG_ACX, "acx sg enable");
583 wl1271_debug(DEBUG_ACX, "acx sg cfg");
612 wl1271_debug(DEBUG_ACX, "acx cca threshold");
640 wl1271_debug(DEBUG_ACX, "acx bcn dtim options");
669 wl1271_debug(DEBUG_ACX, "acx aid");
695 wl1271_debug(DEBUG_ACX, "acx event mbox mask");
721 struct acx_preamble *acx;
726 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
727 if (!acx) {
732 acx->preamble = preamble;
734 ret = wl1271_cmd_configure(wl, ACX_PREAMBLE_TYPE, acx, sizeof(*acx));
741 kfree(acx);
748 struct acx_ctsprotect *acx;
753 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
754 if (!acx) {
759 acx->ctsprotect = ctsprotect;
761 ret = wl1271_cmd_configure(wl, ACX_CTS_PROTECTION, acx, sizeof(*acx));
768 kfree(acx);
776 wl1271_debug(DEBUG_ACX, "acx statistics");
781 wl1271_warning("acx statistics failed: %d", ret);
790 struct acx_rate_policy *acx;
795 wl1271_debug(DEBUG_ACX, "acx rate policies");
797 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
799 if (!acx) {
806 acx->rate_class[idx].enabled_rates = cpu_to_le32(wl->basic_rate);
807 acx->rate_class[idx].short_retry_limit = c->short_retry_limit;
808 acx->rate_class[idx].long_retry_limit = c->long_retry_limit;
809 acx->rate_class[idx].aflags = c->aflags;
813 acx->rate_class[idx].enabled_rates = cpu_to_le32(wl->rate_set);
814 acx->rate_class[idx].short_retry_limit = c->short_retry_limit;
815 acx->rate_class[idx].long_retry_limit = c->long_retry_limit;
816 acx->rate_class[idx].aflags = c->aflags;
818 acx->rate_class_cnt = cpu_to_le32(ACX_TX_RATE_POLICY_CNT);
820 ret = wl1271_cmd_configure(wl, ACX_RATE_POLICY, acx, sizeof(*acx));
827 kfree(acx);
834 struct acx_ac_cfg *acx;
837 wl1271_debug(DEBUG_ACX, "acx ac cfg %d cw_ming %d cw_max %d "
840 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
842 if (!acx) {
847 acx->ac = ac;
848 acx->cw_min = cw_min;
849 acx->cw_max = cpu_to_le16(cw_max);
850 acx->aifsn = aifsn;
851 acx->tx_op_limit = cpu_to_le16(txop);
853 ret = wl1271_cmd_configure(wl, ACX_AC_CFG, acx, sizeof(*acx));
855 wl1271_warning("acx ac cfg failed: %d", ret);
860 kfree(acx);
868 struct acx_tid_config *acx;
871 wl1271_debug(DEBUG_ACX, "acx tid config");
873 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
875 if (!acx) {
880 acx->queue_id = queue_id;
881 acx->channel_type = channel_type;
882 acx->tsid = tsid;
883 acx->ps_scheme = ps_scheme;
884 acx->ack_policy = ack_policy;
885 acx->apsd_conf[0] = cpu_to_le32(apsd_conf0);
886 acx->apsd_conf[1] = cpu_to_le32(apsd_conf1);
888 ret = wl1271_cmd_configure(wl, ACX_TID_CFG, acx, sizeof(*acx));
895 kfree(acx);
901 struct acx_frag_threshold *acx;
904 wl1271_debug(DEBUG_ACX, "acx frag threshold");
906 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
908 if (!acx) {
913 acx->frag_threshold = cpu_to_le16(wl->conf.tx.frag_threshold);
914 ret = wl1271_cmd_configure(wl, ACX_FRAG_CFG, acx, sizeof(*acx));
921 kfree(acx);
927 struct acx_tx_config_options *acx;
930 wl1271_debug(DEBUG_ACX, "acx tx config options");
932 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
934 if (!acx) {
939 acx->tx_compl_timeout = cpu_to_le16(wl->conf.tx.tx_compl_timeout);
940 acx->tx_compl_threshold = cpu_to_le16(wl->conf.tx.tx_compl_threshold);
941 ret = wl1271_cmd_configure(wl, ACX_TX_CONFIG_OPT, acx, sizeof(*acx));
948 kfree(acx);
1050 struct wl1271_acx_bet_enable *acx = NULL;
1053 wl1271_debug(DEBUG_ACX, "acx bet enable");
1058 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1059 if (!acx) {
1064 acx->enable = enable ? CONF_BET_MODE_ENABLE : CONF_BET_MODE_DISABLE;
1065 acx->max_consecutive = wl->conf.conn.bet_max_consecutive;
1067 ret = wl1271_cmd_configure(wl, ACX_BET_ENABLE, acx, sizeof(*acx));
1069 wl1271_warning("acx bet enable failed: %d", ret);
1074 kfree(acx);
1080 struct wl1271_acx_arp_filter *acx;
1083 wl1271_debug(DEBUG_ACX, "acx arp ip filter, enable: %d", enable);
1085 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1086 if (!acx) {
1091 acx->version = ACX_IPV4_VERSION;
1092 acx->enable = enable;
1095 memcpy(acx->address, &address, ACX_IPV4_ADDR_SIZE);
1098 acx, sizeof(*acx));
1105 kfree(acx);
1111 struct wl1271_acx_pm_config *acx = NULL;
1115 wl1271_debug(DEBUG_ACX, "acx pm config");
1117 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1118 if (!acx) {
1123 acx->host_clk_settling_time = cpu_to_le32(c->host_clk_settling_time);
1124 acx->host_fast_wakeup_support = c->host_fast_wakeup_support;
1126 ret = wl1271_cmd_configure(wl, ACX_PM_CONFIG, acx, sizeof(*acx));
1128 wl1271_warning("acx pm config failed: %d", ret);
1133 kfree(acx);
1139 struct wl1271_acx_keep_alive_mode *acx = NULL;
1142 wl1271_debug(DEBUG_ACX, "acx keep alive mode: %d", enable);
1144 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1145 if (!acx) {
1150 acx->enabled = enable;
1152 ret = wl1271_cmd_configure(wl, ACX_KEEP_ALIVE_MODE, acx, sizeof(*acx));
1154 wl1271_warning("acx keep alive mode failed: %d", ret);
1159 kfree(acx);
1165 struct wl1271_acx_keep_alive_config *acx = NULL;
1168 wl1271_debug(DEBUG_ACX, "acx keep alive config");
1170 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1171 if (!acx) {
1176 acx->period = cpu_to_le32(wl->conf.conn.keep_alive_interval);
1177 acx->index = index;
1178 acx->tpl_validation = tpl_valid;
1179 acx->trigger = ACX_KEEP_ALIVE_NO_TX;
1182 acx, sizeof(*acx));
1184 wl1271_warning("acx keep alive config failed: %d", ret);
1189 kfree(acx);
1196 struct wl1271_acx_rssi_snr_trigger *acx = NULL;
1199 wl1271_debug(DEBUG_ACX, "acx rssi snr trigger");
1201 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1202 if (!acx) {
1209 acx->pacing = cpu_to_le16(wl->conf.roam_trigger.trigger_pacing);
1210 acx->metric = WL1271_ACX_TRIG_METRIC_RSSI_BEACON;
1211 acx->type = WL1271_ACX_TRIG_TYPE_EDGE;
1213 acx->enable = WL1271_ACX_TRIG_ENABLE;
1215 acx->enable = WL1271_ACX_TRIG_DISABLE;
1217 acx->index = WL1271_ACX_TRIG_IDX_RSSI;
1218 acx->dir = WL1271_ACX_TRIG_DIR_BIDIR;
1219 acx->threshold = cpu_to_le16(thold);
1220 acx->hysteresis = hyst;
1222 ret = wl1271_cmd_configure(wl, ACX_RSSI_SNR_TRIGGER, acx, sizeof(*acx));
1224 wl1271_warning("acx rssi snr trigger setting failed: %d", ret);
1229 kfree(acx);
1235 struct wl1271_acx_rssi_snr_avg_weights *acx = NULL;
1239 wl1271_debug(DEBUG_ACX, "acx rssi snr avg weights");
1241 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
1242 if (!acx) {
1247 acx->rssi_beacon = c->avg_weight_rssi_beacon;
1248 acx->rssi_data = c->avg_weight_rssi_data;
1249 acx->snr_beacon = c->avg_weight_snr_beacon;
1250 acx->snr_data = c->avg_weight_snr_data;
1252 ret = wl1271_cmd_configure(wl, ACX_RSSI_SNR_WEIGHTS, acx, sizeof(*acx));
1254 wl1271_warning("acx rssi snr trigger weights failed: %d", ret);
1259 kfree(acx);
1277 wl1271_warning("acx tsf info interrogate failed");