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
mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/mac.c
14,678
utf_8
1a7e718f70c00d6e4d4806807893715b
/* */ #include "mt7601u.h" #include "trace.h" #include <linux/etherdevice.h> static void mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) { u8 idx = MT76_GET(MT_TXWI_RATE_MCS, rate); txrate->idx = 0; txrate->flags = 0; txrate->count = 1; switch (MT76_GET(MT_TXWI_RATE_PHY_MODE, rate)) { case M...
google
android
util
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/util.c
987
utf_8
016ef5668753c5d88baaca8b1563bbc4
/* */ #include "mt7601u.h" void mt76_remove_hdr_pad(struct sk_buff *skb) { int len = ieee80211_get_hdrlen_from_skb(skb); memmove(skb->data + 2, skb->data, len); skb_pull(skb, 2); } int mt76_insert_hdr_pad(struct sk_buff *skb) { int len = ieee80211_get_hdrlen_from_skb(skb); int ret; if (len % 4 == 0) return 0; ...
google
android
phy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/phy.c
31,151
utf_8
61c736fd9282718a790f7e290b175476
/* */ #include "mt7601u.h" #include "mcu.h" #include "eeprom.h" #include "trace.h" #include "initvals_phy.h" #include <linux/etherdevice.h> static void mt7601u_agc_reset(struct mt7601u_dev *dev); static int mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) { int ret = 0; if (WARN_ON(!test_bit(MT76...
google
android
eeprom
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/eeprom.c
10,468
utf_8
e12d3c73679bc111794f646bf75167d4
/* */ #include <linux/of.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/etherdevice.h> #include <asm/unaligned.h> #include "mt7601u.h" #include "eeprom.h" static bool field_valid(u8 val) { return val != 0xff; } static s8 field_validate(u8 val) { if (!field_valid(val)) return 0; re...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/core.c
1,642
utf_8
fb6853811d0cf2c875222de8147982c5
/* */ #include "mt7601u.h" int mt7601u_wait_asic_ready(struct mt7601u_dev *dev) { int i = 100; u32 val; do { if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) return -EIO; val = mt7601u_rr(dev, MT_MAC_CSR0); if (val && ~val) return 0; udelay(10); } while (i--); return -EIO; } bool mt76_poll(struct m...
google
android
dma
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/dma.c
12,212
utf_8
9b1892516173227bcc8dd9ef828dcc8b
/* */ #include "mt7601u.h" #include "dma.h" #include "usb.h" #include "trace.h" static int mt7601u_submit_rx_buf(struct mt7601u_dev *dev, struct mt7601u_dma_buf_rx *e, gfp_t gfp); static unsigned int ieee80211_get_hdrlen_from_buf(const u8 *data, unsigned len) { const struct ieee80211_hdr *hdr = (const struct iee...
google
android
tx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/tx.c
9,335
utf_8
95f99392e8df2c3d588ab70a54f92256
/* */ #include "mt7601u.h" #include "trace.h" enum mt76_txq_id { MT_TXQ_VO = IEEE80211_AC_VO, MT_TXQ_VI = IEEE80211_AC_VI, MT_TXQ_BE = IEEE80211_AC_BE, MT_TXQ_BK = IEEE80211_AC_BK, MT_TXQ_PSD, MT_TXQ_MCU, __MT_TXQ_MAX }; /* Hardware uses mirrored order of queues with Q0 having the highest priority */ static u8 ...
google
android
trace
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/trace.c
656
utf_8
344efd35ebd98c4b7db8bdc6524aaa4d
/* */ #include <linux/module.h> #ifndef __CHECKER__ #define CREATE_TRACE_POINTS #include "trace.h" #endif
google
android
mcu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/mcu.c
13,068
utf_8
4182b34e86ee186bcd00a7b43cfff66d
/* */ #include <linux/kernel.h> #include <linux/firmware.h> #include <linux/delay.h> #include <linux/usb.h> #include <linux/skbuff.h> #include "mt7601u.h" #include "dma.h" #include "mcu.h" #include "usb.h" #include "trace.h" #define MCU_FW_URB_MAX_PAYLOAD 0x3800 #define MCU_FW_URB_SIZE (MCU_FW_URB_MAX_PAYLOAD + 12)...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/mediatek/mt7601u/usb.c
9,479
utf_8
2ad4a85cb7b83eb939d198715205670a
/* */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/usb.h> #include "mt7601u.h" #include "usb.h" #include "trace.h" static struct usb_device_id mt7601u_device_table[] = { { USB_DEVICE(0x0b05, 0x17d3) }, { USB_DEVICE(0x0e8d, 0x760a) }, { USB_DEVICE(0x0e8d, 0x760b) }, { USB_DEVICE(0x13d3, 0x343...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/libertas_tf/main.c
19,499
utf_8
b0c7ccd629fda871975778c64263e424
/* * your option) any later version. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/hardirq.h> #include <linux/slab.h> #include <linux/etherdevice.h> #include <linux/module.h> #include "libertas_tf.h" #define DRIVER_RELEASE_VERSION "004.p0" /* thinfirm version: 5.132.X.pX */ #define LBTF_FW_VER_MIN ...
google
android
if_usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/libertas_tf/if_usb.c
23,264
utf_8
157196477b4d802b2a0cecee288ff3f0
/* * your option) any later version. */ #define DRV_NAME "lbtf_usb" #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "libertas_tf.h" #include "if_usb.h" #include <linux/delay.h> #include <linux/module.h> #include <linux/firmware.h> #include <linux/netdevice.h> #include <linux/slab.h> #include <linux/usb.h> #defi...
google
android
cmd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/libertas_tf/cmd.c
20,598
utf_8
46dd6fcc0a0250cae47cc7f9b47bd2d3
/* * your option) any later version. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/hardirq.h> #include <linux/slab.h> #include <linux/export.h> #include "libertas_tf.h" static const struct channel_range channel_ranges[] = { { LBTF_REGDOMAIN_US, 1, 12 }, { LBTF_REGDOMAIN_CA, 1, 12 }, { LBTF_REGD...
google
android
fwio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/fwio.c
21,372
utf_8
48e5e6e73590ca3b14c9a4c15439d49b
/* * Firmware I/O code for mac80211 Prism54 drivers * */ #include <linux/slab.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/export.h> #include <net/mac80211.h> #include "p54.h" #include "eeprom.h" #include "lmac.h" int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/main.c
21,536
utf_8
f5c3df1603bb9de1f6a09af0bf54a4c0
/* * mac80211 glue code for mac80211 Prism54 drivers * */ #include <linux/slab.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/module.h> #include <net/mac80211.h> #include "p54.h" #include "lmac.h" static bool modparam_nohwcrypt; module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S...
google
android
txrx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/txrx.c
25,980
utf_8
3248b3a17461611909871eedb7d2fb4b
/* * Common code for mac80211 Prism54 drivers * */ #include <linux/export.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <asm/div64.h> #include <net/mac80211.h> #include "p54.h" #include "lmac.h" #ifdef P54_MM_DEBUG static void p54_dump_tx_queue(struct p54_common *priv) { unsigned long flags...
google
android
eeprom
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/eeprom.c
25,395
utf_8
f6ed91dc612899fd516808f8c219b932
/* * EEPROM parser code for mac80211 Prism54 drivers * */ #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/sort.h> #include <linux/slab.h> #include <net/mac80211.h> #include <linux/crc-ccitt.h> #include <linux/export.h> #include "p54.h" #include "eeprom.h" #include "lmac.h" static struct ie...
google
android
led
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/led.c
4,047
utf_8
9e960ead3bee2aea95c35b9ac593fe28
/* * Common code for mac80211 Prism54 drivers * */ #include <linux/firmware.h> #include <linux/etherdevice.h> #include <net/mac80211.h> #ifdef CONFIG_P54_LEDS #include <linux/leds.h> #endif /* CONFIG_P54_LEDS */ #include "p54.h" #include "lmac.h" static void p54_update_leds(struct work_struct *work) { struct p54_co...
google
android
p54spi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/p54spi.c
17,061
utf_8
b6f6f160383f2d81eeca0e9833872ea9
/* * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA */ #include <linux/module.h> #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/firmware.h> #include <linux/delay.h> #include <linux/irq.h> #include <linux/spi/spi.h> #include <linux/etherdevice.h> #include <...
google
android
p54usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/p54usb.c
29,894
utf_8
90cf235d74bf284a9af7ede54a352b13
/* * Linux device driver for USB based Prism54 * */ #include <linux/usb.h> #include <linux/pci.h> #include <linux/slab.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/delay.h> #include <linux/crc32.h> #include <linux/module.h> #include <net/mac80211.h> #include "p54.h" #include "lmac.h"...
google
android
p54pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/p54/p54pci.c
17,048
utf_8
91db018c454bc26f092038b6f4052f6f
/* * Linux device driver for PCI based Prism54 * */ #include <linux/pci.h> #include <linux/slab.h> #include <linux/firmware.h> #include <linux/etherdevice.h> #include <linux/delay.h> #include <linux/completion.h> #include <linux/module.h> #include <net/mac80211.h> #include "p54.h" #include "lmac.h" #include "p54pci....
google
android
utils
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmutil/utils.c
7,539
utf_8
5c9458cb4d8064c1eedaeda1c7f4c81e
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/netdevice.h> #include <linux/module.h> #include <brcmu_utils.h> MODULE_AUTHOR("Broadcom Corporation"); MODULE_DESCRIPTION("Broadcom 802.11n wireless LAN driver utilities."); MODULE_SUPPORTED_DEVICE("Broadcom 802.11n WLAN cards"); struct sk_buff *brcmu_p...
google
android
d11
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmutil/d11.c
5,529
utf_8
3d7e77c1c2eef2f043691d2768234b77
/* */ /*********************channel spec common functions*********************/ #include <linux/module.h> #include <brcmu_utils.h> #include <brcmu_wifi.h> #include <brcmu_d11.h> static u16 d11n_sb(enum brcmu_chan_sb sb) { switch (sb) { case BRCMU_CHAN_SB_NONE: return BRCMU_CHSPEC_D11N_SB_N; case BRCMU_CHAN_SB_L: ...
google
android
p2p
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/p2p.c
70,583
utf_8
7cdcbd96195fa4e2a47e62381d36666f
/* */ #include <linux/slab.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/rtnetlink.h> #include <net/cfg80211.h> #include <brcmu_wifi.h> #include <brcmu_utils.h> #include <defs.h> #include "core.h" #include "debug.h" #include "fwil.h" #include "fwil_types.h" #include "p2p.h" #include "c...
google
android
tracepoint
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/tracepoint.c
1,178
utf_8
5f5bbaf6dd80fe7e8a39c0eb9b7f521b
/* */ #include <linux/module.h> /* bug in tracepoint.h, it should include this */ #ifndef __CHECKER__ #define CREATE_TRACE_POINTS #include "tracepoint.h" void __brcmf_err(const char *func, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_err(...
google
android
vendor
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/vendor.c
3,356
utf_8
1959d55334fa70647596735a555ddadb
/* */ #include <linux/vmalloc.h> #include <net/cfg80211.h> #include <net/netlink.h> #include <brcmu_wifi.h> #include "fwil_types.h" #include "core.h" #include "p2p.h" #include "debug.h" #include "cfg80211.h" #include "vendor.h" #include "fwil.h" static int brcmf_cfg80211_vndr_cmds_dcmd_handler(struct wiphy *wiphy, ...
google
android
common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/common.c
5,969
utf_8
6a2a310c4924540bbdae17005bb51ef4
/* */ #include <linux/kernel.h> #include <linux/string.h> #include <linux/netdevice.h> #include <brcmu_wifi.h> #include <brcmu_utils.h> #include "core.h" #include "bus.h" #include "debug.h" #include "fwil.h" #include "fwil_types.h" #include "tracepoint.h" #include "common.h" const u8 ALLFFMAC[ETH_ALEN] = { 0xff, 0xff,...
google
android
fwil
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/fwil.c
9,720
utf_8
37a4392b3b89c2bc05c6f19cc53a4dc5
/* */ /* FWIL is the Firmware Interface Layer. In this module the support functions * are located to set and get variables to and from the firmware. */ #include <linux/kernel.h> #include <linux/netdevice.h> #include <brcmu_utils.h> #include <brcmu_wifi.h> #include "core.h" #include "bus.h" #include "debug.h" #includ...
google
android
feature
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/feature.c
4,755
utf_8
4dfe2f7e984219ca60a09cf5c2bc0dcd
/* */ #include <linux/netdevice.h> #include <linux/module.h> #include <brcm_hw_ids.h> #include "core.h" #include "bus.h" #include "debug.h" #include "fwil.h" #include "feature.h" /* Module param feature_disable (global for all devices) */ static int brcmf_feature_disable; module_param_named(feature_disable, brcmf_feat...
google
android
fweh
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/fweh.c
12,837
utf_8
c95118e5b449ffcccfbd75a0235c68f0
/* */ #include <linux/netdevice.h> #include "brcmu_wifi.h" #include "brcmu_utils.h" #include "core.h" #include "debug.h" #include "tracepoint.h" #include "fwsignal.h" #include "fweh.h" #include "fwil.h" /** * struct brcm_ethhdr - broadcom specific ether header. * */ struct brcm_ethhdr { __be16 subtype; __be16 len...
google
android
bcdc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/bcdc.c
10,805
utf_8
da697992e1b6bea2633ed8dd85880d52
/* */ /******************************************************************************* * Communicates with the dongle by using dcmd codes. * For certain dcmd codes, the dongle interprets string data from the host. ******************************************************************************/ #include <linux/types....
google
android
proto
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/proto.c
2,249
utf_8
b3282fd37c7fd2f5c3fa552df17b3bc0
/* */ #include <linux/types.h> #include <linux/slab.h> #include <linux/netdevice.h> #include <brcmu_wifi.h> #include "core.h" #include "bus.h" #include "debug.h" #include "proto.h" #include "bcdc.h" #include "msgbuf.h" int brcmf_proto_attach(struct brcmf_pub *drvr) { struct brcmf_proto *proto; brcmf_dbg(TRACE, "Ent...
google
android
msgbuf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c
42,063
utf_8
0b48c92f0830cd63057dac1a77ea2046
*/ /******************************************************************************* * Communicates with the dongle by using dcmd codes. * For certain dcmd codes, the dongle interprets string data from the host. ******************************************************************************/ #include <linux/types.h> ...
google
android
btcoex
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/btcoex.c
13,474
utf_8
d9bc07abc845e20a90b2ef219d56bb6e
/* */ #include <linux/slab.h> #include <linux/netdevice.h> #include <net/cfg80211.h> #include <brcmu_wifi.h> #include <brcmu_utils.h> #include <defs.h> #include "core.h" #include "debug.h" #include "fwil.h" #include "fwil_types.h" #include "btcoex.h" #include "p2p.h" #include "cfg80211.h" /* T1 start SCO/eSCO priority...
google
android
of
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/of.c
1,869
utf_8
105b87ef685d1478853ccab8daad63c7
/* */ #include <linux/init.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/mmc/card.h> #include <linux/platform_data/brcmfmac-sdio.h> #include <linux/mmc/sdio_func.h> #include <defs.h> #include "debug.h" #include "sdio.h" void brcmf_of_probe(struct brcmf_sdio_dev *sdiodev) { struct device *dev = sd...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/core.c
31,430
utf_8
92f9208254c8c00d03f30122e2097324
/* */ #include <linux/kernel.h> #include <linux/etherdevice.h> #include <linux/module.h> #include <net/cfg80211.h> #include <net/rtnetlink.h> #include <brcmu_utils.h> #include <brcmu_wifi.h> #include "core.h" #include "bus.h" #include "debug.h" #include "fwil_types.h" #include "p2p.h" #include "cfg80211.h" #include "f...
google
android
fwsignal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c
62,407
utf_8
5d8a12ae9558810e0c993f5984aac1fe
/* */ #include <linux/types.h> #include <linux/module.h> #include <linux/if_ether.h> #include <linux/spinlock.h> #include <linux/skbuff.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/err.h> #include <linux/jiffies.h> #include <net/cfg80211.h> #include <brcmu_utils.h> #include <brcmu_wif...
google
android
sdio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
121,148
utf_8
6c22ab20bd9605de3bc6311b237b3722
/* */ #include <linux/types.h> #include <linux/atomic.h> #include <linux/kernel.h> #include <linux/kthread.h> #include <linux/printk.h> #include <linux/pci_ids.h> #include <linux/netdevice.h> #include <linux/interrupt.h> #include <linux/sched.h> #include <linux/mmc/sdio.h> #include <linux/mmc/sdio_ids.h> #include <lin...
google
android
chip
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/chip.c
35,645
utf_8
06d7fede3e3a7dee3dc7d9380fe0d0da
/* */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/list.h> #include <linux/ssb/ssb_regs.h> #include <linux/bcma/bcma.h> #include <linux/bcma/bcma_regs.h> #include <defs.h> #include <soc.h> #include <brcm_hw_ids.h> #include <brcmu_utils.h> #include <chipcommon.h> #include "debug.h" #include "chip....
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/debug.c
2,914
utf_8
25c3d93b30e8ccc271b67ebe6fc0b383
/* */ #include <linux/debugfs.h> #include <linux/netdevice.h> #include <linux/module.h> #include <linux/devcoredump.h> #include <brcmu_wifi.h> #include <brcmu_utils.h> #include "core.h" #include "bus.h" #include "fweh.h" #include "debug.h" static struct dentry *root_folder; static int brcmf_debug_create_memdump(struct...
google
android
firmware
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/firmware.c
13,346
utf_8
3f43437d94323a52a34aef53b9f92c38
/* */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/device.h> #include <linux/firmware.h> #include <linux/module.h> #include <linux/bcm47xx_nvram.h> #include "debug.h" #include "firmware.h" #define BRCMF_FW_MAX_NVRAM_SIZE 64000 #define BRCMF_FW_NVRAM_DEVPATH_LEN 19 /* devpath0=pcie/1/4/ */ #defi...
google
android
flowring
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/flowring.c
11,716
utf_8
313d45ef51b4da8ac0b02cbd81dea5b2
*/ #include <linux/types.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <brcmu_utils.h> #include "core.h" #include "debug.h" #include "bus.h" #include "proto.h" #include "flowring.h" #include "msgbuf.h" #include "common.h" #define BRCMF_FLOWRING_HIGH 1024 #define BRCMF_FLOWRING_LOW (BRCMF_FL...
google
android
cfg80211
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
174,114
utf_8
eb0211a8f1043359f357aba54a2c8ce4
/* */ /* Toplevel file. Relies on dhd_linux.c to send commands to the dongle. */ #include <linux/kernel.h> #include <linux/etherdevice.h> #include <linux/module.h> #include <linux/vmalloc.h> #include <net/cfg80211.h> #include <net/netlink.h> #include <brcmu_utils.h> #include <defs.h> #include <brcmu_wifi.h> #include "...
google
android
bcmsdh
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
35,623
utf_8
bae86b7a3ea3031349a5e267fab9285c
/* */ /* ****************** SDIO CARD Interface Functions **************************/ #include <linux/types.h> #include <linux/netdevice.h> #include <linux/pci.h> #include <linux/pci_ids.h> #include <linux/sched.h> #include <linux/completion.h> #include <linux/scatterlist.h> #include <linux/mmc/sdio.h> #include <linux...
google
android
pcie
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
57,619
utf_8
62442bb8f9bc9711771e7d0cf1efd271
*/ #include <linux/kernel.h> #include <linux/module.h> #include <linux/firmware.h> #include <linux/pci.h> #include <linux/vmalloc.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/bcma/bcma.h> #include <linux/sched.h> #include <asm/unaligned.h> #include <soc.h> #include <chipcommon.h> #include <...
google
android
commonring
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/commonring.c
6,345
utf_8
47e086fb8340897e40e17ec4b62ff861
*/ #include <linux/types.h> #include <linux/netdevice.h> #include <brcmu_utils.h> #include <brcmu_wifi.h> #include "core.h" #include "commonring.h" void brcmf_commonring_register_cb(struct brcmf_commonring *commonring, int (*cr_ring_bell)(void *ctx), int (*cr_update_rptr)(void *ctx), int (*cr_update_...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmfmac/usb.c
38,331
utf_8
f8210cf994dc2d10e6d67367a810019f
/* */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/firmware.h> #include <linux/usb.h> #include <linux/vmalloc.h> #include <brcmu_utils.h> #include <brcm_hw_ids.h> #include <brcmu_wifi.h> #include "bus.h" #include "debug.h" #include "firmware.h" #include "usb.h" #define IOCTL_RESP_TIMEOUT 2000 #...
google
android
brcms_trace_events
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/brcms_trace_events.c
972
utf_8
87e10bd46d9653c7e6387df4149142b5
/* */ #include <linux/module.h> /* bug in tracepoint.h, it should include this */ #ifndef __CHECKER__ #include "mac80211_if.h" #define CREATE_TRACE_POINTS #include "brcms_trace_events.h" #endif
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/main.c
218,938
utf_8
3b6808e8de68f8f33eb46547c5431915
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/pci_ids.h> #include <linux/if_ether.h> #include <net/cfg80211.h> #include <net/mac80211.h> #include <brcm_hw_ids.h> #include <aiutils.h> #include <chipcommon.h> #include "rate.h" #include "scb.h" #include "phy/phy_hal.h" #include "channel.h" #include "a...
google
android
stf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/stf.c
12,800
utf_8
288602a5871fa71a40f2eeac3f13604c
/* */ #include <net/mac80211.h> #include "types.h" #include "d11.h" #include "rate.h" #include "phy/phy_hal.h" #include "channel.h" #include "main.h" #include "stf.h" #include "debug.h" #define MIN_SPATIAL_EXPANSION 0 #define MAX_SPATIAL_EXPANSION 1 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ NREV...
google
android
antsel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/antsel.c
9,668
utf_8
45bebb1b72f841b26d60fe93ad7ad5a1
/* */ #include <linux/slab.h> #include <net/mac80211.h> #include "types.h" #include "main.h" #include "phy_shim.h" #include "antsel.h" #include "debug.h" #define ANT_SELCFG_AUTO 0x80 /* bit indicates antenna sel AUTO */ #define ANT_SELCFG_MASK 0x33 /* antenna configuration mask */ #define ANT_SELCFG_TX_UNICAST 0 /* ...
google
android
aiutils
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
19,640
utf_8
7e762f70407bf56bdb13b87a530bd2b7
/* * * File contents: support functions for PCI/PCIe */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/delay.h> #include <defs.h> #include <chipcommon.h> #include <brcmu_utils.h> #include <brcm_hw_ids.h> #include <soc.h> #include "types.h" #include "pub.h" #include "pmu.h" #include "aiutils.h" /* slow_c...
google
android
rate
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/rate.c
16,697
utf_8
ea0ec0463e3879d053a57138195e53ca
/* */ #include <brcmu_wifi.h> #include <brcmu_utils.h> #include "d11.h" #include "pub.h" #include "rate.h" /* * Rate info per rate: It tells whether a rate is ofdm or not and its phy_rate * value */ const u8 rate_info[BRCM_MAXRATE + 1] = { /* 0 1 2 3 4 5 6 7 8 9 */ /* 0 */ 0x...
google
android
led
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/led.c
3,087
utf_8
2cf121646bb9c4f95b262e8e0c49f061
#include <net/mac80211.h> #include <linux/bcma/bcma_driver_chipcommon.h> #include <linux/gpio.h> #include "mac80211_if.h" #include "pub.h" #include "main.h" #include "led.h" /* number of leds */ #define BRCMS_LED_NO 4 /* behavior mask */ #define BRCMS_LED_BEH_MASK 0x7f /* activelow (polarity) bit */ #define BR...
google
android
dma
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/dma.c
43,905
utf_8
f7cdc81d6640b3df063ad7b66c80ecb8
/* */ #include <linux/slab.h> #include <linux/delay.h> #include <linux/pci.h> #include <net/cfg80211.h> #include <net/mac80211.h> #include <brcmu_utils.h> #include <aiutils.h> #include "types.h" #include "main.h" #include "dma.h" #include "soc.h" #include "scb.h" #include "ampdu.h" #include "debug.h" #include "brcms_t...
google
android
ucode_loader
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/ucode_loader.c
3,965
utf_8
32fe3fda6cd5a9e3708d8c313568983c
/* */ #include <defs.h> #include "types.h" #include <ucode_loader.h> enum { D11UCODE_NAMETAG_START = 0, D11LCN0BSINITVALS24, D11LCN0INITVALS24, D11LCN1BSINITVALS24, D11LCN1INITVALS24, D11LCN2BSINITVALS24, D11LCN2INITVALS24, D11N0ABSINITVALS16, D11N0BSINITVALS16, D11N0INITVALS16, D11UCODE_OVERSIGHT16_MIMO, ...
google
android
pmu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/pmu.c
4,451
utf_8
9a32c7dbc40618208199fcd278faac67
/* */ #include <linux/delay.h> #include <linux/io.h> #include <brcm_hw_ids.h> #include <chipcommon.h> #include <brcmu_utils.h> #include "pub.h" #include "aiutils.h" #include "pmu.h" #include "soc.h" /* * external LPO crystal frequency */ #define EXT_ILP_HZ 32768 /* * Duration for ILP clock frequency measurment in m...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/debug.c
8,489
utf_8
2b528124f535d1c10c710f5ffac8f768
/* */ #include <linux/debugfs.h> #include <linux/if_ether.h> #include <linux/if.h> #include <linux/net.h> #include <linux/netdevice.h> #include <linux/ieee80211.h> #include <linux/module.h> #include <net/mac80211.h> #include <defs.h> #include <brcmu_wifi.h> #include <brcmu_utils.h> #include "types.h" #include "main.h"...
google
android
mac80211_if
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
43,341
utf_8
a2dafc1339e2be964d7cc3623164f662
/* */ #define __UNDEF_NO_VERSION__ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/etherdevice.h> #include <linux/sched.h> #include <linux/firmware.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/bcma/bcma.h> #include <net/mac80211.h> #include <defs.h> #include "phy/phy_int.h" #in...
google
android
phy_shim
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy_shim.c
5,647
utf_8
5bdd0b41088927560491c033d24b946f
/* */ /* * This is "two-way" interface, acting as the SHIM layer between driver * and PHY layer. The driver can optionally call this translation layer * to do some preprocessing, then reach PHY. On the PHY->driver direction, * all calls go through this layer since PHY doesn't have access to the * driver's brcms_h...
google
android
ampdu
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/ampdu.c
33,602
utf_8
c441af2da726d012e858d17f81f973d8
/* */ #include <net/mac80211.h> #include "rate.h" #include "scb.h" #include "phy/phy_hal.h" #include "antsel.h" #include "main.h" #include "ampdu.h" #include "debug.h" #include "brcms_trace_events.h" /* max number of mpdus in an ampdu */ #define AMPDU_MAX_MPDU 32 /* max number of mpdus in an ampdu to a legacy */ #de...
google
android
channel
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/channel.c
21,034
utf_8
25573c92d80197cf1a7cb400d31f2968
/* */ #include <linux/types.h> #include <net/cfg80211.h> #include <net/mac80211.h> #include <net/regulatory.h> #include <defs.h> #include "pub.h" #include "phy/phy_hal.h" #include "main.h" #include "stf.h" #include "channel.h" #include "mac80211_if.h" #include "debug.h" /* QDB() macro takes a dB value and converts to ...
google
android
phy_qmath
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_qmath.c
8,107
utf_8
57bfff1ba8c42303dcf7e1bb9bf2814d
/* */ #include "phy_qmath.h" /* * Description: This function make 16 bit unsigned multiplication. * To fit the output into 16 bits the 32 bit multiplication result is right * shifted by 16 bits. */ u16 qm_mulu16(u16 op1, u16 op2) { return (u16) (((u32) op1 * (u32) op2) >> 16); } /* * Description: This function m...
google
android
phy_lcn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c
132,740
utf_8
cfcdd21d0e8970affbe58aa946ff52ef
/* */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/cordic.h> #include <pmu.h> #include <d11.h> #include <phy_shim.h> #include "phy_qmath.h" #include "phy_hal.h" #include "phy_radio.h" #include "phytbl_lcn.h" #include "phy_lcn.h" #define PLL_2064_NDIV 90 #define PLL_2064_LOW_END_VCO 3000 #define ...
google
android
phy_n
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c
937,979
utf_8
c1d8a59074d9aee7d884e30990af32fe
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/delay.h> #include <linux/cordic.h> #include <brcm_hw_ids.h> #include <aiutils.h> #include <chipcommon.h> #include <pmu.h> #include <d11.h> #include <phy_shim.h> #include "phy_int.h" #include "phy_hal.h" #include "phy_radio.h" #...
google
android
phy_cmn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_cmn.c
72,914
utf_8
4b87be7040091aa8813b4be00518453c
/* */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/bitops.h> #include <brcm_hw_ids.h> #include <chipcommon.h> #include <aiutils.h> #include <d11.h> #include <phy_shim.h> #include "phy_hal.h" #include "phy_int.h" #include "phy_radio.h" #include "phy_lcn.h" #include "phyreg_n.h" #define VALID_N_RAD...
google
android
phytbl_lcn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_lcn.c
43,852
utf_8
335d3fab7e9ae7ab8e0baf2e4057e084
/* */ #include <types.h> #include "phytbl_lcn.h" static const u32 dot11lcn_gain_tbl_rev0[] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000000, 0x00000004, 0x00000008, 0x00000001, 0x00000005, 0x00000009, 0x0000000d, 0x0000004d, 0x...
google
android
phytbl_n
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/brcm80211/brcmsmac/phy/phytbl_n.c
135,101
utf_8
569654f606baeb125a37ebf9d95e352d
/* */ #include <types.h> #include "phytbl_n.h" static const u32 frame_struct_rev0[] = { 0x08004a04, 0x00100000, 0x01000a05, 0x00100020, 0x09804506, 0x00100030, 0x09804507, 0x00100030, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x08004a0c, 0x0010000...
google
android
common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/common.c
146,692
utf_8
8576d9a39ee44e1289f10570c170f235
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 *****************************************************************************/ #include <linux/kernel.h> #include <linux/module.h> #include <linux/etherdevice....
google
android
3945
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/3945.c
77,623
utf_8
35f3f0bed3e3dedff109c6f7381dea42
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #...
google
android
4965-debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/4965-debug.c
30,500
utf_8
f5bb0932015e41a4e5d0ebaea5d5b2ca
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 *****************************************************************************/ #include "common.h" #include "4965.h" static const char *fmt_value = " %-30s %10u\...
google
android
4965-mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/4965-mac.c
189,628
utf_8
3800d2e55d037afe4e76af9669cd6a02
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
google
android
4965-rs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/4965-rs.c
81,907
utf_8
a90a3203297efc60ce72724f8a943607
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #include <linux/kernel.h> #include <linux/skbuff.h> #include <linux/slab.h> #...
google
android
4965-calib
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/4965-calib.c
30,735
utf_8
848eef709fce413b3571ca998f8e9316
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING...
google
android
4965
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/4965.c
52,593
utf_8
dcd541e9a3872b3744ae6bc581c7696c
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #i...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/debug.c
39,758
utf_8
72b86a8d1184d9cf656b0531c0f34100
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 *****************************************************************************/ #include <linux/ieee80211.h> #include <linux/export.h> #include <net/mac80211.h>...
google
android
3945-mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/3945-mac.c
107,796
utf_8
b38ff92f1605839627b817a21f6c8abb
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
google
android
3945-rs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/3945-rs.c
25,556
utf_8
3b499c9a8bb74e4ab042335a863da067
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 * *****************************************************************************/ #include <linux/kernel.h> #include <linux/skbuff.h> #include <linux/slab.h> #...
google
android
3945-debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/iwlegacy/3945-debug.c
19,582
utf_8
7e7b4dc41d4e126c95e3fea738e80e0d
/****************************************************************************** * * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 *****************************************************************************/ #include "common.h" #include "3945.h" static int il3945_stats_flag(struct il_pri...
google
android
rfkill
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c
1,769
utf_8
44f86d3815fdf112d042fca21f10207c
/* * Linux RFKILL support for RTL8187 * */ #include <linux/types.h> #include <linux/usb.h> #include <net/mac80211.h> #include "rtl8187.h" #include "rfkill.h" static bool rtl8187_is_radio_enabled(struct rtl8187_priv *priv) { u8 gpio; gpio = rtl818x_ioread8(priv, &priv->map->GPIO0); rtl818x_iowrite8(priv, &priv->ma...
google
android
rtl8225
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c
30,305
utf_8
efbad33f504783fe3d42bffd4170f95a
/* * Radio tuning for RTL8225 on RTL8187 * */ #include <linux/usb.h> #include <net/mac80211.h> #include "rtl8187.h" #include "rtl8225.h" static void rtl8225_write_bitbang(struct ieee80211_hw *dev, u8 addr, u16 data) { struct rtl8187_priv *priv = dev->priv; u16 reg80, reg84, reg82; u32 bangdata; int i; bangdata ...
google
android
leds
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c
6,568
utf_8
2f05156ca887bafeb6bb0aa6e79ee6c1
/* * Linux LED driver for RTL8187 * */ #ifdef CONFIG_RTL8187_LEDS #include <net/mac80211.h> #include <linux/usb.h> #include <linux/eeprom_93cx6.h> #include "rtl8187.h" #include "leds.h" static void led_turn_on(struct work_struct *work) { /* As this routine does read/write operations on the hardware, it must * be ...
google
android
dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
49,886
utf_8
c9ce7c825c3b72bf6f8e0df7430ecb1c
/* * Linux device driver for RTL8187 * */ #include <linux/usb.h> #include <linux/slab.h> #include <linux/delay.h> #include <linux/etherdevice.h> #include <linux/eeprom_93cx6.h> #include <linux/module.h> #include <net/mac80211.h> #include "rtl8187.h" #include "rtl8225.h" #ifdef CONFIG_RTL8187_LEDS #include "leds.h" #...
google
android
grf5101
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/grf5101.c
5,088
utf_8
845d2e6b6f2b4fbf1f08d4fea1b8c448
/* * Radio tuning for GCT GRF5101 on RTL8180 * */ #include <linux/pci.h> #include <linux/delay.h> #include <net/mac80211.h> #include "rtl8180.h" #include "grf5101.h" static const int grf5101_encode[] = { 0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE, 0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF }; static void write_grf5101(s...
google
android
rtl8225
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225.c
27,382
utf_8
6a803159ce9d9a0a395ce0b9bffb056b
/* * Radio tuning for RTL8225 on RTL8180 * */ #include <linux/pci.h> #include <linux/delay.h> #include <net/mac80211.h> #include "rtl8180.h" #include "rtl8225.h" static void rtl8225_write(struct ieee80211_hw *dev, u8 addr, u16 data) { struct rtl8180_priv *priv = dev->priv; u16 reg80, reg84, reg82; u32 bangdata; ...
google
android
rtl8225se
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl8225se.c
15,265
utf_8
edaabbde07fcffe3d8365f22bb6f1424
/* Radio tuning for RTL8225 on RTL8187SE * */ #include <net/mac80211.h> #include "rtl8180.h" #include "rtl8225se.h" #define PFX "rtl8225 (se) " static const u32 RF_GAIN_TABLE[] = { 0x0096, 0x0076, 0x0056, 0x0036, 0x0016, 0x01f6, 0x01d6, 0x01b6, 0x0196, 0x0176, 0x00F7, 0x00D7, 0x00B7, 0x0097, 0x0077, 0x0057, 0x0037...
google
android
sa2400
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/sa2400.c
5,977
utf_8
f97de5a7755bd73f14ae26cee10c1aea
/* * Radio tuning for Philips SA2400 on RTL8180 * */ #include <linux/pci.h> #include <linux/delay.h> #include <net/mac80211.h> #include "rtl8180.h" #include "sa2400.h" static const u32 sa2400_chan[] = { 0x00096c, /* ch1 */ 0x080970, 0x100974, 0x180978, 0x000980, 0x080984, 0x100988, 0x18098c, 0x000994, 0x08...
google
android
dev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c
57,428
utf_8
6e1c465926f22bb592fd8961751d5095
/* Linux device driver for RTL8180 / RTL8185 / RTL8187SE * * * A huge thanks goes to Sara V. Nari who forgives me when I'm * sitting in front of my laptop at evening, week-end, night... * * A special thanks goes to Antonio Cuni, who helped me with * some python userspace stuff I used to debug RTL8187SE code, and...
google
android
max2820
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtl818x/rtl8180/max2820.c
4,087
utf_8
3c8c52ee7973e0298aaab7858a64eb48
/* * Radio tuning for Maxim max2820 on RTL8180 * */ #include <linux/pci.h> #include <linux/delay.h> #include <net/mac80211.h> #include "rtl8180.h" #include "max2820.h" static const u32 max2820_chan[] = { 12, /* CH 1 */ 17, 22, 27, 32, 37, 42, 47, 52, 57, 62, 67, 72, 84, /* CH 14 */ }; static void write...
google
android
rc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/rc.c
8,445
utf_8
f3614cc3d322d99c31dd820207dd2530
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "base.h" #include "rc.h" /* *Finds the highest rate index we can use *if skb is special data like DHCP/EAPOL, we set should ...
google
android
cam
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/cam.c
10,006
utf_8
3d0ec591c9a6e433e6663584df8954ed
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "cam.h" #include <linux/export.h> void rtl_cam_reset_sec_info(struct ieee80211_hw *hw) { struct rtl_priv *rtlpriv = rtl_priv(h...
google
android
pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/pci.c
68,767
utf_8
984ff85e98c14c8dc4b5bfa40e2fe05c
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "core.h" #include "pci.h" #include "base.h" #include "ps.h" #include "efuse.h" #include <linux/interrupt.h> #include <linux/exp...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/core.c
55,441
utf_8
0b2bf0cda722e7782d9e64b5c12bd20a
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "core.h" #include "cam.h" #include "base.h" #include "ps.h" #include "pwrseqcmd.h" #include "btcoexist/rtl_btc.h" #include <lin...
google
android
regd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/regd.c
12,729
utf_8
1033be8d3fe0f6d30575b7ea947d4769
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "regd.h" static struct country_code_to_enum_rd allCountries[] = { {COUNTRY_CODE_FCC, "US"}, {COUNTRY_CODE_IC, "US"}, {COUNTR...
google
android
efuse
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/efuse.c
34,034
utf_8
a371386b6b0cf5a98b2b3e671d17d199
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "efuse.h" #include <linux/export.h> static const u8 MAX_PGPKT_SIZE = 9; static const u8 PGPKT_DATA_SIZE = 8; static const int E...
google
android
stats
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/stats.c
8,194
utf_8
a07478a9db23bafadc5393a62f7336ac
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "stats.h" #include <linux/export.h> u8 rtl_query_rxpwrpercentage(char antpower) { if ((antpower <= -100) || (antpower >= 20)) ...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/debug.c
1,810
utf_8
532db674a2714b78eef371bd1adc9cd7
/****************************************************************************** * *****************************************************************************/ #include "wifi.h" #include <linux/moduleparam.h> void rtl_dbgp_flag_init(struct ieee80211_hw *hw) { struct rtl_priv *rtlpriv = rtl_priv(hw); u8 i; rtlpriv...
google
android
base
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/base.c
60,912
utf_8
659211f232d03bbb9ce9b451e4d5917e
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "rc.h" #include "base.h" #include "efuse.h" #include "cam.h" #include "ps.h" #include "regd.h" #include "pci.h" #include <linux...
google
android
ps
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/ps.c
26,313
utf_8
fd522e42df91a402c30ab5f0450357a2
/****************************************************************************** * * *****************************************************************************/ #include "wifi.h" #include "base.h" #include "ps.h" #include <linux/export.h> #include "btcoexist/rtl_btc.h" bool rtl_ps_enable_nic(struct ieee80211_hw *h...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/realtek/rtlwifi/usb.c
31,786
utf_8
fce1adc174f6c7a87e5978b379ecc9ad
/****************************************************************************** * * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, * Hsinchu 300, Taiwan. * *****************************************************************************/ #include "wifi.h" #include "core.h" #include "usb.h" #inc...