diff options
author | Gery Kahn <geryk@ti.com> | 2010-11-07 04:04:20 -0500 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@nokia.com> | 2010-11-22 09:45:10 -0500 |
commit | 91433029e42e58d8536299f32fa55cf589adff35 (patch) | |
tree | 1329852e732f57e1c2d6b47f03e2feb71011058c /drivers/net/wireless/wl12xx | |
parent | 00d201001bd4e8a46e3d03c970abcb72256c368b (diff) |
wl1271: cleanup unused code of calibration structures
The cleanup unused code for calibration procedures.
Signed-off-by: Gery Kahn <geryk@ti.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/drivers/net/wireless/wl12xx/cmd.h b/drivers/net/wireless/wl12xx/cmd.h index 893dbf72c2d9..16d1bf814e76 100644 --- a/drivers/net/wireless/wl12xx/cmd.h +++ b/drivers/net/wireless/wl12xx/cmd.h | |||
@@ -327,9 +327,6 @@ enum wl1271_channel_tune_bands { | |||
327 | 327 | ||
328 | #define WL1271_PD_REFERENCE_POINT_BAND_B_G 0 | 328 | #define WL1271_PD_REFERENCE_POINT_BAND_B_G 0 |
329 | 329 | ||
330 | #define TEST_CMD_P2G_CAL 0x02 | ||
331 | #define TEST_CMD_CHANNEL_TUNE 0x0d | ||
332 | #define TEST_CMD_UPDATE_PD_REFERENCE_POINT 0x1d | ||
333 | #define TEST_CMD_INI_FILE_RADIO_PARAM 0x19 | 330 | #define TEST_CMD_INI_FILE_RADIO_PARAM 0x19 |
334 | #define TEST_CMD_INI_FILE_GENERAL_PARAM 0x1E | 331 | #define TEST_CMD_INI_FILE_GENERAL_PARAM 0x1E |
335 | #define TEST_CMD_INI_FILE_RF_EXTENDED_PARAM 0x26 | 332 | #define TEST_CMD_INI_FILE_RF_EXTENDED_PARAM 0x26 |
@@ -375,51 +372,6 @@ struct wl1271_ext_radio_parms_cmd { | |||
375 | u8 padding[3]; | 372 | u8 padding[3]; |
376 | } __packed; | 373 | } __packed; |
377 | 374 | ||
378 | struct wl1271_cmd_cal_channel_tune { | ||
379 | struct wl1271_cmd_header header; | ||
380 | |||
381 | struct wl1271_cmd_test_header test; | ||
382 | |||
383 | u8 band; | ||
384 | u8 channel; | ||
385 | |||
386 | __le16 radio_status; | ||
387 | } __packed; | ||
388 | |||
389 | struct wl1271_cmd_cal_update_ref_point { | ||
390 | struct wl1271_cmd_header header; | ||
391 | |||
392 | struct wl1271_cmd_test_header test; | ||
393 | |||
394 | __le32 ref_power; | ||
395 | __le32 ref_detector; | ||
396 | u8 sub_band; | ||
397 | u8 padding[3]; | ||
398 | } __packed; | ||
399 | |||
400 | #define MAX_TLV_LENGTH 400 | ||
401 | #define MAX_NVS_VERSION_LENGTH 12 | ||
402 | |||
403 | #define WL1271_CAL_P2G_BAND_B_G BIT(0) | ||
404 | |||
405 | struct wl1271_cmd_cal_p2g { | ||
406 | struct wl1271_cmd_header header; | ||
407 | |||
408 | struct wl1271_cmd_test_header test; | ||
409 | |||
410 | __le16 len; | ||
411 | u8 buf[MAX_TLV_LENGTH]; | ||
412 | u8 type; | ||
413 | u8 padding; | ||
414 | |||
415 | __le16 radio_status; | ||
416 | u8 nvs_version[MAX_NVS_VERSION_LENGTH]; | ||
417 | |||
418 | u8 sub_band_mask; | ||
419 | u8 padding2; | ||
420 | } __packed; | ||
421 | |||
422 | |||
423 | /* | 375 | /* |
424 | * There are three types of disconnections: | 376 | * There are three types of disconnections: |
425 | * | 377 | * |