diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_cmd.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h index f5745d829c9b..af577ee8eb02 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.h +++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h | |||
@@ -41,9 +41,6 @@ int wl1271_cmd_data_path(struct wl1271 *wl, bool enable); | |||
41 | int wl1271_cmd_ps_mode(struct wl1271 *wl, u8 ps_mode, bool send); | 41 | int wl1271_cmd_ps_mode(struct wl1271 *wl, u8 ps_mode, bool send); |
42 | int wl1271_cmd_read_memory(struct wl1271 *wl, u32 addr, void *answer, | 42 | int wl1271_cmd_read_memory(struct wl1271 *wl, u32 addr, void *answer, |
43 | size_t len); | 43 | size_t len); |
44 | int wl1271_cmd_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len, | ||
45 | struct cfg80211_scan_request *req, u8 active_scan, | ||
46 | u8 high_prio, u8 band, u8 probe_requests); | ||
47 | int wl1271_cmd_template_set(struct wl1271 *wl, u16 template_id, | 44 | int wl1271_cmd_template_set(struct wl1271 *wl, u16 template_id, |
48 | void *buf, size_t buf_len, int index, u32 rates); | 45 | void *buf, size_t buf_len, int index, u32 rates); |
49 | int wl1271_cmd_build_null_data(struct wl1271 *wl); | 46 | int wl1271_cmd_build_null_data(struct wl1271 *wl); |
@@ -350,71 +347,6 @@ struct wl1271_cmd_set_keys { | |||
350 | __le32 ac_seq_num32[NUM_ACCESS_CATEGORIES_COPY]; | 347 | __le32 ac_seq_num32[NUM_ACCESS_CATEGORIES_COPY]; |
351 | } __packed; | 348 | } __packed; |
352 | 349 | ||
353 | |||
354 | #define WL1271_SCAN_MAX_CHANNELS 24 | ||
355 | #define WL1271_SCAN_DEFAULT_TAG 1 | ||
356 | #define WL1271_SCAN_CURRENT_TX_PWR 0 | ||
357 | #define WL1271_SCAN_OPT_ACTIVE 0 | ||
358 | #define WL1271_SCAN_OPT_PASSIVE 1 | ||
359 | #define WL1271_SCAN_OPT_PRIORITY_HIGH 4 | ||
360 | #define WL1271_SCAN_CHAN_MIN_DURATION 30000 /* TU */ | ||
361 | #define WL1271_SCAN_CHAN_MAX_DURATION 60000 /* TU */ | ||
362 | #define WL1271_SCAN_BAND_2_4_GHZ 0 | ||
363 | #define WL1271_SCAN_BAND_5_GHZ 1 | ||
364 | #define WL1271_SCAN_BAND_DUAL 2 | ||
365 | |||
366 | struct basic_scan_params { | ||
367 | __le32 rx_config_options; | ||
368 | __le32 rx_filter_options; | ||
369 | /* Scan option flags (WL1271_SCAN_OPT_*) */ | ||
370 | __le16 scan_options; | ||
371 | /* Number of scan channels in the list (maximum 30) */ | ||
372 | u8 num_channels; | ||
373 | /* This field indicates the number of probe requests to send | ||
374 | per channel for an active scan */ | ||
375 | u8 num_probe_requests; | ||
376 | /* Rate bit field for sending the probes */ | ||
377 | __le32 tx_rate; | ||
378 | u8 tid_trigger; | ||
379 | u8 ssid_len; | ||
380 | /* in order to align */ | ||
381 | u8 padding1[2]; | ||
382 | u8 ssid[IW_ESSID_MAX_SIZE]; | ||
383 | /* Band to scan */ | ||
384 | u8 band; | ||
385 | u8 use_ssid_list; | ||
386 | u8 scan_tag; | ||
387 | u8 padding2; | ||
388 | } __packed; | ||
389 | |||
390 | struct basic_scan_channel_params { | ||
391 | /* Duration in TU to wait for frames on a channel for active scan */ | ||
392 | __le32 min_duration; | ||
393 | __le32 max_duration; | ||
394 | __le32 bssid_lsb; | ||
395 | __le16 bssid_msb; | ||
396 | u8 early_termination; | ||
397 | u8 tx_power_att; | ||
398 | u8 channel; | ||
399 | /* FW internal use only! */ | ||
400 | u8 dfs_candidate; | ||
401 | u8 activity_detected; | ||
402 | u8 pad; | ||
403 | } __packed; | ||
404 | |||
405 | struct wl1271_cmd_scan { | ||
406 | struct wl1271_cmd_header header; | ||
407 | |||
408 | struct basic_scan_params params; | ||
409 | struct basic_scan_channel_params channels[WL1271_SCAN_MAX_CHANNELS]; | ||
410 | } __packed; | ||
411 | |||
412 | struct wl1271_cmd_trigger_scan_to { | ||
413 | struct wl1271_cmd_header header; | ||
414 | |||
415 | __le32 timeout; | ||
416 | } __packed; | ||
417 | |||
418 | struct wl1271_cmd_test_header { | 350 | struct wl1271_cmd_test_header { |
419 | u8 id; | 351 | u8 id; |
420 | u8 padding[3]; | 352 | u8 padding[3]; |