diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-commands.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-commands.h b/drivers/net/wireless/iwlegacy/iwl-commands.h index 347d40284309..61acafbaab31 100644 --- a/drivers/net/wireless/iwlegacy/iwl-commands.h +++ b/drivers/net/wireless/iwlegacy/iwl-commands.h | |||
@@ -746,7 +746,7 @@ struct il4965_rxon_assoc_cmd { | |||
746 | 746 | ||
747 | #define IL_CONN_MAX_LISTEN_INTERVAL 10 | 747 | #define IL_CONN_MAX_LISTEN_INTERVAL 10 |
748 | #define IL_MAX_UCODE_BEACON_INTERVAL 4 /* 4096 */ | 748 | #define IL_MAX_UCODE_BEACON_INTERVAL 4 /* 4096 */ |
749 | #define IWL39_MAX_UCODE_BEACON_INTERVAL 1 /* 1024 */ | 749 | #define IL39_MAX_UCODE_BEACON_INTERVAL 1 /* 1024 */ |
750 | 750 | ||
751 | /* | 751 | /* |
752 | * REPLY_RXON_TIMING = 0x14 (command, has simple generic response) | 752 | * REPLY_RXON_TIMING = 0x14 (command, has simple generic response) |
@@ -854,10 +854,10 @@ struct il_qosparam_cmd { | |||
854 | /* Special, dedicated locations within device's station table */ | 854 | /* Special, dedicated locations within device's station table */ |
855 | #define IL_AP_ID 0 | 855 | #define IL_AP_ID 0 |
856 | #define IL_STA_ID 2 | 856 | #define IL_STA_ID 2 |
857 | #define IWL3945_BROADCAST_ID 24 | 857 | #define IL3945_BROADCAST_ID 24 |
858 | #define IWL3945_STATION_COUNT 25 | 858 | #define IL3945_STATION_COUNT 25 |
859 | #define IWL4965_BROADCAST_ID 31 | 859 | #define IL4965_BROADCAST_ID 31 |
860 | #define IWL4965_STATION_COUNT 32 | 860 | #define IL4965_STATION_COUNT 32 |
861 | 861 | ||
862 | #define IL_STATION_COUNT 32 /* MAX(3945,4965)*/ | 862 | #define IL_STATION_COUNT 32 /* MAX(3945,4965)*/ |
863 | #define IL_INVALID_STATION 255 | 863 | #define IL_INVALID_STATION 255 |
@@ -1208,15 +1208,15 @@ struct il3945_rx_frame { | |||
1208 | struct il3945_rx_frame_end end; | 1208 | struct il3945_rx_frame_end end; |
1209 | } __packed; | 1209 | } __packed; |
1210 | 1210 | ||
1211 | #define IWL39_RX_FRAME_SIZE (4 + sizeof(struct il3945_rx_frame)) | 1211 | #define IL39_RX_FRAME_SIZE (4 + sizeof(struct il3945_rx_frame)) |
1212 | 1212 | ||
1213 | /* Fixed (non-configurable) rx data from phy */ | 1213 | /* Fixed (non-configurable) rx data from phy */ |
1214 | 1214 | ||
1215 | #define IWL49_RX_RES_PHY_CNT 14 | 1215 | #define IL49_RX_RES_PHY_CNT 14 |
1216 | #define IWL49_RX_PHY_FLAGS_ANTENNAE_OFFSET (4) | 1216 | #define IL49_RX_PHY_FLAGS_ANTENNAE_OFFSET (4) |
1217 | #define IWL49_RX_PHY_FLAGS_ANTENNAE_MASK (0x70) | 1217 | #define IL49_RX_PHY_FLAGS_ANTENNAE_MASK (0x70) |
1218 | #define IWL49_AGC_DB_MASK (0x3f80) /* MASK(7,13) */ | 1218 | #define IL49_AGC_DB_MASK (0x3f80) /* MASK(7,13) */ |
1219 | #define IWL49_AGC_DB_POS (7) | 1219 | #define IL49_AGC_DB_POS (7) |
1220 | struct il4965_rx_non_cfg_phy { | 1220 | struct il4965_rx_non_cfg_phy { |
1221 | __le16 ant_selection; /* ant A bit 4, ant B bit 5, ant C bit 6 */ | 1221 | __le16 ant_selection; /* ant A bit 4, ant B bit 5, ant C bit 6 */ |
1222 | __le16 agc_info; /* agc code 0:6, agc dB 7:13, reserved 14:15 */ | 1222 | __le16 agc_info; /* agc code 0:6, agc dB 7:13, reserved 14:15 */ |
@@ -2407,7 +2407,7 @@ struct il3945_scan_channel { | |||
2407 | } __packed; | 2407 | } __packed; |
2408 | 2408 | ||
2409 | /* set number of direct probes u8 type */ | 2409 | /* set number of direct probes u8 type */ |
2410 | #define IWL39_SCAN_PROBE_MASK(n) ((BIT(n) | (BIT(n) - BIT(1)))) | 2410 | #define IL39_SCAN_PROBE_MASK(n) ((BIT(n) | (BIT(n) - BIT(1)))) |
2411 | 2411 | ||
2412 | struct il_scan_channel { | 2412 | struct il_scan_channel { |
2413 | /* | 2413 | /* |