Lines Matching refs:acx

52 	struct wl18xx_acx_checksum_state *acx;  in wl18xx_acx_set_checksum_state()  local
57 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_checksum_state()
58 if (!acx) { in wl18xx_acx_set_checksum_state()
63 acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; in wl18xx_acx_set_checksum_state()
65 ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx)); in wl18xx_acx_set_checksum_state()
72 kfree(acx); in wl18xx_acx_set_checksum_state()
78 struct wl18xx_acx_clear_statistics *acx; in wl18xx_acx_clear_statistics() local
83 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_clear_statistics()
84 if (!acx) { in wl18xx_acx_clear_statistics()
89 ret = wl1271_cmd_configure(wl, ACX_CLEAR_STATISTICS, acx, sizeof(*acx)); in wl18xx_acx_clear_statistics()
96 kfree(acx); in wl18xx_acx_clear_statistics()
102 struct wlcore_peer_ht_operation_mode *acx; in wl18xx_acx_peer_ht_operation_mode() local
108 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_peer_ht_operation_mode()
109 if (!acx) { in wl18xx_acx_peer_ht_operation_mode()
114 acx->hlid = hlid; in wl18xx_acx_peer_ht_operation_mode()
115 acx->bandwidth = wide ? WLCORE_BANDWIDTH_40MHZ : WLCORE_BANDWIDTH_20MHZ; in wl18xx_acx_peer_ht_operation_mode()
117 ret = wl1271_cmd_configure(wl, ACX_PEER_HT_OPERATION_MODE_CFG, acx, in wl18xx_acx_peer_ht_operation_mode()
118 sizeof(*acx)); in wl18xx_acx_peer_ht_operation_mode()
126 kfree(acx); in wl18xx_acx_peer_ht_operation_mode()
141 struct wlcore_acx_peer_cap *acx; in wl18xx_acx_set_peer_cap() local
149 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_set_peer_cap()
150 if (!acx) { in wl18xx_acx_set_peer_cap()
166 acx->ampdu_max_length = ht_cap->ampdu_factor; in wl18xx_acx_set_peer_cap()
167 acx->ampdu_min_spacing = ht_cap->ampdu_density; in wl18xx_acx_set_peer_cap()
170 acx->hlid = hlid; in wl18xx_acx_set_peer_cap()
171 acx->ht_capabilites = cpu_to_le32(ht_capabilites); in wl18xx_acx_set_peer_cap()
172 acx->supported_rates = cpu_to_le32(rate_set); in wl18xx_acx_set_peer_cap()
174 ret = wl1271_cmd_configure(wl, ACX_PEER_CAP, acx, sizeof(*acx)); in wl18xx_acx_set_peer_cap()
181 kfree(acx); in wl18xx_acx_set_peer_cap()
192 struct wl18xx_acx_interrupt_notify *acx; in wl18xx_acx_interrupt_notify_config() local
195 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_interrupt_notify_config()
196 if (!acx) { in wl18xx_acx_interrupt_notify_config()
201 acx->enable = action; in wl18xx_acx_interrupt_notify_config()
202 ret = wl1271_cmd_configure(wl, ACX_INTERRUPT_NOTIFY, acx, sizeof(*acx)); in wl18xx_acx_interrupt_notify_config()
209 kfree(acx); in wl18xx_acx_interrupt_notify_config()
219 struct wl18xx_acx_rx_ba_filter *acx; in wl18xx_acx_rx_ba_filter() local
222 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_rx_ba_filter()
223 if (!acx) { in wl18xx_acx_rx_ba_filter()
228 acx->enable = (u32)action; in wl18xx_acx_rx_ba_filter()
229 ret = wl1271_cmd_configure(wl, ACX_RX_BA_FILTER, acx, sizeof(*acx)); in wl18xx_acx_rx_ba_filter()
237 kfree(acx); in wl18xx_acx_rx_ba_filter()
244 struct acx_ap_sleep_cfg *acx; in wl18xx_acx_ap_sleep() local
250 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_ap_sleep()
251 if (!acx) { in wl18xx_acx_ap_sleep()
256 acx->idle_duty_cycle = conf->idle_duty_cycle; in wl18xx_acx_ap_sleep()
257 acx->connected_duty_cycle = conf->connected_duty_cycle; in wl18xx_acx_ap_sleep()
258 acx->max_stations_thresh = conf->max_stations_thresh; in wl18xx_acx_ap_sleep()
259 acx->idle_conn_thresh = conf->idle_conn_thresh; in wl18xx_acx_ap_sleep()
261 ret = wl1271_cmd_configure(wl, ACX_AP_SLEEP_CFG, acx, sizeof(*acx)); in wl18xx_acx_ap_sleep()
268 kfree(acx); in wl18xx_acx_ap_sleep()
274 struct acx_dynamic_fw_traces_cfg *acx; in wl18xx_acx_dynamic_fw_traces() local
280 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_dynamic_fw_traces()
281 if (!acx) { in wl18xx_acx_dynamic_fw_traces()
286 acx->dynamic_fw_traces = cpu_to_le32(wl->dynamic_fw_traces); in wl18xx_acx_dynamic_fw_traces()
289 acx, sizeof(*acx)); in wl18xx_acx_dynamic_fw_traces()
295 kfree(acx); in wl18xx_acx_dynamic_fw_traces()
301 struct acx_time_sync_cfg *acx; in wl18xx_acx_time_sync_cfg() local
308 acx = kzalloc(sizeof(*acx), GFP_KERNEL); in wl18xx_acx_time_sync_cfg()
309 if (!acx) { in wl18xx_acx_time_sync_cfg()
314 acx->sync_mode = wl->conf.sg.params[WL18XX_CONF_SG_TIME_SYNC]; in wl18xx_acx_time_sync_cfg()
315 memcpy(acx->zone_mac_addr, wl->zone_master_mac_addr, ETH_ALEN); in wl18xx_acx_time_sync_cfg()
318 acx, sizeof(*acx)); in wl18xx_acx_time_sync_cfg()
324 kfree(acx); in wl18xx_acx_time_sync_cfg()