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
radio_2055
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/radio_2055.c
54,026
utf_8
3ebcfa458d168b9a6bf4ebf07cd79fb3
/* Broadcom B43 wireless driver IEEE 802.11n PHY and radio device data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "radio_2055.h" #include "phy_common.h" struct b2055_inittab_entry { /* Value to write if we use the 5GHz ban...
google
android
tables_lpphy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/tables_lpphy.c
153,834
windows_1250
91e1fce0c9ff87fdd55bb89d16ab7a88
/* Broadcom B43 wireless driver IEEE 802.11a/g LP-PHY and radio device data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "tables_lpphy.h" #include "phy_common.h" #include "phy_lp.h" /* Entry of the 2062/2063 radio init table ...
google
android
sdio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/sdio.c
4,726
utf_8
fe4f574af76d244380f755753861fe16
/* * Broadcom B43 wireless driver * * SDIO over Sonics Silicon Backplane bus glue for b43. * * your option) any later version. */ #include <linux/kernel.h> #include <linux/mmc/card.h> #include <linux/mmc/sdio_func.h> #include <linux/mmc/sdio_ids.h> #include <linux/slab.h> #include <linux/ssb/ssb.h> #include "sdio...
google
android
ppr
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/ppr.c
5,409
utf_8
95ab6e985de4ab237592925a047525a2
/* * Broadcom B43 wireless driver * PPR (Power Per Rate) management * */ #include "ppr.h" #include "b43.h" #define ppr_for_each_entry(ppr, i, entry) \ for (i = 0, entry = &(ppr)->__all_rates[i]; \ i < B43_PPR_RATES_NUM; \ i++, entry++) void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *...
google
android
dma
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/dma.c
48,845
utf_8
885bef37eaf1604a4b9fb9f817fa3390
/* Broadcom B43 wireless driver DMA ringbuffer and descriptor allocation/management the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "dma.h" #include "main.h" #include "debugfs.h" #include "xmit.h" #include <linux/dma-mapping.h> #includ...
google
android
phy_g
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/phy_g.c
83,234
utf_8
0f5bd36b4ecbd66d561a9a5066fc65d7
/* Broadcom B43 wireless driver IEEE 802.11g PHY driver the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "phy_g.h" #include "phy_common.h" #include "lo.h" #include "main.h" #include <linux/bitrev.h> #include <linux/slab.h> static const ...
google
android
phy_lp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/phy_lp.c
99,028
windows_1250
875fbe7eac67b8d2ca5718729686bcb0
/* Broadcom B43 wireless driver IEEE 802.11a/g LP-PHY driver the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/slab.h> #include "b43.h" #include "main.h" #include "phy_lp.h" #include "phy_common.h" #include "tables_lpphy.h" static inline u16 chann...
google
android
pio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/pio.c
20,792
utf_8
27fe23abf0d90bc8165e8cf969f1cafe
/* Broadcom B43 wireless driver PIO data transfer the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "pio.h" #include "dma.h" #include "main.h" #include "xmit.h" #include <linux/delay.h> #include <linux/sched.h> #include <linux/slab.h> st...
google
android
leds
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/leds.c
9,271
utf_8
a005d0964177aebf660a562cf2dafaa6
/* Broadcom B43 wireless driver LED control the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "leds.h" #include "rfkill.h" static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, bool activelow) { u16 ctl; ctl = b43_rea...
google
android
phy_common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/phy_common.c
15,811
utf_8
305eb928c4be9a6c4bc4bc3f0a97ec1f
/* Broadcom B43 wireless driver Common PHY routines the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "phy_common.h" #include "phy_g.h" #include "phy_a.h" #include "phy_n.h" #include "phy_lp.h" #include "phy_ht.h" #include "phy_lcn.h" #include "phy_ac.h"...
google
android
lo
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/lo.c
27,470
utf_8
d046117c2af6788fd0a5dab09215e603
/* Broadcom B43 wireless driver G PHY LO (LocalOscillator) Measuring and Control routines the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "lo.h" #include "phy_g.h" #include "main.h" #include <linux/delay.h> #include <linux/sched.h> #in...
google
android
radio_2057
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/radio_2057.c
22,391
utf_8
2df0efc1ca6bb6a47654b9f442a868a7
/* Broadcom B43 wireless driver IEEE 802.11n 2057 radio device data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "radio_2057.h" #include "phy_common.h" static u16 r2057_rev4_init[][2] = { { 0x0E, 0x20 }, { 0x31, 0x00 }, { 0x...
google
android
phy_ac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/phy_ac.c
2,414
utf_8
80797b9e34a33e7385af257e5d891286
/* * Broadcom B43 wireless driver * IEEE 802.11ac AC-PHY support * * option) any later version. */ #include "b43.h" #include "phy_ac.h" /************************************************** * Basic PHY ops **************************************************/ static int b43_phy_ac_op_allocate(struct b43_wldev *dev) ...
google
android
xmit
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/xmit.c
26,201
utf_8
bf0f4a5512c87c6ab19608b1598bab55
/* Broadcom B43 wireless driver Transmission (TX/RX) related functions. the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "xmit.h" #include "phy_common.h" #include "dma.h" #include "pio.h" static const struct b43_tx_legacy_rate_phy_ctl_entry b43_tx_legac...
google
android
tables_nphy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/tables_nphy.c
161,069
utf_8
c1ba17ff23326e9f7b79536f21f89dd7
/* Broadcom B43 wireless driver IEEE 802.11n PHY data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "tables_nphy.h" #include "phy_common.h" #include "phy_n.h" static const u8 b43_ntab_adjustpower0[] = { 0x00, 0x00, 0x00, 0x00...
google
android
tables_phy_ht
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/tables_phy_ht.c
32,970
utf_8
4d10ffde0821dfb0cba2997ddcb0cc08
/* Broadcom B43 wireless driver IEEE 802.11n HT-PHY data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "tables_phy_ht.h" #include "phy_common.h" #include "phy_ht.h" static const u16 b43_httab_0x12[] = { 0x0000, 0x0008, 0x000a...
google
android
radio_2056
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/radio_2056.c
521,650
utf_8
7d6c3d30f459f0133a741769cbe635e7
/* Broadcom B43 wireless driver IEEE 802.11n 2056 radio device data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "radio_2056.h" #include "phy_common.h" struct b2056_inittab_entry { /* Value to write if we use the 5GHz band. ...
google
android
radio_2059
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/radio_2059.c
11,572
utf_8
e45b17310d8caa0513703566c26ba56d
/* Broadcom B43 wireless driver IEEE 802.11n 2059 radio device data tables the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "radio_2059.h" /* Extracted from MMIO dump of 6.30.223.141 */ static u16 r2059_phy_rev1_init[][2] = { { 0x051, ...
google
android
bus
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/bus.c
7,299
utf_8
957437d3170386f0a72aa0cf8090997f
/* Broadcom B43 wireless driver Bus abstraction layer the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef CONFIG_BCM47XX_BCMA #include <asm/mach-bcm47xx/bcm47xx.h> #endif #include "b43.h" #include "bus.h" /* BCMA */ #ifdef CONFIG_B43_BCMA static int b43_bus_...
google
android
phy_a
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/phy_a.c
16,380
utf_8
3af150cd84d9877b28da29ea54086d18
/* Broadcom B43 wireless driver IEEE 802.11a PHY driver the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/slab.h> #include "b43.h" #include "phy_a.h" #include "phy_common.h" #include "wa.h" #include "tables.h" #include "main.h" /* Get the freq, as...
google
android
tables
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/b43/tables.c
14,620
utf_8
5181b4c7f4699cbfffe68ade3880f2e1
/* Broadcom B43 wireless driver the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "b43.h" #include "tables.h" #include "phy_g.h" const u32 b43_tab_rotor[] = { 0xFEB93FFD, 0xFEC63FFD, /* 0 */ 0xFED23FFD, 0xFEDF3FFD, 0xFEEC3FFE, 0xFEF83FFE, 0xFF053FFE, 0...
google
android
dfs_pri_detector
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/dfs_pri_detector.c
11,016
utf_8
d32004dec7ea6c8b57ce30ff07ab9dae
/* */ #include <linux/slab.h> #include <linux/spinlock.h> #include "ath.h" #include "dfs_pattern_detector.h" #include "dfs_pri_detector.h" struct ath_dfs_pool_stats global_dfs_pool_stats = {}; */ struct pulse_elem { struct list_head head; u64 ts; }; /** * pde_get_multiple() - get number of multiples considering a ...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/main.c
2,755
utf_8
df8656f2195a101338e576c338dd0cb1
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/module.h> #include "ath.h" #include "trace.h" MODULE_AUTHOR("Atheros Communications"); MODULE_DESCRIPTION("Shared library for Atheros wireless LAN cards."); struct sk_buff *ath_rxbuf_alloc(struct ath_common *common, u32 len...
google
android
dfs_pattern_detector
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/dfs_pattern_detector.c
11,154
utf_8
3c797ef0b8fd980cb1ccf928b1bb6f3b
/* */ #include <linux/slab.h> #include <linux/export.h> #include "dfs_pattern_detector.h" #include "dfs_pri_detector.h" #include "ath.h" /** * struct radar_types - contains array of patterns defined for one DFS domain */ struct radar_types { enum nl80211_dfs_regions region; u32 num_radar_types; const struct radar...
google
android
regd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/regd.c
20,197
utf_8
6427045e44f4acd12d78fbdc9a0963de
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/export.h> #include <net/cfg80211.h> #include <net/mac80211.h> #include "regd.h" #include "regd_common.h" static int __ath_regd_init(struct ath_regulatory *reg); /* * This is a set of common rules used by our world regulatory d...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/debug.c
1,515
utf_8
b10ae0382663f84e082612d585b495b2
/* */ #include <linux/export.h> #include "ath.h" const char *ath_opmode_to_string(enum nl80211_iftype opmode) { switch (opmode) { case NL80211_IFTYPE_UNSPECIFIED: return "UNSPEC"; case NL80211_IFTYPE_ADHOC: return "ADHOC"; case NL80211_IFTYPE_STATION: return "STATION"; case NL80211_IFTYPE_AP: return "AP";...
google
android
key
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/key.c
17,356
utf_8
33fe0be1a8d83c4e22a05b7e66edfb87
/* */ #include <linux/export.h> #include <asm/unaligned.h> #include <net/mac80211.h> #include "ath.h" #include "reg.h" #define REG_READ (common->ops->read) #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) #define ENABLE_REGWRITE_BUFFER(_ah) \ if (common->ops->enable_write_buffer) \ comm...
google
android
trace
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/trace.c
859
utf_8
68e91f4392dc0c380e254bb82d827500
/* */ #include <linux/module.h> #define CREATE_TRACE_POINTS #include "trace.h"
google
android
hw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/hw.c
6,542
utf_8
b398556167ac0b9873159feac5d86829
/* */ #include <linux/export.h> #include <asm/unaligned.h> #include "ath.h" #include "reg.h" #define REG_READ (common->ops->read) #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) /** * ath_hw_set_bssid_mask - filter out bssids we listen * * * BSSID masking is a method used by AR5212 and n...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/main.c
50,123
utf_8
a573d5e96625096e04803a51675e4de8
/* * Atheros CARL9170 driver * * mac80211 interaction code * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT...
google
android
rx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/rx.c
24,631
utf_8
22da5dc77078e957278ac956ad7babca
/* * Atheros CARL9170 driver * * 802.11 & command trap routines * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CON...
google
android
mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/mac.c
14,579
utf_8
f8e788704101e20e94a1fc093451036d
/* * Atheros CARL9170 driver * * MAC programming * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGEN...
google
android
fw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/fw.c
11,664
utf_8
eb0597d93c55dba5fb6ccf6793d666e5
/* * Atheros CARL9170 driver * * firmware parser * */ #include <linux/kernel.h> #include <linux/firmware.h> #include <linux/crc32.h> #include <linux/module.h> #include "carl9170.h" #include "fwcmd.h" #include "version.h" static const u8 otus_magic[4] = { OTUS_MAGIC }; static const void *carl9170_fw_find_desc(struc...
google
android
phy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/phy.c
56,277
utf_8
908c1620e32f60d99652d882ad1cde73
/* * Atheros CARL9170 driver * * PHY and RF code * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGEN...
google
android
led
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/led.c
4,997
utf_8
06dab71368c6086072d54d7430f3414e
/* * Atheros CARL9170 driver * * LED handling * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE ...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/debug.c
23,895
utf_8
021100fdfca1055c11a91ea20a17800a
/* * Atheros CARL9170 driver * * debug(fs) probing * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIG...
google
android
tx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/tx.c
43,560
utf_8
555a679edc334c9ff155cc411c227d07
/* * Atheros CARL9170 driver * * 802.11 xmit & status routines * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONT...
google
android
cmd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/cmd.c
5,779
utf_8
b354b3232ff4ac1c19fe6c5760cb9929
/* * Atheros CARL9170 driver * * Basic HW register/memory/command access functions * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/carl9170/usb.c
26,904
utf_8
667656607d68170340d452a592749054
/* * Atheros CARL9170 driver * * USB - frontend * * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENC...
google
android
init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/init.c
47,445
utf_8
e2ba03dc843aa0b37c4ce4b7064fb939
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/moduleparam.h> #include <linux/errno.h> #include <linux/export.h> #include <linux/of.h> #include <linux/mmc/sdio_func.h> #include <linux/vmalloc.h> #include "core.h" #include "cfg80211.h" #include "target.h" #include "debug.h" #include "hif-ops.h" #incl...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/main.c
35,325
utf_8
0e6739436843c999d0d6954561ba2a24
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "core.h" #include "hif-ops.h" #include "cfg80211.h" #include "target.h" #include "debug.h" struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr) { struct ath6kl *ar = vif->ar; struct ath6kl_sta *conn = NULL; u8 i, max_conn; if (is_zero_...
google
android
txrx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/txrx.c
45,779
utf_8
53984ee4b8066ea0c87f85772e08eda8
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "core.h" #include "debug.h" #include "htc-ops.h" #include "trace.h" /* * tid - tid_mux0..tid_mux3 * aid - tid_mux4..tid_mux7 */ #define ATH6KL_TID_MASK 0xf #define ATH6KL_AID_SHIFT 4 static inline u8 ath6kl_get_tid(u8 tid_mux) { return tid_mux & ATH6KL_TID...
google
android
htc_mbox
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/htc_mbox.c
76,327
utf_8
58ff36a1ea19258f970086f9c576440f
/* */ #include "core.h" #include "hif.h" #include "debug.h" #include "hif-ops.h" #include "trace.h" #include <asm/unaligned.h> #define CALC_TXRX_PADDED_LEN(dev, len) (__ALIGN_MASK((len), (dev)->block_mask)) static void ath6kl_htc_mbox_cleanup(struct htc_target *target); static void ath6kl_htc_mbox_stop(struct htc_tar...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/core.c
9,201
utf_8
f6aad4cd0a72bf8b47bde263e4486a72
/* */ #include "core.h" #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/export.h> #include <linux/vmalloc.h> #include "debug.h" #include "hif-ops.h" #include "htc-ops.h" #include "cfg80211.h" unsigned int debug_mask; static unsigned int suspend_mode; static unsigned int wow_mode; static unsign...
google
android
wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/wmi.c
110,625
utf_8
b119c0751c5da2d20a5e7b31043a74c4
/* */ #include <linux/ip.h> #include <linux/in.h> #include "core.h" #include "debug.h" #include "testmode.h" #include "trace.h" #include "../regd.h" #include "../regd_common.h" static int ath6kl_wmi_sync_point(struct wmi *wmi, u8 if_idx); static const s32 wmi_rate_tbl[][2] = { /* {W/O SGI, with SGI} */ {1000, 1000},...
google
android
sdio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/sdio.c
37,935
utf_8
9394065f171aa87b65a692598b32af90
/* */ #include <linux/module.h> #include <linux/mmc/card.h> #include <linux/mmc/mmc.h> #include <linux/mmc/host.h> #include <linux/mmc/sdio_func.h> #include <linux/mmc/sdio_ids.h> #include <linux/mmc/sdio.h> #include <linux/mmc/sd.h> #include "hif.h" #include "hif-ops.h" #include "target.h" #include "debug.h" #include...
google
android
hif
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/hif.c
19,014
utf_8
39076e89f9c2bd66c04313f47d510b40
/* */ #include "hif.h" #include <linux/export.h> #include "core.h" #include "target.h" #include "hif-ops.h" #include "debug.h" #include "trace.h" #define MAILBOX_FOR_BLOCK_SIZE 1 #define ATH6KL_TIME_QUANTUM 10 /* in ms */ static int ath6kl_hif_cp_scat_dma_buf(struct hif_scatter_req *req, bool from_...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/debug.c
46,650
utf_8
0519d0809b02d7340db54a2b11d2918b
/* */ #include "core.h" #include <linux/skbuff.h> #include <linux/fs.h> #include <linux/vmalloc.h> #include <linux/export.h> #include "debug.h" #include "target.h" struct ath6kl_fwlog_slot { __le32 timestamp; __le32 length; /* max ATH6KL_FWLOG_PAYLOAD_SIZE bytes */ u8 payload[0]; }; #define ATH6KL_FWLOG_MAX_ENTRIE...
google
android
trace
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/trace.c
943
utf_8
fa59a782ffabc7713b3bfc96c9d849ff
/* */ #include <linux/module.h> #define CREATE_TRACE_POINTS #include "trace.h" EXPORT_TRACEPOINT_SYMBOL(ath6kl_sdio); EXPORT_TRACEPOINT_SYMBOL(ath6kl_sdio_scat);
google
android
bmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/bmi.c
13,142
utf_8
0a3624f1bb243d5006d64d412e2740f3
/* */ #include "core.h" #include "hif-ops.h" #include "target.h" #include "debug.h" int ath6kl_bmi_done(struct ath6kl *ar) { int ret; u32 cid = BMI_DONE; if (ar->bmi.done_sent) { ath6kl_dbg(ATH6KL_DBG_BMI, "bmi done skipped\n"); return 0; } ar->bmi.done_sent = true; ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid,...
google
android
cfg80211
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/cfg80211.c
103,730
utf_8
63092c621d46f146828cb13ea58cb67e
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/moduleparam.h> #include <linux/inetdevice.h> #include <linux/export.h> #include "core.h" #include "cfg80211.h" #include "debug.h" #include "hif-ops.h" #include "testmode.h" #define RATETAB_ENT(_rate, _rateid, _flags) { \ .bitrate = (_rate), ...
google
android
htc_pipe
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/htc_pipe.c
44,288
utf_8
b308d5e99b7fd18cce4abd51be3117ff
/* */ #include "core.h" #include "debug.h" #include "hif-ops.h" #define HTC_PACKET_CONTAINER_ALLOCATION 32 #define HTC_CONTROL_BUFFER_SIZE (HTC_MAX_CTRL_MSG_LEN + HTC_HDR_LENGTH) static int ath6kl_htc_pipe_tx(struct htc_target *handle, struct htc_packet *packet); static void ath6kl_htc_pipe_cleanup(struct htc...
google
android
testmode
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/testmode.c
2,767
utf_8
741acdb7728448e06e49dca611e5585d
/* */ #include "testmode.h" #include "debug.h" #include <net/netlink.h> enum ath6kl_tm_attr { __ATH6KL_TM_ATTR_INVALID = 0, ATH6KL_TM_ATTR_CMD = 1, ATH6KL_TM_ATTR_DATA = 2, /* keep last */ __ATH6KL_TM_ATTR_AFTER_LAST, ATH6KL_TM_ATTR_MAX = __ATH6KL_TM_ATTR_AFTER_LAST - 1, }; enum ath6kl_tm_cmd { ATH6KL_TM_CMD...
google
android
recovery
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/recovery.c
4,364
utf_8
a0972e7281694af73123384c832dc3ff
/* */ #include "core.h" #include "cfg80211.h" #include "debug.h" static void ath6kl_recovery_work(struct work_struct *work) { struct ath6kl *ar = container_of(work, struct ath6kl, fw_recovery.recovery_work); ar->state = ATH6KL_STATE_RECOVERY; del_timer_sync(&ar->fw_recovery.hb_timer); ath6kl_init_hw_restart(...
google
android
usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath6kl/usb.c
31,534
utf_8
04624f671e256da700bea3aedd7fe695
/* */ #include <linux/module.h> #include <linux/usb.h> #include "debug.h" #include "core.h" /* constants */ #define TX_URB_COUNT 32 #define RX_URB_COUNT 32 #define ATH6KL_USB_RX_BUFFER_SIZE 4096 /* tx/rx pipes for usb */ enum ATH6KL_USB_PIPE_ID { ATH6KL_USB_PIPE_TX_CTRL = 0, ATH6KL_USB_PIPE_TX...
google
android
ar5523
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ar5523/ar5523.c
47,801
utf_8
a225533bb0f3b938c940f22c16416b03
/* * out how the hardware works. It contains a lot magic numbers because of * that and only has minimal functionality. */ #include <linux/compiler.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/list.h> #include <linux/completion.h> #include <linux/firmware.h> #include <linux/skbuff.h> #inclu...
google
android
p2p
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/p2p.c
4,336
utf_8
397959c718ddf634a07a682cd17d8c6f
/* */ #include "core.h" #include "wmi.h" #include "mac.h" #include "p2p.h" static void ath10k_p2p_noa_ie_fill(u8 *data, size_t len, const struct wmi_p2p_noa_info *noa) { struct ieee80211_p2p_noa_attr *noa_attr; u8 ctwindow_oppps = noa->ctwindow_oppps; u8 ctwindow = ctwindow_oppps >> WMI_P2P_OPPPS_CTWINDOW_O...
google
android
mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/mac.c
189,468
utf_8
deb3a4862dc8a543299b685bf1f144fa
/* */ #include "mac.h" #include <net/mac80211.h> #include <linux/etherdevice.h> #include "hif.h" #include "core.h" #include "debug.h" #include "wmi.h" #include "htt.h" #include "txrx.h" #include "testmode.h" #include "wmi.h" #include "wmi-tlv.h" #include "wmi-ops.h" #include "wow.h" /*********/ /* Rates */ /*********/...
google
android
thermal
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/thermal.c
5,922
utf_8
cb0f4777d9c7e8f29f98b4bf602d8fac
/* */ #include <linux/device.h> #include <linux/sysfs.h> #include <linux/thermal.h> #include <linux/hwmon.h> #include <linux/hwmon-sysfs.h> #include "core.h" #include "debug.h" #include "wmi-ops.h" static int ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, unsigned long *state) { ...
google
android
htt
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/htt.c
10,444
utf_8
94b3733545d776b5730f21d8dac7c0e2
/* */ #include <linux/slab.h> #include <linux/if_ether.h> #include "htt.h" #include "core.h" #include "debug.h" static const enum htt_t2h_msg_type htt_main_t2h_msg_types[] = { [HTT_MAIN_T2H_MSG_TYPE_VERSION_CONF] = HTT_T2H_MSG_TYPE_VERSION_CONF, [HTT_MAIN_T2H_MSG_TYPE_RX_IND] = HTT_T2H_MSG_TYPE_RX_IND, [HTT_MAIN_T2...
google
android
txrx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/txrx.c
6,357
utf_8
53c26178df4beab1ff60d120d3ecf4ed
/* */ #include "core.h" #include "txrx.h" #include "htt.h" #include "mac.h" #include "debug.h" static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) { if (!ATH10K_SKB_CB(skb)->htt.is_offchan) return; /* If the original wait_for_completion() timed out before * {data,mgmt}_tx_completed() was...
google
android
pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/pci.c
80,997
utf_8
d8fc5e52010090f88a9f567d43bda891
/* */ #include <linux/pci.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/spinlock.h> #include <linux/bitops.h> #include "core.h" #include "debug.h" #include "targaddrs.h" #include "bmi.h" #include "hif.h" #include "htc.h" #include "ce.h" #include "pci.h" enum ath10k_pci_irq_mode { ATH10K_PC...
google
android
htc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/htc.c
21,768
utf_8
6526198536ee572752130ae87d34004e
/* */ #include "core.h" #include "hif.h" #include "debug.h" /********/ /* Send */ /********/ static void ath10k_htc_control_tx_complete(struct ath10k *ar, struct sk_buff *skb) { kfree_skb(skb); } static struct sk_buff *ath10k_htc_build_tx_ctrl_skb(void *ar) { struct sk_buff *skb; struct ath10k_skb_cb *skb_c...
google
android
debugfs_sta
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/debugfs_sta.c
6,917
utf_8
9a7d285a470d7410d8a99fee3339355f
/* */ #include "core.h" #include "wmi-ops.h" #include "debug.h" static ssize_t ath10k_dbg_sta_read_aggr_mode(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) { struct ieee80211_sta *sta = file->private_data; struct ath10k_sta *arsta = (struct ath10k_sta *)sta->drv_priv; stru...
google
android
core
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/core.c
51,471
utf_8
918b21bcc2c980070d3f946c783b6329
/* */ #include <linux/module.h> #include <linux/firmware.h> #include <linux/of.h> #include "core.h" #include "mac.h" #include "htc.h" #include "hif.h" #include "wmi.h" #include "bmi.h" #include "debug.h" #include "htt.h" #include "testmode.h" #include "wmi-ops.h" unsigned int ath10k_debug_mask; static unsigned int ath...
google
android
wmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/wmi.c
258,201
utf_8
11aaa12bbf6b8d8c93822a8c84451616
/* */ #include <linux/skbuff.h> #include <linux/ctype.h> #include "core.h" #include "htc.h" #include "debug.h" #include "wmi.h" #include "wmi-tlv.h" #include "mac.h" #include "testmode.h" #include "wmi-ops.h" #include "p2p.h" #include "hw.h" /* MAIN WMI cmd track */ static struct wmi_cmd_map wmi_cmd_map = { .init_cmd...
google
android
htt_tx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/htt_tx.c
20,692
utf_8
aa6c662af42a2be1d7cf69937b0cc76b
/* */ #include <linux/etherdevice.h> #include "htt.h" #include "mac.h" #include "hif.h" #include "txrx.h" #include "debug.h" void __ath10k_htt_tx_dec_pending(struct ath10k_htt *htt, bool limit_mgmt_desc) { if (limit_mgmt_desc) htt->num_pending_mgmt_tx--; htt->num_pending_tx--; if (htt->num_pending_tx == htt->max_...
google
android
debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/debug.c
55,291
utf_8
bcf9ed050780bb0921b57daff8a87126
/* */ #include <linux/module.h> #include <linux/debugfs.h> #include <linux/vmalloc.h> #include <linux/utsname.h> #include "core.h" #include "debug.h" #include "hif.h" #include "wmi-ops.h" /* ms */ #define ATH10K_DEBUG_HTT_STATS_INTERVAL 1000 #define ATH10K_FW_CRASH_DUMP_VERSION 1 /** * enum ath10k_fw_crash_dump_type ...
google
android
htt_rx
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/htt_rx.c
59,314
utf_8
4a65b98d5438820bad93d648b3880549
/* */ #include "core.h" #include "htc.h" #include "htt.h" #include "txrx.h" #include "debug.h" #include "trace.h" #include "mac.h" #include <linux/log2.h> #define HTT_RX_RING_SIZE HTT_RX_RING_SIZE_MAX #define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1) /* when under memory pressure rx ring refill may fail an...
google
android
ce
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/ce.c
32,270
utf_8
9f81d2cd44ad9b03510aca2ab0e6fd30
/* */ #include "hif.h" #include "pci.h" #include "ce.h" #include "debug.h" /* * Support for Copy Engine hardware, which is mainly used for * communication between Host and Target over a PCIe interconnect. */ /* * A single CopyEngine (CE) comprises two "rings": * a source ring * a destination ring * * Each ...
google
android
spectral
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/spectral.c
14,987
utf_8
da15294605c55c6aec49b2ef2cf4e459
/* */ #include <linux/relay.h> #include "core.h" #include "debug.h" #include "wmi-ops.h" static void send_fft_sample(struct ath10k *ar, const struct fft_sample_tlv *fft_sample_tlv) { int length; if (!ar->spectral.rfs_chan_spec_scan) return; length = __be16_to_cpu(fft_sample_tlv->length) + sizeof(*fft_sa...
google
android
swap
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/swap.c
6,169
utf_8
f142f84757014bbbeb22e2e4bf8e1d80
/* */ /* This file has implementation for code swap logic. With code swap feature, * target can run the fw binary with even smaller IRAM size by using host * memory to store some of the code segments. */ #include "core.h" #include "bmi.h" #include "debug.h" static int ath10k_swap_code_seg_fill(struct ath10k *ar, ...
google
android
trace
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/trace.c
859
utf_8
9390741f1e06ec8d2bd405a32c0a091d
/* */ #include <linux/module.h> #define CREATE_TRACE_POINTS #include "trace.h"
google
android
wow
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/wow.c
7,951
utf_8
d22f95b56a96e345dd0b02897669bb29
/* */ #include "mac.h" #include <net/mac80211.h> #include "hif.h" #include "core.h" #include "debug.h" #include "wmi.h" #include "wmi-ops.h" static const struct wiphy_wowlan_support ath10k_wowlan_support = { .flags = WIPHY_WOWLAN_DISCONNECT | WIPHY_WOWLAN_MAGIC_PKT, .pattern_min_len = WOW_MIN_PATTERN_SIZE, .patt...
google
android
hw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/hw.c
5,304
utf_8
dd2b1c64d2c1e997fd16df396808519d
/* */ #include <linux/types.h> #include "core.h" #include "hw.h" const struct ath10k_hw_regs qca988x_regs = { .rtc_state_cold_reset_mask = 0x00000400, .rtc_soc_base_address = 0x00004000, .rtc_wmac_base_address = 0x00005000, .soc_core_base_address = 0x00009000, .ce_wrapper_base_address = 0x00057000, .ce0_base_...
google
android
bmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/bmi.c
7,767
utf_8
d515079afce9538eb080c1b7532612f1
/* */ #include "bmi.h" #include "hif.h" #include "debug.h" #include "htc.h" void ath10k_bmi_start(struct ath10k *ar) { ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi start\n"); ar->bmi.done_sent = false; } int ath10k_bmi_done(struct ath10k *ar) { struct bmi_cmd cmd; u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); int ret; ...
google
android
testmode
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/testmode.c
12,984
utf_8
5b169b5037b0bd9cb16c0f7085e8ff17
/* */ #include "testmode.h" #include <net/netlink.h> #include <linux/firmware.h> #include "debug.h" #include "wmi.h" #include "hif.h" #include "hw.h" #include "testmode_i.h" static const struct nla_policy ath10k_tm_policy[ATH10K_TM_ATTR_MAX + 1] = { [ATH10K_TM_ATTR_CMD] = { .type = NLA_U32 }, [ATH10K_TM_ATTR_DATA] ...
google
android
wmi-tlv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath10k/wmi-tlv.c
104,766
utf_8
0479e506980dd07bdb6f4e9c56e59303
/* */ #include "core.h" #include "debug.h" #include "mac.h" #include "hw.h" #include "mac.h" #include "wmi.h" #include "wmi-ops.h" #include "wmi-tlv.h" #include "p2p.h" #include "testmode.h" /***************/ /* TLV helpers */ /**************/ struct wmi_tlv_policy { size_t min_len; }; static const struct wmi_tlv_pol...
google
android
tx99
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/tx99.c
6,920
utf_8
82527d79af2233989799c9524e3e7a9e
/* */ #include "ath9k.h" static void ath9k_tx99_stop(struct ath_softc *sc) { struct ath_hw *ah = sc->sc_ah; struct ath_common *common = ath9k_hw_common(ah); ath_drain_all_txq(sc); ath_startrecv(sc); ath9k_hw_set_interrupts(ah); ath9k_hw_enable_interrupts(ah); ieee80211_wake_queues(sc->hw); kfree_skb(sc->tx99_s...
google
android
recv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/recv.c
30,072
utf_8
2a1dbc43c7319bca9aa6b69cc082a65b
/* */ #include <linux/dma-mapping.h> #include "ath9k.h" #include "ar9003_mac.h" #define SKB_CB_ATHBUF(__skb) (*((struct ath_rxbuf **)__skb->cb)) static inline bool ath9k_check_auto_sleep(struct ath_softc *sc) { return sc->ps_enabled && (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); } /* * Setup and link...
google
android
htc_drv_init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/htc_drv_init.c
26,820
utf_8
363628d7760e15f862df45d26296ebee
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "htc.h" MODULE_AUTHOR("Atheros Communications"); MODULE_DESCRIPTION("Atheros driver 802.11n HTC based wireless devices"); static unsigned int ath9k_debug = ATH_DBG_DEFAULT; module_param_named(debug, ath9k_debug, uint, 0); MODULE_PARM_DESC(debug, "Debugging mas...
google
android
htc_drv_debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/htc_drv_debug.c
15,010
utf_8
04dc3afa82f270235beb9dd36ef63bf2
/* */ #include "htc.h" static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) { struct ath9k_htc_priv *priv = file->private_data; struct ath9k_htc_target_int_stats cmd_rsp; char buf[512]; unsigned int len = 0; int ret = 0; memset(&cmd_rsp, 0, sizeo...
google
android
ar9002_phy
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/ar9002_phy.c
17,065
utf_8
0ed97e92b21b3ab9bf6de76e567ad32a
/* */ /** * DOC: Programming Atheros 802.11n analog front end radios * * AR5416 MAC based PCI devices and AR518 MAC based PCI-Express * devices have either an external AR2133 analog front end radio for single * band 2.4 GHz communication or an AR5133 analog front end radio for dual * band 2.4 GHz / 5 GHz communi...
google
android
common
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/common.c
11,138
utf_8
9173f5b1b3d572caae1c7701acc748f2
/* */ /* * Module for common driver code between ath9k and ath9k_htc */ #include <linux/kernel.h> #include <linux/module.h> #include "common.h" MODULE_AUTHOR("Atheros Communications"); MODULE_DESCRIPTION("Shared library for Atheros wireless 802.11n LAN cards."); /* Assumes you've already done the endian to CPU conve...
google
android
ar9003_mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/ar9003_mac.c
17,505
utf_8
1830d6bd2bab65bb2f2bcd1748d23ea7
/* */ #include <linux/export.h> #include "hw.h" #include "ar9003_mac.h" #include "ar9003_mci.h" static void ar9003_hw_rx_enable(struct ath_hw *hw) { REG_WRITE(hw, AR_CR, 0); } static void ar9003_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) { struct ar9003_txc *ads = ds; int checksum = 0; u32 val,...
google
android
gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/gpio.c
14,172
utf_8
3a7f221d54d7e2cad58298fc58323af8
/* */ #include "ath9k.h" /********************************/ /* LED functions */ /********************************/ #ifdef CONFIG_MAC80211_LEDS static void ath_led_brightness(struct led_classdev *led_cdev, enum led_brightness brightness) { struct ath_softc *sc = container_of(led_cdev, struct ath_softc, led...
google
android
common-spectral
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/common-spectral.c
30,988
utf_8
689cc45fa1e7b4d55c7211a5b40029b6
/* */ #include <linux/relay.h> #include <linux/random.h> #include "ath9k.h" static s8 fix_rssi_inv_only(u8 rssi_val) { if (rssi_val == 128) rssi_val = 0; return (s8) rssi_val; } static void ath_debug_send_fft_sample(struct ath_spec_scan_priv *spec_priv, struct fft_sample_tlv *fft_sample_tlv) { int lengt...
google
android
hif_usb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/hif_usb.c
32,947
utf_8
77f6a3ff742b5673e61b1540a702d8e5
/* */ #include <asm/unaligned.h> #include "htc.h" MODULE_FIRMWARE(HTC_7010_MODULE_FW); MODULE_FIRMWARE(HTC_9271_MODULE_FW); static struct usb_device_id ath9k_hif_usb_ids[] = { { USB_DEVICE(0x0cf3, 0x9271) }, /* Atheros */ { USB_DEVICE(0x0cf3, 0x1006) }, /* Atheros */ { USB_DEVICE(0x0846, 0x9030) }, /* Netgear N150 ...
google
android
ar9003_paprd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/ar9003_paprd.c
28,509
utf_8
66de990061dffc13313e5ed1a300ba29
/* */ #include <linux/export.h> #include "hw.h" #include "ar9003_phy.h" void ar9003_paprd_enable(struct ath_hw *ah, bool val) { struct ath9k_channel *chan = ah->curchan; struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep; /* * 3 bits for modalHeader5G.papdRateMaskHt20 * is used for sub-band disabling of PAPRD. ...
google
android
init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/init.c
29,125
utf_8
040e32c42fcdb75fd6168c08d522a110
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/dma-mapping.h> #include <linux/slab.h> #include <linux/ath9k_platform.h> #include <linux/module.h> #include <linux/relay.h> #include <net/ieee80211_radiotap.h> #include "ath9k.h" struct ath9k_eeprom_ctx { struct completion complete; struct ath_hw *ah;...
google
android
main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/main.c
65,326
utf_8
5eeea7b7bda460345641f37ff219bf66
/* */ #include <linux/nl80211.h> #include <linux/delay.h> #include "ath9k.h" #include "btcoex.h" u8 ath9k_parse_mpdudensity(u8 mpdudensity) { /* * 802.11n D2.0 defined values for "Minimum MPDU Start Spacing": * 0 for no restriction * 1 for 1/4 us * 2 for 1/2 us * 3 for 1 us * 4 for 2 us * 5 ...
google
android
common-init
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/common-init.c
8,247
utf_8
2d17d94996c77dc363186ba8070fc1b1
/* */ /* We use the hw_value as an index into our private channel structure */ #include "common.h" #define CHAN2G(_freq, _idx) { \ .band = IEEE80211_BAND_2GHZ, \ .center_freq = (_freq), \ .hw_value = (_idx), \ .max_power = 20, \ } #define CHAN5G(_freq, _idx) { \ .band = IEEE80211_BAND_5GHZ, \ .center_freq = (_f...
google
android
htc_drv_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/htc_drv_main.c
50,161
utf_8
bca450cbdc0e8bc10bbf31a0ec37652d
/* */ #include "htc.h" /*************/ /* Utilities */ /*************/ /* HACK Alert: Use 11NG for 2.4, use 11NA for 5 */ static enum htc_phymode ath9k_htc_get_curmode(struct ath9k_htc_priv *priv, struct ath9k_channel *ichan) { if (IS_CHAN_5GHZ(ichan)) return HTC_MODE_11NA; return HTC_MODE_11NG; } bool ...
google
android
mac
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/mac.c
27,119
utf_8
23d1928b68034998603fc45e3bb6a4da
/* */ #include "hw.h" #include "hw-ops.h" #include <linux/export.h> static void ath9k_hw_set_txq_interrupts(struct ath_hw *ah, struct ath9k_tx_queue_info *qi) { ath_dbg(ath9k_hw_common(ah), INTERRUPT, "tx ok 0x%x err 0x%x desc 0x%x eol 0x%x urn 0x%x\n", ah->txok_interrupt_mask, ah->txerr_interrupt_mask, ah...
google
android
ar9003_calib
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/ar9003_calib.c
47,914
utf_8
de7dfdd90453319961c2b416f3a92792
/* */ #include "hw.h" #include "hw-ops.h" #include "ar9003_phy.h" #include "ar9003_rtt.h" #include "ar9003_mci.h" #define MAX_MEASUREMENT MAX_IQCAL_MEASUREMENT #define MAX_MAG_DELTA 11 #define MAX_PHS_DELTA 10 #define MAXIQCAL 3 struct coeff { int mag_coeff[AR9300_MAX_CHAINS][MAX_MEASUREMENT][MAXIQCAL]; int p...
google
android
htc_drv_beacon
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
14,046
utf_8
fa8cb195839136644b4b6c07a2bfb1e8
/* */ #include "htc.h" #define FUDGE 2 void ath9k_htc_beaconq_config(struct ath9k_htc_priv *priv) { struct ath_hw *ah = priv->ah; struct ath9k_tx_queue_info qi, qi_be; memset(&qi, 0, sizeof(struct ath9k_tx_queue_info)); memset(&qi_be, 0, sizeof(struct ath9k_tx_queue_info)); ath9k_hw_get_txq_props(ah, priv->beacon...
google
android
dfs_debug
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/dfs_debug.c
5,057
utf_8
cba24c9c827caa7b741a7a6631cdd41f
/* */ #include <linux/debugfs.h> #include <linux/export.h> #include "ath9k.h" #include "dfs_debug.h" #include "../dfs_pattern_detector.h" static struct ath_dfs_pool_stats dfs_pool_stats = { 0 }; #define ATH9K_DFS_STAT(s, p) \ len += scnprintf(buf + len, size - len, "%28s : %10u\n", s, \ sc->debug.stats.dfs_stats....
google
android
ar9002_calib
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/ar9002_calib.c
29,190
utf_8
361a54d184af32d508504204dd116cee
/* */ #include "hw.h" #include "hw-ops.h" #include "ar9002_phy.h" #define AR9285_CLCAL_REDO_THRESH 1 enum ar9002_cal_types { ADC_GAIN_CAL = BIT(0), ADC_DC_CAL = BIT(1), IQ_MISMATCH_CAL = BIT(2), }; static bool ar9002_hw_is_cal_supported(struct ath_hw *ah, struct ath9k_channel *chan, enum ar9002_cal_types...
google
android
pci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/pci.c
29,818
utf_8
c093efd631141b7b7f5ce14ccc4c71b4
/* */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/nl80211.h> #include <linux/pci.h> #include <linux/pci-aspm.h> #include <linux/ath9k_platform.h> #include <linux/module.h> #include "ath9k.h" static const struct pci_device_id ath_pci_id_table[] = { { PCI_VDEVICE(ATHEROS, 0x0023) }, /* PCI */ { PCI_V...
google
android
htc_drv_gpio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/net/wireless/ath/ath9k/htc_drv_gpio.c
9,393
utf_8
08623c251c1bf64527a416cd069d9035
/* */ #include "htc.h" /******************/ /* BTCOEX */ /******************/ #define ATH_HTC_BTCOEX_PRODUCT_ID "wb193" #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT /* * Detects if there is any priority bt traffic */ static void ath_detect_bt_priority(struct ath9k_htc_priv *priv) { struct ath_btcoex *btcoex = &priv->...