#include <linux/kernel.h>
#include <net/mac80211.h>
#include "zd_chip.h"
Go to the source code of this file.
#define RX_LENGTH_INFO_TAG 0x697e |
#define ZD_CCK_PLCP_SIGNAL_11M 0x6e |
#define ZD_CCK_PLCP_SIGNAL_1M 0x0a |
#define ZD_CCK_PLCP_SIGNAL_2M 0x14 |
#define ZD_CCK_PLCP_SIGNAL_5M5 0x37 |
#define ZD_CCK_PREA_LONG 0x00 |
#define ZD_CCK_PREA_SHORT 0x20 |
#define ZD_CCK_RATE_11M (ZD_CCK|0x03) |
#define ZD_CCK_RATE_1M (ZD_CCK|0x00) |
#define ZD_CCK_RATE_2M (ZD_CCK|0x01) |
#define ZD_CCK_RATE_5_5M (ZD_CCK|0x02) |
#define ZD_CS_DATA_FRAME 0x00 |
#define ZD_CS_ENCRYPT 0x40 |
#define ZD_CS_FRAME_TYPE_MASK 0x0c |
#define ZD_CS_MANAGEMENT_FRAME 0x08 |
#define ZD_CS_NEED_RANDOM_BACKOFF 0x01 |
#define ZD_CS_NO_ACK 0x02 |
#define ZD_CS_NO_SEQUENCE_CTL_FRAME 0x0c |
#define ZD_CS_PS_POLL_FRAME 0x04 |
#define ZD_CS_RESERVED_SIZE 25 |
#define ZD_CS_SELF_CTS 0x80 |
#define ZD_CS_WAKE_DESTINATION 0x10 |
#define zd_dump_rx_status |
( |
|
status | ) |
|
#define ZD_MAC_MAX_ACK_WAITERS 50 |
#define ZD_MAC_STATS_BUFFER_SIZE 16 |
#define ZD_MODULATION_TYPE_MASK 0x10 |
#define ZD_OFDM_MODE_11A 0x20 |
#define ZD_OFDM_MODE_11G 0x00 |
#define ZD_OFDM_PLCP_RATE_12M 0xa |
#define ZD_OFDM_PLCP_RATE_18M 0xe |
#define ZD_OFDM_PLCP_RATE_24M 0x9 |
#define ZD_OFDM_PLCP_RATE_36M 0xd |
#define ZD_OFDM_PLCP_RATE_48M 0x8 |
#define ZD_OFDM_PLCP_RATE_54M 0xc |
#define ZD_OFDM_PLCP_RATE_6M 0xb |
#define ZD_OFDM_PLCP_RATE_9M 0xf |
#define ZD_PLCP_HEADER_SIZE 5 |
#define ZD_PLCP_SERVICE_LENGTH_EXTENSION 0x80 |
#define ZD_PURE_RATE_MASK 0x0f |
#define ZD_REGDOMAIN_ETSI 0x30 |
#define ZD_REGDOMAIN_FCC 0x10 |
#define ZD_REGDOMAIN_FRANCE 0x32 |
#define ZD_REGDOMAIN_IC 0x20 |
#define ZD_REGDOMAIN_JAPAN 0x41 |
#define ZD_REGDOMAIN_JAPAN_2 0x40 |
#define ZD_REGDOMAIN_JAPAN_3 0x49 |
#define ZD_REGDOMAIN_SPAIN 0x31 |
#define ZD_RX_CRC16_ERROR 0x40 |
#define ZD_RX_CRC32_ERROR 0x10 |
#define ZD_RX_DECRYPTION_ERROR 0x08 |
#define ZD_RX_FIFO_OVERRUN_ERROR 0x04 |
#define ZD_RX_FRAME_MODULATION_MASK 0x01 |
#define ZD_RX_NO_ADDR1_MATCH_ERROR 0x20 |
#define ZD_RX_TIMEOUT_ERROR 0x02 |
- Enumerator:
MIN_CHANNEL24 |
|
MAX_CHANNEL24 |
|
Definition at line 230 of file zd_mac.h.
zd_mac_tx_failed - callback for failed frames : the mac80211 wireless device
This function is called if a frame couldn't be successfully transferred. The first frame from the tx queue, will be selected and reported as error to the upper layers.
Definition at line 500 of file zd_mac.c.
zd_mac_tx_to_dev - callback for USB layer : a &sk_buff pointer : error value, 0 if transmission successful
Informs the MAC layer that the frame has successfully transferred to the device. If an ACK is required and the transfer to the device has been successful, the packets are put on the with the control set removed.
Definition at line 583 of file zd_mac.c.