/* * CMD_READ_MEMORY * * The host issues this command to read the WiLink device memory/registers. * * Note: The Base Band address has special handling (16 bits registers and * addresses). For more information, see the hardware specification.
*/ /* * CMD_WRITE_MEMORY * * The host issues this command to write the WiLink device memory/registers. * * The Base Band address has special handling (16 bits registers and * addresses). For more information, see the hardware specification.
*/ #define MAX_READ_SIZE 256
/* The address of the memory to read from or write to.*/
u32 addr;
/* The amount of data in bytes to read from or write to the WiLink
* device.*/
u32 size;
/* The actual value read from or written to the Wilink. The source of this field is the Host in WRITE command or the Wilink in READ
command. */
u8 value[MAX_READ_SIZE];
} __packed;
/* * Scan options: * bit 0: When this bit is set, passive scan. * bit 1: Band, when this bit is set we scan * in the 5Ghz band. * bit 2: voice mode, 0 for normal scan. * bit 3: scan priority, 1 for high priority.
*/
__le16 scan_options;
/* Number of channels to scan */
u8 num_channels;
/* Number opf probe requests to send, per channel */
u8 num_probe_requests;
/* Rate and modulation for probe requests */
__le16 tx_rate;
u8 tid_trigger;
u8 ssid_len;
u8 ssid[32];
} __packed;
struct wl1251_scan_ch_parameters {
__le32 min_duration; /* in TU */
__le32 max_duration; /* in TU */
u32 bssid_lsb;
u16 bssid_msb;
/* * bits 0-3: Early termination count. * bits 4-5: Early termination condition.
*/
u8 early_termination;
/* * The target uses this field to determine the rate at * which to transmit control frame responses (such as * ACK or CTS frames).
*/
u16 basic_rate_set;
u8 dtim_interval;
u8 tx_ctrl_frame_rate; /* OBSOLETE */
u8 tx_ctrl_frame_mod; /* OBSOLETE */ /* * bits 0-2: This bitwise field specifies the type * of BSS to start or join (BSS_TYPE_*). * bit 4: Band - The radio band in which to join * or start. * 0 - 2.4GHz band * 1 - 5GHz band * bits 3, 5-7: Reserved
*/
u8 bss_type;
u8 channel;
u8 ssid_len;
u8 ssid[IEEE80211_MAX_SSID_LEN];
u8 ctrl; /* JOIN_CMD_CTRL_* */
u8 tx_mgt_frame_rate; /* OBSOLETE */
u8 tx_mgt_frame_mod; /* OBSOLETE */
u8 reserved;
} __packed;
u8 ps_mode; /* STATION_* */
u8 send_null_data; /* Do we have to send NULL data packet ? */
u8 retries; /* Number of retires for the initial NULL data packet */
/* * TUs during which the target stays awake after switching * to power save mode.
*/
u8 hang_over_period;
u16 null_data_rate;
u8 pad[2];
} __packed;
/* * * key_type_e key size key format * ---------- --------- ---------- * 0x00 5, 13, 29 Key data * 0x01 5, 13, 29 Key data * 0x04 16 16 bytes of key data * 0x05 16 16 bytes of key data * 0x0a 32 16 bytes of TKIP key data * 8 bytes of RX MIC key data * 8 bytes of TX MIC key data * 0x0b 32 16 bytes of TKIP key data * 8 bytes of RX MIC key data * 8 bytes of TX MIC key data *
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.