Lines Matching defs:acx

10 #include "../wlcore/acx.h"
12 #include "acx.h"
22 wl1271_debug(DEBUG_ACX, "acx cfg bitmap %d blk %d spare %d field %d",
52 struct wl18xx_acx_checksum_state *acx;
55 wl1271_debug(DEBUG_ACX, "acx checksum state");
57 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
58 if (!acx) {
63 acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED;
65 ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx));
72 kfree(acx);
78 struct wl18xx_acx_clear_statistics *acx;
81 wl1271_debug(DEBUG_ACX, "acx clear statistics");
83 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
84 if (!acx) {
89 ret = wl1271_cmd_configure(wl, ACX_CLEAR_STATISTICS, acx, sizeof(*acx));
96 kfree(acx);
102 struct wlcore_peer_ht_operation_mode *acx;
105 wl1271_debug(DEBUG_ACX, "acx peer ht operation mode hlid %d bw %d",
108 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
109 if (!acx) {
114 acx->hlid = hlid;
115 acx->bandwidth = wide ? WLCORE_BANDWIDTH_40MHZ : WLCORE_BANDWIDTH_20MHZ;
117 ret = wl1271_cmd_configure(wl, ACX_PEER_HT_OPERATION_MODE_CFG, acx,
118 sizeof(*acx));
121 wl1271_warning("acx peer ht operation mode failed: %d", ret);
126 kfree(acx);
141 struct wlcore_acx_peer_cap *acx;
146 "acx set cap ht_supp: %d ht_cap: %d rates: 0x%x",
149 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
150 if (!acx) {
166 acx->ampdu_max_length = ht_cap->ampdu_factor;
167 acx->ampdu_min_spacing = ht_cap->ampdu_density;
170 acx->hlid = hlid;
171 acx->ht_capabilites = cpu_to_le32(ht_capabilites);
172 acx->supported_rates = cpu_to_le32(rate_set);
174 ret = wl1271_cmd_configure(wl, ACX_PEER_CAP, acx, sizeof(*acx));
176 wl1271_warning("acx ht capabilities setting failed: %d", ret);
181 kfree(acx);
192 struct wl18xx_acx_interrupt_notify *acx;
195 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
196 if (!acx) {
201 acx->enable = action;
202 ret = wl1271_cmd_configure(wl, ACX_INTERRUPT_NOTIFY, acx, sizeof(*acx));
204 wl1271_warning("acx interrupt notify setting failed: %d", ret);
209 kfree(acx);
219 struct wl18xx_acx_rx_ba_filter *acx;
222 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
223 if (!acx) {
228 acx->enable = (u32)action;
229 ret = wl1271_cmd_configure(wl, ACX_RX_BA_FILTER, acx, sizeof(*acx));
231 wl1271_warning("acx rx ba activity filter setting failed: %d",
237 kfree(acx);
244 struct acx_ap_sleep_cfg *acx;
248 wl1271_debug(DEBUG_ACX, "acx config ap sleep");
250 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
251 if (!acx) {
256 acx->idle_duty_cycle = conf->idle_duty_cycle;
257 acx->connected_duty_cycle = conf->connected_duty_cycle;
258 acx->max_stations_thresh = conf->max_stations_thresh;
259 acx->idle_conn_thresh = conf->idle_conn_thresh;
261 ret = wl1271_cmd_configure(wl, ACX_AP_SLEEP_CFG, acx, sizeof(*acx));
263 wl1271_warning("acx config ap-sleep failed: %d", ret);
268 kfree(acx);
274 struct acx_dynamic_fw_traces_cfg *acx;
277 wl1271_debug(DEBUG_ACX, "acx dynamic fw traces config %d",
280 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
281 if (!acx) {
286 acx->dynamic_fw_traces = cpu_to_le32(wl->dynamic_fw_traces);
289 acx, sizeof(*acx));
291 wl1271_warning("acx config dynamic fw traces failed: %d", ret);
295 kfree(acx);
301 struct acx_time_sync_cfg *acx;
304 wl1271_debug(DEBUG_ACX, "acx time sync cfg: mode %d, addr: %pM",
308 acx = kzalloc(sizeof(*acx), GFP_KERNEL);
309 if (!acx) {
314 acx->sync_mode = wl->conf.sg.params[WL18XX_CONF_SG_TIME_SYNC];
315 memcpy(acx->zone_mac_addr, wl->zone_master_mac_addr, ETH_ALEN);
318 acx, sizeof(*acx));
320 wl1271_warning("acx time sync cfg failed: %d", ret);
324 kfree(acx);