diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-05-01 14:29:56 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-05-01 14:29:56 +0200 |
commit | 958d25763251f4addf36b1bca7973d482df8b6fc (patch) | |
tree | 7349699f85e2c32070109a50ae08bdc5cce46ccb /at76_usb.h | |
parent | 9c9bbaf1b2f4057703b9c5ce38e68bb5639a8bbf (diff) |
move hw_rates, channel_frequency, snapsig and rfc1042 sig out of the header file
Mark all of them as const and remove the size from hw_rates.
Diffstat (limited to 'at76_usb.h')
-rw-r--r-- | at76_usb.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -364,11 +364,6 @@ struct mib_mdomain { u8 channel_list[14]; /* 0 for invalid channels */ } __attribute__ ((packed)); -static u8 snapsig[] = { 0xaa, 0xaa, 0x03 }; - -/* RFC 1042 encapsulates Ethernet frames in 802.2 SNAP (0xaa, 0xaa, 0x03) with - * a SNAP OID of 0 (0x00, 0x00, 0x00) */ -static u8 rfc1042sig[] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 }; /* states in infrastructure mode */ enum infra_state { @@ -643,16 +638,6 @@ struct at76_rx_radiotap { #define MAX_RTS_THRESHOLD (MAX_FRAG_THRESHOLD + 1) -/* The frequency of each channel in MHz */ -static const long channel_frequency[] = { - 2412, 2417, 2422, 2427, 2432, 2437, 2442, - 2447, 2452, 2457, 2462, 2467, 2472, 2484 -}; -#define NUM_CHANNELS ARRAY_SIZE(channel_frequency) - -/* the supported rates of this hardware, bit7 marks a basic rate */ -static const u8 hw_rates[4] = { 0x82, 0x84, 0x0b, 0x16 }; - /* the max padding size for tx in bytes (see calc_padding) */ #define MAX_PADDING_SIZE 53 |