drivers/net/wireless/ti/wl12xx/conf.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/ti/wl12xx/conf.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/ti/wl12xx/conf.h
Extension
.h
Size
6332 bytes
Lines
270
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

struct wl12xx_conf_rf {
	/*
	 * Per channel power compensation for 2.4GHz
	 *
	 * Range: s8
	 */
	u8 tx_per_channel_power_compensation_2[CONF_TX_PWR_COMPENSATION_LEN_2];

	/*
	 * Per channel power compensation for 5GHz
	 *
	 * Range: s8
	 */
	u8 tx_per_channel_power_compensation_5[CONF_TX_PWR_COMPENSATION_LEN_5];
};

struct wl12xx_priv_conf {
	struct wl12xx_conf_rf rf;
	struct conf_memory_settings mem_wl127x;
};

enum wl12xx_sg_params {
	/*
	* Configure the min and max time BT gains the antenna
	* in WLAN / BT master basic rate
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_BT_MASTER_MIN_BR = 0,
	WL12XX_CONF_SG_ACL_BT_MASTER_MAX_BR,

	/*
	* Configure the min and max time BT gains the antenna
	* in WLAN / BT slave basic rate
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_BT_SLAVE_MIN_BR,
	WL12XX_CONF_SG_ACL_BT_SLAVE_MAX_BR,

	/*
	* Configure the min and max time BT gains the antenna
	* in WLAN / BT master EDR
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_BT_MASTER_MIN_EDR,
	WL12XX_CONF_SG_ACL_BT_MASTER_MAX_EDR,

	/*
	* Configure the min and max time BT gains the antenna
	* in WLAN / BT slave EDR
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_BT_SLAVE_MIN_EDR,
	WL12XX_CONF_SG_ACL_BT_SLAVE_MAX_EDR,

	/*
	* The maximum time WLAN can gain the antenna
	* in WLAN PSM / BT master/slave BR
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_WLAN_PS_MASTER_BR,
	WL12XX_CONF_SG_ACL_WLAN_PS_SLAVE_BR,

	/*
	* The maximum time WLAN can gain the antenna
	* in WLAN PSM / BT master/slave EDR
	*
	* Range: 0 - 255 (ms)
	*/
	WL12XX_CONF_SG_ACL_WLAN_PS_MASTER_EDR,
	WL12XX_CONF_SG_ACL_WLAN_PS_SLAVE_EDR,

	/* TODO: explain these values */
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MIN_BR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MAX_BR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MIN_BR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MAX_BR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MIN_EDR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MAX_EDR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MIN_EDR,
	WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MAX_EDR,

	WL12XX_CONF_SG_ACL_ACTIVE_SCAN_WLAN_BR,
	WL12XX_CONF_SG_ACL_ACTIVE_SCAN_WLAN_EDR,
	WL12XX_CONF_SG_ACL_PASSIVE_SCAN_BT_BR,
	WL12XX_CONF_SG_ACL_PASSIVE_SCAN_WLAN_BR,

Annotation

Implementation Notes