#include <linux/types.h>
#include <linux/etherdevice.h>
#include <linux/mutex.h>
#include <linux/semaphore.h>
#include <linux/version.h>
#include <linux/vmalloc.h>
#include "csr_wifi_hip_unifi.h"
#include "csr_wifi_hip_conversions.h"
#include "unifi_priv.h"
#include <net/pkt_sched.h>
Go to the source code of this file.
|
unifi_priv_t * | uf_alloc_netdevice (CsrSdioFunction *sdio_dev, int bus_id) |
|
u8 | uf_alloc_netdevice_for_other_interfaces (unifi_priv_t *priv, u16 interfaceTag) |
|
int | uf_free_netdevice (unifi_priv_t *priv) |
|
CSR_PRIORITY | get_packet_priority (unifi_priv_t *priv, struct sk_buff *skb, const struct ethhdr *ehdr, netInterface_priv_t *interfacePriv) |
|
int | skb_add_llc_snap (struct net_device *dev, struct sk_buff *skb, int proto) |
|
int | skb_80211_to_ether (unifi_priv_t *priv, struct sk_buff *skb, const unsigned char *daddr, const unsigned char *saddr, const CSR_SIGNAL *signal, bulk_data_param_t *bulkdata) |
|
int | prepare_and_add_macheader (unifi_priv_t *priv, struct sk_buff *skb, struct sk_buff *newSkb, CSR_PRIORITY priority, bulk_data_param_t *bulkdata, u16 interfaceTag, const u8 *daddr, const u8 *saddr, u8 protection) |
|
void | unifi_pause_xmit (void *ospriv, unifi_TrafficQueue queue) |
|
void | unifi_restart_xmit (void *ospriv, unifi_TrafficQueue queue) |
|
void | uf_process_rx_pending_queue (unifi_priv_t *priv, int queue, CsrWifiMacAddress source_address, int indicate, u16 interfaceTag) |
|
void | uf_resume_data_plane (unifi_priv_t *priv, int queue, CsrWifiMacAddress peer_address, u16 interfaceTag) |
|
void | uf_free_pending_rx_packets (unifi_priv_t *priv, int queue, CsrWifiMacAddress peer_address, u16 interfaceTag) |
|
void | uf_net_get_name (struct net_device *dev, char *name, int len) |
|
void | scroll_ba_window (unifi_priv_t *priv, netInterface_priv_t *interfacePriv, ba_session_rx_struct *ba_session, u16 sn) |
|
#define ADVANCE_EXPECTED_SN |
( |
|
__ba_session | ) |
|
Value:{ \
__ba_session->expected_sn++; \
__ba_session->expected_sn &= 0xFFF; \
}
Definition at line 3072 of file netdev.c.
#define FREE_BUFFER_SLOT |
( |
|
__ba_session, |
|
|
|
__index |
|
) |
| |
Value:{ \
__ba_session->occupied_slots--; \
__ba_session->buffer[__index].active =
FALSE; \
ADVANCE_EXPECTED_SN(__ba_session); \
}
Definition at line 3078 of file netdev.c.
#define SN_TO_INDEX |
( |
|
__ba_session, |
|
|
|
__sn |
|
) |
| (((__sn - __ba_session->start_sn) & 0xFFF) % __ba_session->wind_size) |
#define UF_VLAN_LLC_HEADER_SIZE 18 |