drivers/net/wireless/ti/wl18xx/cmd.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/ti/wl18xx/cmd.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/ti/wl18xx/cmd.h- Extension
.h- Size
- 1888 bytes
- Lines
- 83
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
../wlcore/wlcore.h../wlcore/acx.h
Detected Declarations
struct wl18xx_cmd_channel_switchstruct wl18xx_cmd_smart_config_startstruct wl18xx_cmd_smart_config_set_group_keystruct wl18xx_cmd_dfs_radar_debugstruct wl18xx_cmd_dfs_master_restartstruct wlcore_cmd_cac_start
Annotated Snippet
struct wl18xx_cmd_channel_switch {
struct wl1271_cmd_header header;
u8 role_id;
/* The new serving channel */
u8 channel;
/* Relative time of the serving channel switch in TBTT units */
u8 switch_time;
/* Stop the role TX, should expect it after radar detection */
u8 stop_tx;
__le32 local_supported_rates;
u8 channel_type;
u8 band;
u8 padding[2];
} __packed;
struct wl18xx_cmd_smart_config_start {
struct wl1271_cmd_header header;
__le32 group_id_bitmask;
} __packed;
struct wl18xx_cmd_smart_config_set_group_key {
struct wl1271_cmd_header header;
__le32 group_id;
u8 key[16];
} __packed;
struct wl18xx_cmd_dfs_radar_debug {
struct wl1271_cmd_header header;
u8 channel;
u8 padding[3];
} __packed;
struct wl18xx_cmd_dfs_master_restart {
struct wl1271_cmd_header header;
u8 role_id;
u8 padding[3];
} __packed;
/* cac_start and cac_stop share the same params */
struct wlcore_cmd_cac_start {
struct wl1271_cmd_header header;
u8 role_id;
u8 channel;
u8 band;
u8 bandwidth;
} __packed;
int wl18xx_cmd_channel_switch(struct wl1271 *wl,
struct wl12xx_vif *wlvif,
struct ieee80211_channel_switch *ch_switch);
int wl18xx_cmd_smart_config_start(struct wl1271 *wl, u32 group_bitmap);
int wl18xx_cmd_smart_config_stop(struct wl1271 *wl);
int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
u8 key_len, u8 *key);
int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel);
int wl18xx_cmd_dfs_master_restart(struct wl1271 *wl, struct wl12xx_vif *wlvif);
#endif
Annotation
- Immediate include surface: `../wlcore/wlcore.h`, `../wlcore/acx.h`.
- Detected declarations: `struct wl18xx_cmd_channel_switch`, `struct wl18xx_cmd_smart_config_start`, `struct wl18xx_cmd_smart_config_set_group_key`, `struct wl18xx_cmd_dfs_radar_debug`, `struct wl18xx_cmd_dfs_master_restart`, `struct wlcore_cmd_cac_start`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.