Lines Matching refs:acx

66 	struct wl18xx_acx_checksum_state *acx;  in wl18xx_acx_set_checksum_state()  local
71 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_checksum_state()
72 if (!acx) { in wl18xx_acx_set_checksum_state()
77 acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; in wl18xx_acx_set_checksum_state()
79 ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx)); in wl18xx_acx_set_checksum_state()
86 kfree(acx); in wl18xx_acx_set_checksum_state()
92 struct wl18xx_acx_clear_statistics *acx; in wl18xx_acx_clear_statistics() local
97 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_clear_statistics()
98 if (!acx) { in wl18xx_acx_clear_statistics()
103 ret = wl1271_cmd_configure(wl, ACX_CLEAR_STATISTICS, acx, sizeof(*acx)); in wl18xx_acx_clear_statistics()
110 kfree(acx); in wl18xx_acx_clear_statistics()
116 struct wlcore_peer_ht_operation_mode *acx; in wl18xx_acx_peer_ht_operation_mode() local
122 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_peer_ht_operation_mode()
123 if (!acx) { in wl18xx_acx_peer_ht_operation_mode()
128 acx->hlid = hlid; in wl18xx_acx_peer_ht_operation_mode()
129 acx->bandwidth = wide ? WLCORE_BANDWIDTH_40MHZ : WLCORE_BANDWIDTH_20MHZ; in wl18xx_acx_peer_ht_operation_mode()
131 ret = wl1271_cmd_configure(wl, ACX_PEER_HT_OPERATION_MODE_CFG, acx, in wl18xx_acx_peer_ht_operation_mode()
132 sizeof(*acx)); in wl18xx_acx_peer_ht_operation_mode()
140 kfree(acx); in wl18xx_acx_peer_ht_operation_mode()
155 struct wlcore_acx_peer_cap *acx; in wl18xx_acx_set_peer_cap() local
163 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_peer_cap()
164 if (!acx) { in wl18xx_acx_set_peer_cap()
180 acx->ampdu_max_length = ht_cap->ampdu_factor; in wl18xx_acx_set_peer_cap()
181 acx->ampdu_min_spacing = ht_cap->ampdu_density; in wl18xx_acx_set_peer_cap()
184 acx->hlid = hlid; in wl18xx_acx_set_peer_cap()
185 acx->ht_capabilites = cpu_to_le32(ht_capabilites); in wl18xx_acx_set_peer_cap()
186 acx->supported_rates = cpu_to_le32(rate_set); in wl18xx_acx_set_peer_cap()
188 ret = wl1271_cmd_configure(wl, ACX_PEER_CAP, acx, sizeof(*acx)); in wl18xx_acx_set_peer_cap()
195 kfree(acx); in wl18xx_acx_set_peer_cap()
206 struct wl18xx_acx_interrupt_notify *acx; in wl18xx_acx_interrupt_notify_config() local
209 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_interrupt_notify_config()
210 if (!acx) { in wl18xx_acx_interrupt_notify_config()
215 acx->enable = action; in wl18xx_acx_interrupt_notify_config()
216 ret = wl1271_cmd_configure(wl, ACX_INTERRUPT_NOTIFY, acx, sizeof(*acx)); in wl18xx_acx_interrupt_notify_config()
223 kfree(acx); in wl18xx_acx_interrupt_notify_config()
233 struct wl18xx_acx_rx_ba_filter *acx; in wl18xx_acx_rx_ba_filter() local
236 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_rx_ba_filter()
237 if (!acx) { in wl18xx_acx_rx_ba_filter()
242 acx->enable = (u32)action; in wl18xx_acx_rx_ba_filter()
243 ret = wl1271_cmd_configure(wl, ACX_RX_BA_FILTER, acx, sizeof(*acx)); in wl18xx_acx_rx_ba_filter()
251 kfree(acx); in wl18xx_acx_rx_ba_filter()
258 struct acx_ap_sleep_cfg *acx; in wl18xx_acx_ap_sleep() local
264 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_ap_sleep()
265 if (!acx) { in wl18xx_acx_ap_sleep()
270 acx->idle_duty_cycle = conf->idle_duty_cycle; in wl18xx_acx_ap_sleep()
271 acx->connected_duty_cycle = conf->connected_duty_cycle; in wl18xx_acx_ap_sleep()
272 acx->max_stations_thresh = conf->max_stations_thresh; in wl18xx_acx_ap_sleep()
273 acx->idle_conn_thresh = conf->idle_conn_thresh; in wl18xx_acx_ap_sleep()
275 ret = wl1271_cmd_configure(wl, ACX_AP_SLEEP_CFG, acx, sizeof(*acx)); in wl18xx_acx_ap_sleep()
282 kfree(acx); in wl18xx_acx_ap_sleep()
288 struct acx_dynamic_fw_traces_cfg *acx; in wl18xx_acx_dynamic_fw_traces() local
294 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_dynamic_fw_traces()
295 if (!acx) { in wl18xx_acx_dynamic_fw_traces()
300 acx->dynamic_fw_traces = cpu_to_le32(wl->dynamic_fw_traces); in wl18xx_acx_dynamic_fw_traces()
303 acx, sizeof(*acx)); in wl18xx_acx_dynamic_fw_traces()
309 kfree(acx); in wl18xx_acx_dynamic_fw_traces()
315 struct acx_time_sync_cfg *acx; in wl18xx_acx_time_sync_cfg() local
322 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_time_sync_cfg()
323 if (!acx) { in wl18xx_acx_time_sync_cfg()
328 acx->sync_mode = wl->conf.sg.params[WL18XX_CONF_SG_TIME_SYNC]; in wl18xx_acx_time_sync_cfg()
329 memcpy(acx->zone_mac_addr, wl->zone_master_mac_addr, ETH_ALEN); in wl18xx_acx_time_sync_cfg()
332 acx, sizeof(*acx)); in wl18xx_acx_time_sync_cfg()
338 kfree(acx); in wl18xx_acx_time_sync_cfg()