plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | zd_rf_rf2959 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/zd1211rw/zd_rf_rf2959.c | 8,824 | utf_8 | 90aeeee67f9810ae3a093000ff7a8263 | /* ZD1211 USB-WLAN driver for Linux
*
*/
#include <linux/kernel.h>
#include "zd_rf.h"
#include "zd_usb.h"
#include "zd_chip.h"
static const u32 rf2959_table[][2] = {
RF_CHANNEL( 1) = { 0x181979, 0x1e6666 },
RF_CHANNEL( 2) = { 0x181989, 0x1e6666 },
RF_CHANNEL( 3) = { 0x181999, 0x1e6666 },
RF_CHANNEL( 4) = { 0x1819... |
google | android | zd_mac | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/zd1211rw/zd_mac.c | 41,304 | utf_8 | dfeca12271eb57ca9a2b9e23e94be407 | /* ZD1211 USB-WLAN driver for Linux
*
*/
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/jiffies.h>
#include <net/ieee80211_radiotap.h>
#include "zd_def.h"
#include "zd_chip.h"
#include "zd_mac.h"
#include "zd_rf.h"
struct zd_reg_alpha2_map {
... |
google | android | spectrum_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/spectrum_cs.c | 8,540 | utf_8 | b308412162b45565ebdc60e911799c3a | /*
* Driver for 802.11b cards using RAM-loadable Symbol firmware, such as
* Symbol Wireless Networker LA4137, CompactFlash cards by Socket
* Communications and Intel PRO/Wireless 2011B.
*
* The driver implements Symbol firmware download. The rest is handled
* in hermes.c and main.c.
*
* Utilities for downloadi... |
google | android | orinoco_plx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_plx.c | 11,768 | utf_8 | 7c4989ddd8ad4b9bec0007fe63646e54 | /* orinoco_plx.c
*
* Driver for Prism II devices which would usually be driven by orinoco_cs,
* but are connected to the PCI bus by a PLX9052.
*
* Current maintainers are:
* Pavel Roskin <proski AT gnu.org>
* and David Gibson <hermes AT gibson.dropbear.id.au>
*
*
* Here's the general details on how the PLX905... |
google | android | orinoco_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_cs.c | 14,060 | utf_8 | a0006ef9aab20e2ec7d9348b982c68f2 | /* orinoco_cs.c (formerly known as dldwd_cs.c)
*
* A driver for "Hermes" chipset based PCMCIA wireless adaptors, such
* as the Lucent WavelanIEEE/Orinoco cards and their OEM (Cabletron/
* EnteraSys RoamAbout 802.11, ELSA Airlancer, Melco Buffalo and others).
* It should also be usable on various Prism II based car... |
google | android | hermes | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/hermes.c | 20,014 | utf_8 | ecfb420e8e87548ef8fe5f98b5d3dbc1 | /* hermes.c
*
* Driver core for the "Hermes" wireless MAC controller, as used in
* the Lucent Orinoco and Cabletron RoamAbout cards. It should also
* work on the hfa3841 and hfa3842 MAC controller chips used in the
* Prism II chipsets.
*
* This is not a complete driver, just low-level access routines for
* the ... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/main.c | 64,579 | utf_8 | 6497e9e50261b1e60b325a3a29b50d4e | /* main.c - (formerly known as dldwd_cs.c, orinoco_cs.c and orinoco.c)
*
* A driver for Hermes or Prism 2 chipset based PCMCIA wireless
* adaptors, with Lucent/Agere, Intersil or Symbol firmware.
*
* Current maintainers (as of 29 September 2003) are:
* Pavel Roskin <proski AT gnu.org>
* and David Gibson <hermes ... |
google | android | orinoco_tmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_tmd.c | 6,466 | utf_8 | 24dc8879ab66cf2bdefccc0a6346990a | /* orinoco_tmd.c
*
* Driver for Prism II devices which would usually be driven by orinoco_cs,
* but are connected to the PCI bus by a TMD7160.
*
*
* The actual driving is done by main.c, this is just resource
* allocation stuff.
*
* This driver is modeled after the orinoco_plx driver. The main
* difference is... |
google | android | orinoco_usb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_usb.c | 45,534 | utf_8 | a26ca64a55533e2b2d569fae81790671 | /*
* USB Orinoco driver
*
*
*/
#define DRIVER_NAME "orinoco_usb"
#define PFX DRIVER_NAME ": "
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/spinl... |
google | android | fw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/fw.c | 9,866 | utf_8 | 0325fc31c743888e021cd4c3c52b345b | /* Firmware file reading and download helpers
*
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/firmware.h>
#include <linux/device.h>
#include <linux/module.h>
#include "hermes.h"
#include "hermes_dld.h"
#include "orinoco.h"
#include "fw.h"
/* End markers (for Symbol firmware only) */
#define TEX... |
google | android | scan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/scan.c | 6,020 | utf_8 | 7f378f38367c39c5d5712bfa1421d8ab | /* Helpers for managing scan queues
*
*/
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include "hermes.h"
#include "orinoco.h"
#include "main.h"
#include "scan.h"
#define ZERO_DBM_OFFSET 0x95
#define MAX_SIGNAL_LEVEL 0x8A
#define MIN... |
google | android | orinoco_nortel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_nortel.c | 8,581 | utf_8 | 065f7fe5ef4aff013da9da74e69f4951 | /* orinoco_nortel.c
*
* Driver for Prism II devices which would usually be driven by orinoco_cs,
* but are connected to the PCI bus by a PCI-to-PCMCIA adapter used in
* Nortel emobility, Symbol LA-4113 and Symbol LA-4123.
*
* version of this file under the MPL, indicate your decision by
* deleting the provisions... |
google | android | hermes_dld | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/hermes_dld.c | 13,081 | utf_8 | 7dcf865ffd5655adb4db2257b5a92ad0 | /*
* Hermes download helper.
*
* This helper:
* - is capable of writing to the volatile area of the hermes device
* - is currently not capable of writing to non-volatile areas
* - provide helpers to identify and update plugin data
* - is not capable of interpreting a fw image directly. That is up to
* th... |
google | android | airport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/airport.c | 6,258 | utf_8 | cdcd3100b50f6dc765a31b9b1e61983d | /* airport.c
*
* A driver for "Hermes" chipset based Apple Airport wireless
* card.
*
*
* Note specific to airport stub:
*
* 0.05 : first version of the new split driver
* 0.06 : fix possible hang on powerup, add sleep support
*/
#define DRIVER_NAME "airport"
#define PFX DRIVER_NAME ": "
#include <linux/mod... |
google | android | wext | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/wext.c | 34,740 | utf_8 | 4eb6cc915180e66a275cdc211b368c74 | /* Wireless extensions support.
*
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/if_arp.h>
#include <linux/wireless.h>
#include <linux/ieee80211.h>
#include <linux/etherdevice.h>
#include <net/iw_handler.h>
#include <net/cfg80211.h>
#include <net/cfg80211-wext.h>
#include "hermes.h"
#include "he... |
google | android | hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/hw.c | 34,742 | utf_8 | 084cca7434d83ca3f1bfbcf3b76fc89d | /* Encapsulate basic setting changes and retrieval on Hermes hardware
*
*/
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/if_arp.h>
#include <linux/ieee80211.h>
#include <linux/wireless.h>
#include <net/cfg80211.h>
#include "hermes.h"
#include "hermes_rid.h"
#include "orinoco.h"
#include "hw.h"
#... |
google | android | orinoco_pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/orinoco_pci.c | 7,567 | utf_8 | c9a52119928e974694a9148f32bb95a5 | /* orinoco_pci.c
*
* Driver for Prism 2.5/3 devices that have a direct PCI interface
* (i.e. these are not PCMCIA cards in a PCMCIA-to-PCI bridge).
* The card contains only one PCI region, which contains all the usual
* hermes registers, as well as the COR register.
*
* Current maintainers are:
* Pavel Roskin <... |
google | android | cfg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/cfg.c | 6,691 | utf_8 | 84e619728a7f1266d80b50373b069d35 | /* cfg80211 support
*
*/
#include <linux/ieee80211.h>
#include <net/cfg80211.h>
#include "hw.h"
#include "main.h"
#include "orinoco.h"
#include "cfg.h"
/* Supported bitrates. Must agree with hw.c */
static struct ieee80211_rate orinoco_rates[] = {
{ .bitrate = 10 },
{ .bitrate = 20 },
{ .bitrate = 55 },
{ .bitrat... |
google | android | mic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/orinoco/mic.c | 2,124 | utf_8 | 6c025d6bfe4621bd9ee0b56ae4627f7a | /* Orinoco MIC helpers
*
*/
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/if_ether.h>
#include <linux/scatterlist.h>
#include <linux/crypto.h>
#include "orinoco.h"
#include "mic.h"
/********************************************************************/
/* Michael MIC crypto setup ... |
google | android | rsi_91x_sdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_sdio.c | 21,147 | utf_8 | 92ad0196c706439a589fb9f9613bd339 | /**
*
*/
#include <linux/module.h>
#include "rsi_sdio.h"
#include "rsi_common.h"
/**
* rsi_sdio_set_cmd52_arg() - This function prepares cmd 52 read/write arg.
*
* Return: argument
*/
static u32 rsi_sdio_set_cmd52_arg(bool rw,
u8 func,
u8 raw,
u32 address,
u8 writedata)
{
return ((rw & 1)... |
google | android | rsi_91x_pkt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_pkt.c | 6,203 | utf_8 | 132951290e3cd353f6043d1fcdb4d2bb | /**
*/
#include "rsi_mgmt.h"
/**
* rsi_send_data_pkt() - This function sends the recieved data packet from
* driver to device.
*
* Return: status: 0 on success, -1 on failure.
*/
int rsi_send_data_pkt(struct rsi_common *common, struct sk_buff *skb)
{
struct rsi_hw *adapter = common->priv;
struct ieee80211_hd... |
google | android | rsi_91x_usb_ops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_usb_ops.c | 5,254 | utf_8 | d16489b63e944e4cd192d6a53c5f7bdc | /**
*
*/
#include <linux/firmware.h>
#include "rsi_usb.h"
/**
* rsi_copy_to_card() - This function includes the actual funtionality of
*
* Return: 0 on success and -1 on failure.
*/
static int rsi_copy_to_card(struct rsi_common *common,
const u8 *fw,
u32 len,
u32 num_blocks)
{
struct rsi_hw ... |
google | android | rsi_91x_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_main.c | 7,448 | utf_8 | f6f7109346bcdfec95a1844bc3a73478 | /**
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/firmware.h>
#include "rsi_mgmt.h"
#include "rsi_common.h"
u32 rsi_zone_enabled = /* INFO_ZONE |
INIT_ZONE |
MGMT_TX_ZONE |
MGMT_RX_ZONE |
DATA_TX_ZONE |
DATA_RX_ZONE |
FSM_ZONE |
ISR_ZONE | */
ERR_ZONE ... |
google | android | rsi_91x_mac80211 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_mac80211.c | 32,186 | utf_8 | eced2d7523387c9d479947604b28c473 | /**
*/
#include <linux/etherdevice.h>
#include "rsi_debugfs.h"
#include "rsi_mgmt.h"
#include "rsi_common.h"
static const struct ieee80211_channel rsi_2ghz_channels[] = {
{ .band = IEEE80211_BAND_2GHZ, .center_freq = 2412,
.hw_value = 1 }, /* Channel 1 */
{ .band = IEEE80211_BAND_2GHZ, .center_freq = 2417,
.hw... |
google | android | rsi_91x_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_core.c | 10,164 | utf_8 | 0a2c8a05067f3c02fabc135f17d953c0 | /**
*/
#include "rsi_mgmt.h"
#include "rsi_common.h"
/**
* rsi_determine_min_weight_queue() - This function determines the queue with
* the min weight.
*
* Return: q_num: Corresponding queue number.
*/
static u8 rsi_determine_min_weight_queue(struct rsi_common *common)
{
struct wmm_qinfo *tx_qinfo = com... |
google | android | rsi_91x_usb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_usb.c | 15,015 | utf_8 | 4a98c59ef237bc2191075ffc5666d3da | /**
*
*/
#include <linux/module.h>
#include "rsi_usb.h"
/**
* rsi_usb_card_write() - This function writes to the USB Card.
*
* Return: status: 0 on success, a negative error code on failure.
*/
static int rsi_usb_card_write(struct rsi_hw *adapter,
void *buf,
u16 len,
u8 endpoint)
{
str... |
google | android | rsi_91x_sdio_ops | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_sdio_ops.c | 14,750 | utf_8 | 4af04ccc345b7568c5c599b1364d1f6f | /**
*
*/
#include <linux/firmware.h>
#include "rsi_sdio.h"
#include "rsi_common.h"
/**
* rsi_sdio_master_access_msword() - This function sets the AHB master access
* MS word in the SDIO slave registers.
*
* Return: status: 0 on success, -1 on failure.
*/
static int rsi_sdio_master_access_msword(struct rs... |
google | android | rsi_91x_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_debugfs.c | 10,151 | utf_8 | 54885d5f0778846c09fadde817f33cf8 | /**
*/
#include "rsi_debugfs.h"
#include "rsi_sdio.h"
/**
* rsi_sdio_stats_read() - This function returns the sdio status of the driver.
*
* Return: 0 on success, -1 on failure.
*/
static int rsi_sdio_stats_read(struct seq_file *seq, void *data)
{
struct rsi_common *common = seq->private;
struct rsi_hw *adapter ... |
google | android | rsi_91x_mgmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/rsi/rsi_91x_mgmt.c | 38,983 | utf_8 | b9615a0fadad4ef0bea79cda6bf0f1e8 | /**
*/
#include <linux/etherdevice.h>
#include "rsi_mgmt.h"
#include "rsi_common.h"
static struct bootup_params boot_params_20 = {
.magic_number = cpu_to_le16(0x5aa5),
.crystal_good_time = 0x0,
.valid = cpu_to_le32(VALID_20),
.reserved_for_valids = 0x0,
.bootup_mode_info = 0x0,
.digital_loop_back_params = 0x0,
... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/debugfs.c | 12,086 | utf_8 | 8fe85b165489ac39118d2f9a0696b5c9 | /*
Broadcom B43legacy wireless driver
debugfs driver debugging code
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <linux/fs.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/pci.h>
#include <linux/mute... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/main.c | 111,943 | utf_8 | e00afb0757c9970471654892cd348f1b | /*
*
* Broadcom B43legacy wireless driver
*
* Boston, MA 02110-1301, USA.
*
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/if_arp.h>
#include <linux/etherdevice.h>
#include <linux/firmware.h>
#include <linux/workqueue.h>
#include <linux/sched.h>
#include <linux/skb... |
google | android | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/sysfs.c | 5,618 | utf_8 | 43c931ec2a2a753a9667175e378cc9b9 | /*
Broadcom B43legacy wireless driver
SYSFS support routines
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "sysfs.h"
#include "b43legacy.h"
#include "main.h"
#include "phy.h"
#include "radio.h"
#include <linux/capability.h>
#define GENERIC_FILESIZE 6... |
google | android | rfkill | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/rfkill.c | 2,674 | utf_8 | 9098c8325e4223c738a752161c497a44 | /*
Broadcom B43 wireless driver
RFKILL support
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "radio.h"
#include "b43legacy.h"
/* Returns TRUE, if the radio is enabled in hardware. */
bool b43legacy_is_hw_radio_enabled(struct b43legacy_wldev *dev)
{
... |
google | android | phy | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/phy.c | 66,184 | utf_8 | 3d1d7c3a53c17660c55afb1a4805aa2e | /*
Broadcom B43legacy wireless driver
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/types.h>
#include "b43legacy.h"
#include "phy.h"
#include "main.... |
google | android | dma | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/dma.c | 37,530 | utf_8 | 32578f44532bfcb94e21473279c16d7b | /*
Broadcom B43legacy wireless driver
DMA ringbuffer and descriptor allocation/management
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "b43legacy.h"
#include "dma.h"
#include "main.h"
#include "debugfs.h"
#include "xmit.h"
#include <linux/dma-mappin... |
google | android | pio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/pio.c | 17,969 | utf_8 | 827d69a576306ff9b61027f7c4c3851f | /*
Broadcom B43legacy wireless driver
PIO Transmission
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "b43legacy.h"
#include "pio.h"
#include "main.h"
#include "xmit.h"
#include <linux/delay.h>
#include <linux/slab.h>
static void tx_start(struct b43le... |
google | android | leds | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/leds.c | 7,074 | utf_8 | eded6df5853adcb69f7e1459d7d9f72c | /*
Broadcom B43 wireless driver
LED control
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "b43legacy.h"
#include "leds.h"
#include "rfkill.h"
static void b43legacy_led_turn_on(struct b43legacy_wldev *dev, u8 led_index,
bool activelow)
{
struc... |
google | android | radio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/radio.c | 59,830 | utf_8 | 8c12d4a15dd14f4cad37fc7d4cd06253 | /*
Broadcom B43legacy wireless driver
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <linux/delay.h>
#include "b43legacy.h"
#include "main.h"
#include "phy.h"
#include "radio.h"
#include "ilt.h"
/* Table for b43legacy_radio_calibrationvalue() */
static ... |
google | android | xmit | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/xmit.c | 18,162 | utf_8 | 188bc64e2d7d3ac097335095521b78b3 | /*
Broadcom B43legacy wireless driver
Transmission (TX/RX) related functions.
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include <net/dst.h>
#include "xmit.h"
#include "phy.h"
#include "dma.h"
#include "pio.h"
/* Extract the bitrate out of a CCK PLCP head... |
google | android | ilt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43legacy/ilt.c | 10,733 | utf_8 | b9579ac2e2c07a22f697470848a5eba3 | /*
Broadcom B43legacy wireless driver
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "b43legacy.h"
#include "ilt.h"
#include "phy.h"
/**** Initial Internal Lookup Tables ****/
const u32 b43legacy_ilt_rotor[B43legacy_ILT_ROTOR_SIZE] = {
0xFEB93FFD, 0xFE... |
google | android | hostap_80211_rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_80211_rx.c | 32,666 | utf_8 | cb01f33854df62ebd303a0a1726a4d2d | #include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <net/lib80211.h>
#include <linux/if_arp.h>
#include "hostap_80211.h"
#include "hostap.h"
#include "hostap_ap.h"
/* See IEEE 802.1H for LLC/SNAP encapsulation/decapsulation */
/* Ethernet-II snap header (RFC1042 for most EtherTypes... |
google | android | hostap_proc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_proc.c | 13,709 | utf_8 | 9e5d8c9b48b8591ba3964d092e430a78 | /* /proc routines for Host AP driver */
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/export.h>
#include <net/lib80211.h>
#include "hostap_wlan.h"
#include "hostap.h"
#ifndef PRISM2_NO_PROCFS_DEBUG
static int prism2_debug_proc_show(struct seq_file *m, void *v)
{
local_info_t *local = m->private;
... |
google | android | hostap_pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_pci.c | 11,008 | utf_8 | 36b7f59fb0714d34f7fe31d3597f7a3b | #define PRISM2_PCI
/* Host AP driver's support for Intersil Prism2.5 PCI cards is based on
#include <linux/module.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <linux/i... |
google | android | hostap_plx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_plx.c | 16,542 | utf_8 | d001317b78464baa2a2b3fd1251e2eae | #define PRISM2_PLX
/* Host AP driver's support for PC Cards on PCI adapters using PLX9052 is
* based on:
*/
#include <linux/module.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h... |
google | android | hostap_ap | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_ap.c | 88,468 | utf_8 | f37fe2b33b00505dd976af768641787d | /*
*
* This file is to be included into hostap.c when S/W AP functionality is
* compiled.
*
* AP: FIX:
* - if unicast Class 2 (assoc,reassoc,disassoc) frame received from
* unauthenticated STA, send deauth. frame (8802.11: 5.5)
* - if unicast Class 3 (data with to/from DS,deauth,pspoll) frame received
* f... |
google | android | hostap_info | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_info.c | 14,623 | utf_8 | 16ea75893caf041d348c6866da33c8ca | /* Host AP driver Info Frame processing (part of hostap.o module) */
#include <linux/if_arp.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/etherdevice.h>
#include "hostap_wlan.h"
#include "hostap.h"
#include "hostap_ap.h"
static void prism2_info_commtallies16(local_info_t ... |
google | android | hostap_ioctl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_ioctl.c | 106,248 | utf_8 | 44d3e3d4cdf4ce8ea8b5dbca423d0688 | /* ioctl() (mostly Linux Wireless Extensions) routines for Host AP driver */
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/ethtool.h>
#include <linux/if_arp.h>
#include <linux/module.h>
#include <linux/etherdevice.h>
#include <net/lib80211.h>
#include "hostap_wlan.h"
#include... |
google | android | hostap_80211_tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_80211_tx.c | 16,418 | utf_8 | 5014c3ee41827a75c2e52cbe2df125c7 | #include <linux/slab.h>
#include <linux/export.h>
#include <linux/etherdevice.h>
#include "hostap_80211.h"
#include "hostap_common.h"
#include "hostap_wlan.h"
#include "hostap.h"
#include "hostap_ap.h"
/* See IEEE 802.1H for LLC/SNAP encapsulation/decapsulation */
/* Ethernet-II snap header (RFC1042 for most EtherTypes... |
google | android | hostap_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_hw.c | 95,372 | utf_8 | ce6984d263a03105c14761eea359a970 | /*
* more details.
*
* FIX:
* - there is currently no way of associating TX packets to correct wds device
* when TX Exc/OK event occurs, so all tx_packets and some
* tx_errors/tx_dropped are added to the main netdevice; using sw_support
* field in txdesc might be used to fix this (using Alloc event to incr... |
google | android | hostap_cs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_cs.c | 18,166 | utf_8 | 1dc7a51505a935da3b9548e9ef0283de | #define PRISM2_PCCARD
#include <linux/module.h>
#include <linux/if.h>
#include <linux/slab.h>
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <pcmcia/cistpl.h>
#include <... |
google | android | hostap_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_main.c | 29,028 | utf_8 | bc5ebe94a40d28f00fa65f70e7d8b91a | /*
* more details.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/proc_fs.h>
#include <linux/if_arp.h>
#include <linux/delay.h>
#include <linux/random.h>
#include <linux/workqueue.h>
#include <linux/kmod.h>
#include <linux/rtnetlink.h>
#include <linux/wireless.h>
#include... |
google | android | hostap_download | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/hostap/hostap_download.c | 20,092 | utf_8 | 96337b4904db518cc0cb0f46890b9211 | static int prism2_enable_aux_port(struct net_device *dev, int enable)
{
u16 val, reg;
int i, tries;
unsigned long flags;
struct hostap_interface *iface;
local_info_t *local;
iface = netdev_priv(dev);
local = iface->local;
if (local->no_pri) {
if (enable) {
PDEBUG(DEBUG_EXTRA2, "%s: no PRI f/w - assuming ... |
google | android | wilink_platform_data | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wilink_platform_data.c | 1,356 | utf_8 | 026ee4afeb265b6f7151f1f5406ebed8 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/err.h>
#include <linux/wl12xx.h>
static struct wl1251_platform_data *wl1251_platform_data;
int __init wl1251_set_platform_data(const struct wl1251_platform... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/debugfs.c | 9,217 | utf_8 | 4928d2a21f4da66bc5fcb142bb36e6dc | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/debugfs.h"
#include "../wlcore/wlcore.h"
#include "wl12xx.h"
#include "acx.h"
#include "debugfs.h"
#define WL12XX_DEBUGFS_FWSTATS_FILE(a, b, c) \
DEBUGFS_FWSTATS_FILE(a, b, c, ... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/main.c | 54,450 | utf_8 | ce6b93a2ac9328ef47370834954412bc | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include "../wlcore/wlcore.h"
#include "../wlcore/debug.h"
#include "../wlcore/io.h"
#include "../wlcore/acx.h"
#... |
google | android | scan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/scan.c | 13,604 | utf_8 | 05f1c4fa790ea284c368613d94abe203 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/ieee80211.h>
#include "scan.h"
#include "../wlcore/debug.h"
#include "../wlcore/tx.h"
static int wl1271_get_scan_channels(struct wl1271 *wl,
struct cfg80211_scan_request *re... |
google | android | acx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/acx.c | 1,439 | utf_8 | ad3e2bf6778a775905e882a9d131cc7e | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "../wlcore/acx.h"
#include "acx.h"
int wl1271_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap)
{
struct wl1271_acx_ho... |
google | android | cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/cmd.c | 9,089 | utf_8 | 3ac9f90e2fb8b4616a19b10d03a737f2 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "wl12xx.h"
#include "cmd.h"
int wl1271_cmd_ext_radio_parms(struct wl1271 *wl)
{
struct wl1271_ext_radio_parms_cmd *ext_radio_parms;... |
google | android | event | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl12xx/event.c | 3,221 | utf_8 | 5a338516555beb381790e06fb7ced227 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "event.h"
#include "scan.h"
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
int wl12xx_wait_for_event(struct wl1271 *wl, enum wlcore_wait_event event,
bool *timeout)
{
u32 lo... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/debugfs.c | 32,526 | utf_8 | 062c17159666d5a46f26cf6392ec1c0f | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "debugfs.h"
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "wlcore.h"
#include "debug.h"
#include "acx.h"
#include "ps.h"
#include "io.h"
#include "tx... |
google | android | init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/init.c | 17,349 | utf_8 | cffe58569190b8de4208d726ffa15194 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "debug.h"
#include "init.h"
#include "wl12xx_80211.h"
#include "acx.h"
#include "cmd.h"
#include "tx.h"
#include... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/main.c | 166,758 | utf_8 | fd3e155b468d336894fe9f0a462b5cbd | /*
* This file is part of wlcore
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/firmware.h>
#include <linux/etherdevice.h>
#include <linux/vmalloc.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include "wlcore.h"
#include "deb... |
google | android | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/sysfs.c | 4,959 | utf_8 | 813de97621610cd7982bb6041b1e416d | /*
* This file is part of wlcore
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "wlcore.h"
#include "debug.h"
#include "ps.h"
#include "sysfs.h"
static ssize_t wl1271_sysfs_show_bt_coex_state(struct device *dev,
struct device_attribute *attr,
c... |
google | android | rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/rx.c | 9,441 | utf_8 | f05ec2fa2aaa4f846c9d29eb97085ef6 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/gfp.h>
#include <linux/sched.h>
#include "wlcore.h"
#include "debug.h"
#include "acx.h"
#include "rx.h"
#include "tx.h"
#include "io.h"
#include "hw_ops.h"
/*
* TODO: this is here ... |
google | android | scan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/scan.c | 12,754 | utf_8 | 98d5ced03f2db905aafdd808c3218975 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/ieee80211.h>
#include "wlcore.h"
#include "debug.h"
#include "cmd.h"
#include "scan.h"
#include "acx.h"
#include "ps.h"
#include "tx.h"
void wl1271_scan_complete_work(struct work_st... |
google | android | vendor_cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/vendor_cmd.c | 4,508 | utf_8 | 0d4a505d10652661a775f2fcb2e47264 | /*
* This file is part of wlcore
*
*/
#include <net/mac80211.h>
#include <net/netlink.h>
#include "wlcore.h"
#include "debug.h"
#include "ps.h"
#include "hw_ops.h"
#include "vendor_cmd.h"
static const
struct nla_policy wlcore_vendor_attr_policy[NUM_WLCORE_VENDOR_ATTR] = {
[WLCORE_VENDOR_ATTR_FREQ] = { .type = NLA_... |
google | android | sdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/sdio.c | 11,292 | utf_8 | 33efe58d9f693f7154dbe48b6d82f638 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
#include <linux/platform_device.h>
#include <linux/mmc/sdio.h>
#include <linux/mmc/sdio_func.h>
#include <linux/mmc/sdio_... |
google | android | boot | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/boot.c | 13,835 | utf_8 | 5e5cbc6e4cdfb9e20dd0064e9d9abcf7 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/slab.h>
#include <linux/export.h>
#include "debug.h"
#include "acx.h"
#include "boot.h"
#include "io.h"
#include "event.h"
#include "rx.h"
#include "hw_ops.h"
static int wl1271_boot... |
google | android | io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/io.c | 6,039 | utf_8 | 149c26982d979824229f727ca33abf78 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#include "wlcore.h"
#include "debug.h"
#include "wl12xx_80211.h"
#include "io.h"... |
google | android | tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/tx.c | 35,377 | utf_8 | c5dc09d0b2f0c66fa51359d272ac715d | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/etherdevice.h>
#include <linux/spinlock.h>
#include "wlcore.h"
#include "debug.h"
#include "io.h"
#include "ps.h"
#include "tx.h"... |
google | android | acx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/acx.c | 42,932 | utf_8 | a6bb543eef85d2f61b43f90c73c78bb9 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "acx.h"
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include "wlcore.h"
#include "debug.h"
#include "wl12xx_80211.h"
#in... |
google | android | spi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/spi.c | 10,177 | utf_8 | 1071b443aaf261c80acfa21ebae34c2d | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/swab.h>
#include <linux/crc7.h>
#include <linux/spi/spi.h>
#include <linux/wl12... |
google | android | testmode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/testmode.c | 8,703 | utf_8 | 4329319133d4dd3c4d197d03328b1084 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "testmode.h"
#include <linux/slab.h>
#include <net/genetlink.h>
#include "wlcore.h"
#include "debug.h"
#include "acx.h"
#include "ps.h"
#include "io.h"
#define WL1271_TM_MAX_DATA_LENGTH 10... |
google | android | cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/cmd.c | 49,825 | utf_8 | 15c7d6b0b5ae1a9e75bc8751ee7762a3 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/etherdevice.h>
#include <linux/ieee80211.h>
#include <linux/slab.h>
#include "wlcore.h"
#incl... |
google | android | event | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/event.c | 8,007 | utf_8 | a3c73c12601798edf4bbf28eb9d95942 | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "wlcore.h"
#include "debug.h"
#include "io.h"
#include "event.h"
#include "ps.h"
#include "scan.h"
#include "wl12xx_80211.h"
void wlcore_event_rssi_trigger(struct wl1271 *wl, s8 *metric_ar... |
google | android | ps | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wlcore/ps.c | 8,256 | utf_8 | 7c96ba7cb4432186b5f06b8793aa713c | /*
* This file is part of wl1271
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "ps.h"
#include "io.h"
#include "tx.h"
#include "debug.h"
#define WL1271_WAKEUP_TIMEOUT 500
#define ELP_ENTRY_DELAY 30
#define ELP_ENTRY_DELAY_FORCE_PS 5
void wl1271_elp_work(struct work... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/debugfs.c | 18,786 | utf_8 | 0bae06f40416a5a6f6860f6acb8487d2 | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/debugfs.h"
#include "../wlcore/wlcore.h"
#include "../wlcore/debug.h"
#include "../wlcore/ps.h"
#include "wl18xx.h"
#include "acx.h"
#include "cmd.h"
#include "debugfs.h"
#defin... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/main.c | 63,302 | utf_8 | e38d3b1c22897ec7461e2c6ba72b4b3d | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/ip.h>
#include <linux/firmware.h>
#include <linux/etherdevice.h>
#include <linux/irq.h>
#include "../wlcore/wlcore.h"
#i... |
google | android | scan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/scan.c | 8,964 | utf_8 | 99ab3a423f3bda4c23a44dab9ea1b78a | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/ieee80211.h>
#include "scan.h"
#include "../wlcore/debug.h"
static void wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd,
struct wlcore_scan_channels *cmd_channels)
... |
google | android | io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/io.c | 1,703 | utf_8 | 1d561a9ff6bff7aaf4b7c82e6d72ef37 | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/wlcore.h"
#include "../wlcore/io.h"
#include "io.h"
int wl18xx_top_reg_write(struct wl1271 *wl, int addr, u16 val)
{
u32 tmp;
int ret;
if (WARN_ON(addr % 2))
return -EINVAL... |
google | android | tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/tx.c | 5,087 | utf_8 | d0026d2cb8efc0ed80363eaa472b929b | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/wlcore.h"
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "../wlcore/acx.h"
#include "../wlcore/tx.h"
#include "wl18xx.h"
#include "tx.h"
static
void wl18xx_get... |
google | android | acx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/acx.c | 7,169 | utf_8 | 4b663d31d32fdc7acd36e18a04716e1f | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "../wlcore/acx.h"
#include "acx.h"
#include "wl18xx.h"
int wl18xx_acx_host_if_cfg_bitmap(struct wl1271 *wl, u32 host_cfg_bitmap,
... |
google | android | cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/cmd.c | 5,960 | utf_8 | 555a8ce581866e7f3f68aa0d2a4555ee | /*
* This file is part of wl18xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "../wlcore/hw_ops.h"
#include "cmd.h"
int wl18xx_cmd_channel_switch(struct wl1271 *wl,
struct wl12xx_vif *wlvif,
s... |
google | android | event | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl18xx/event.c | 5,650 | utf_8 | d9cea76bfc7603cea1541f6f837e2c80 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <net/genetlink.h>
#include "event.h"
#include "scan.h"
#include "../wlcore/cmd.h"
#include "../wlcore/debug.h"
#include "../wlcore/vendor_cmd.h"
int wl18xx_wait_for_event(struct wl1271 *wl... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/debugfs.c | 17,368 | utf_8 | b495b316a13989cdae7a3b36fd3cbea7 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "debugfs.h"
#include <linux/skbuff.h>
#include <linux/slab.h>
#include "wl1251.h"
#include "acx.h"
#include "ps.h"
/* ms */
#define WL1251_DEBUGFS_STATS_LIFETIME 1000
/* debugfs macros ide... |
google | android | init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/init.c | 9,314 | utf_8 | f8d7142dd9351581bdf4b7bef56c0b55 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include "init.h"
#include "wl12xx_80211.h"
#include "acx.h"
#include "cmd.h"
#include "reg.h"
int wl1251_hw_init_hwenc_c... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/main.c | 36,596 | utf_8 | 076fd7d8a46157d763e0f010978001dc | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/firmware.h>
#include <linux/delay.h>
#include <linux/irq.h>
#include <linux/crc32.h>
#include <linux/etherdevice.h>
#include <... |
google | android | rx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/rx.c | 5,956 | utf_8 | 832f832acc2184a603f814852cac71b6 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/skbuff.h>
#include <linux/gfp.h>
#include <net/mac80211.h>
#include "wl1251.h"
#include "reg.h"
#include "io.h"
#include "rx.h"
#include "cmd.h"
#include "acx.h"
static void wl1251_... |
google | android | sdio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/sdio.c | 8,923 | utf_8 | 073c7663716e20dc57b1c99441ae3a50 | /*
* wl12xx SDIO routines
*
*/
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/mmc/sdio_func.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/platform_device.h>
#include <linux/wl12xx.h>
#include <linux/irq.h>
#include <linux/pm_runtime.h>
#include <linux/g... |
google | android | boot | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/boot.c | 14,837 | utf_8 | 1d524290e75fc31542aa843629a80a76 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/slab.h>
#include "reg.h"
#include "boot.h"
#include "io.h"
#include "spi.h"
#include "event.h"
#include "acx.h"
void wl1251_boot_target_enable_interrupts(struct wl1251 *wl)
{
wl125... |
google | android | io | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/io.c | 6,756 | utf_8 | fe59a4a0eb5047c32cf1ea8e9f814a81 | /*
* This file is part of wl12xx
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "wl1251.h"
#include "reg.h"
#include "io.h"
/* FIXME: this is static data nowadays and the table can be removed */
static enum wl12xx_acx_int_reg wl1251_io_reg_table[ACX_REG_TABLE_LEN] = {... |
google | android | tx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/tx.c | 14,455 | utf_8 | 8baf4a72d43707a3db1745c49623b672 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include "wl1251.h"
#include "reg.h"
#include "tx.h"
#include "ps.h"
#include "io.h"
#include "event.h"
static bool wl1251_tx_double_buffer_busy(... |
google | android | acx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/acx.c | 23,452 | utf_8 | 20bb72397bafaa6965c74f455558dd25 | #include "acx.h"
#include <linux/module.h>
#include <linux/slab.h>
#include "wl1251.h"
#include "reg.h"
#include "cmd.h"
#include "ps.h"
int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod,
u8 mgt_rate, u8 mgt_mod)
{
struct acx_fw_gen_frame_rates *rates;
int ret;
wl1251_debug(DEBUG_ACX, "ac... |
google | android | spi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/spi.c | 8,055 | utf_8 | 10873d4671d7afac43d1fa498c976e92 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/swab.h>
#include <linux/crc7.h>
#include <linux/spi/spi.h>
#include <linux/wl12... |
google | android | cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/cmd.c | 11,404 | utf_8 | bda317e0171e05d7c5dbccfdcd026a9d | #include "cmd.h"
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/etherdevice.h>
#include "wl1251.h"
#include "reg.h"
#include "io.h"
#include "ps.h"
#include "acx.h"
/**
* send command to firmware
*
*/
int wl1251_cmd_send(struct wl1251 *wl, u16 id, void *buf, size_t len)
{
struct wl1251_cmd_header... |
google | android | event | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/event.c | 5,908 | utf_8 | 0caed9e2ba4c7e3ff044e90e60cba262 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "wl1251.h"
#include "reg.h"
#include "io.h"
#include "event.h"
#include "ps.h"
static int wl1251_event_scan_complete(struct wl1251 *wl,
struct event_mailbox *mbox)
{
int ret = 0... |
google | android | ps | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ti/wl1251/ps.c | 4,241 | utf_8 | 241f052a308b61de7f32a7ae357e5218 | /*
* This file is part of wl1251
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#include "reg.h"
#include "ps.h"
#include "cmd.h"
#include "io.h"
/* in ms */
#define WL1251_WAKEUP_TIMEOUT 100
void wl1251_elp_work(struct work_struct *work)
{
struct delayed_work *dwork;
struct... |
google | android | debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/debugfs.c | 5,036 | utf_8 | a7cf1f0cf8d84912a24bcaa63e473e3c | /*
*/
#include <linux/debugfs.h>
#include "mt7601u.h"
#include "eeprom.h"
static int
mt76_reg_set(void *data, u64 val)
{
struct mt7601u_dev *dev = data;
mt76_wr(dev, dev->debugfs_reg, val);
return 0;
}
static int
mt76_reg_get(void *data, u64 *val)
{
struct mt7601u_dev *dev = data;
*val = mt76_rr(dev, dev->debugfs... |
google | android | init | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/init.c | 15,216 | utf_8 | f0f417ebb232857506961642839045c7 | /*
*/
#include "mt7601u.h"
#include "eeprom.h"
#include "trace.h"
#include "mcu.h"
#include "initvals.h"
static void
mt7601u_set_wlan_state(struct mt7601u_dev *dev, u32 val, bool enable)
{
int i;
/* Note: we don't turn off WLAN_CLK because that makes the device
* not respond properly on the probe path.
* In ca... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/main.c | 10,614 | utf_8 | d676d526452a0d9f2da159723b32cedd | /*
*/
#include "mt7601u.h"
#include "mac.h"
#include <linux/etherdevice.h>
#include <linux/version.h>
static int mt7601u_start(struct ieee80211_hw *hw)
{
struct mt7601u_dev *dev = hw->priv;
int ret;
mutex_lock(&dev->mutex);
ret = mt7601u_mac_start(dev);
if (ret)
goto out;
ieee80211_queue_delayed_work(dev->hw, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.