drivers/net/wireless/ath/ath9k/ar9340_initvals.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/ath/ath9k/ar9340_initvals.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/ath/ath9k/ar9340_initvals.h
Extension
.h
Size
57781 bytes
Lines
1198
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef INITVALS_9340_H
#define INITVALS_9340_H

#define ar9340_1p0_mac_postamble ar9300_2p2_mac_postamble

#define ar9340_1p0_soc_postamble ar9300_2p2_soc_postamble

#define ar9340Modes_fast_clock_1p0 ar9300Modes_fast_clock_2p2

#define ar9340Common_rx_gain_table_1p0 ar9300Common_rx_gain_table_2p2

#define ar9340Common_wo_xlna_rx_gain_table_1p0 ar9300Common_wo_xlna_rx_gain_table_2p2

#define ar9340_1p0_baseband_core_txfir_coeff_japan_2484 ar9300_2p2_baseband_core_txfir_coeff_japan_2484

#define ar9340_1p0_baseband_postamble_dfs_channel ar9300_2p2_baseband_postamble_dfs_channel

static const u32 ar9340_1p0_radio_postamble[][5] = {
	/* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
	{0x000160ac, 0xa4646800, 0xa4646800, 0xa4646800, 0xa4646800},
	{0x0001610c, 0x08000000, 0x00000000, 0x00000000, 0x00000000},
	{0x00016140, 0x10804000, 0x10804000, 0x50804000, 0x50804000},
	{0x0001650c, 0x08000000, 0x00000000, 0x00000000, 0x00000000},
	{0x00016540, 0x10804000, 0x10804000, 0x50804000, 0x50804000},
};

static const u32 ar9340Modes_lowest_ob_db_tx_gain_table_1p0[][5] = {
	/* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
	{0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9},
	{0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
	{0x0000a504, 0x06000003, 0x06000003, 0x04000002, 0x04000002},
	{0x0000a508, 0x0a000020, 0x0a000020, 0x08000004, 0x08000004},
	{0x0000a50c, 0x10000023, 0x10000023, 0x0b000200, 0x0b000200},
	{0x0000a510, 0x16000220, 0x16000220, 0x0f000202, 0x0f000202},
	{0x0000a514, 0x1c000223, 0x1c000223, 0x12000400, 0x12000400},
	{0x0000a518, 0x21020220, 0x21020220, 0x16000402, 0x16000402},
	{0x0000a51c, 0x27020223, 0x27020223, 0x19000404, 0x19000404},
	{0x0000a520, 0x2b022220, 0x2b022220, 0x1c000603, 0x1c000603},
	{0x0000a524, 0x2f022222, 0x2f022222, 0x21000a02, 0x21000a02},
	{0x0000a528, 0x34022225, 0x34022225, 0x25000a04, 0x25000a04},
	{0x0000a52c, 0x3a02222a, 0x3a02222a, 0x28000a20, 0x28000a20},
	{0x0000a530, 0x3e02222c, 0x3e02222c, 0x2c000e20, 0x2c000e20},
	{0x0000a534, 0x4202242a, 0x4202242a, 0x30000e22, 0x30000e22},
	{0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24},
	{0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640},
	{0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660},
	{0x0000a544, 0x5302266c, 0x5302266c, 0x3f001861, 0x3f001861},
	{0x0000a548, 0x5702286c, 0x5702286c, 0x43001a81, 0x43001a81},
	{0x0000a54c, 0x5c04286b, 0x5c04286b, 0x47001a83, 0x47001a83},
	{0x0000a550, 0x61042a6c, 0x61042a6c, 0x4a001c84, 0x4a001c84},
	{0x0000a554, 0x66062a6c, 0x66062a6c, 0x4e001ce3, 0x4e001ce3},
	{0x0000a558, 0x6b062e6c, 0x6b062e6c, 0x52001ce5, 0x52001ce5},
	{0x0000a55c, 0x7006308c, 0x7006308c, 0x56001ce9, 0x56001ce9},
	{0x0000a560, 0x730a308a, 0x730a308a, 0x5a001ceb, 0x5a001ceb},
	{0x0000a564, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a568, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a56c, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a570, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a574, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a578, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a57c, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec},
	{0x0000a580, 0x00800000, 0x00800000, 0x00800000, 0x00800000},
	{0x0000a584, 0x06800003, 0x06800003, 0x04800002, 0x04800002},
	{0x0000a588, 0x0a800020, 0x0a800020, 0x08800004, 0x08800004},
	{0x0000a58c, 0x10800023, 0x10800023, 0x0b800200, 0x0b800200},
	{0x0000a590, 0x16800220, 0x16800220, 0x0f800202, 0x0f800202},
	{0x0000a594, 0x1c800223, 0x1c800223, 0x12800400, 0x12800400},
	{0x0000a598, 0x21820220, 0x21820220, 0x16800402, 0x16800402},
	{0x0000a59c, 0x27820223, 0x27820223, 0x19800404, 0x19800404},
	{0x0000a5a0, 0x2b822220, 0x2b822220, 0x1c800603, 0x1c800603},
	{0x0000a5a4, 0x2f822222, 0x2f822222, 0x21800a02, 0x21800a02},
	{0x0000a5a8, 0x34822225, 0x34822225, 0x25800a04, 0x25800a04},
	{0x0000a5ac, 0x3a82222a, 0x3a82222a, 0x28800a20, 0x28800a20},
	{0x0000a5b0, 0x3e82222c, 0x3e82222c, 0x2c800e20, 0x2c800e20},
	{0x0000a5b4, 0x4282242a, 0x4282242a, 0x30800e22, 0x30800e22},
	{0x0000a5b8, 0x4782244a, 0x4782244a, 0x34800e24, 0x34800e24},
	{0x0000a5bc, 0x4b82244c, 0x4b82244c, 0x38801640, 0x38801640},
	{0x0000a5c0, 0x4e82246c, 0x4e82246c, 0x3c801660, 0x3c801660},
	{0x0000a5c4, 0x5382266c, 0x5382266c, 0x3f801861, 0x3f801861},
	{0x0000a5c8, 0x5782286c, 0x5782286c, 0x43801a81, 0x43801a81},
	{0x0000a5cc, 0x5c84286b, 0x5c84286b, 0x47801a83, 0x47801a83},
	{0x0000a5d0, 0x61842a6c, 0x61842a6c, 0x4a801c84, 0x4a801c84},
	{0x0000a5d4, 0x66862a6c, 0x66862a6c, 0x4e801ce3, 0x4e801ce3},
	{0x0000a5d8, 0x6b862e6c, 0x6b862e6c, 0x52801ce5, 0x52801ce5},
	{0x0000a5dc, 0x7086308c, 0x7086308c, 0x56801ce9, 0x56801ce9},
	{0x0000a5e0, 0x738a308a, 0x738a308a, 0x5a801ceb, 0x5a801ceb},
	{0x0000a5e4, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec},
	{0x0000a5e8, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec},
	{0x0000a5ec, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec},
	{0x0000a5f0, 0x778a308c, 0x778a308c, 0x5d801eec, 0x5d801eec},

Annotation

Implementation Notes