drivers/net/wireless/st/cw1200/scan.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/st/cw1200/scan.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/st/cw1200/scan.h
Extension
.h
Size
1561 bytes
Lines
54
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 cw1200_scan {
	struct semaphore lock;
	struct work_struct work;
	struct delayed_work timeout;
	struct cfg80211_scan_request *req;
	struct ieee80211_channel **begin;
	struct ieee80211_channel **curr;
	struct ieee80211_channel **end;
	struct wsm_ssid ssids[WSM_SCAN_MAX_NUM_OF_SSIDS];
	int output_power;
	int n_ssids;
	int status;
	atomic_t in_progress;
	/* Direct probe requests workaround */
	struct delayed_work probe_work;
	int direct_probe;
};

int cw1200_hw_scan(struct ieee80211_hw *hw,
		   struct ieee80211_vif *vif,
		   struct ieee80211_scan_request *hw_req);
void cw1200_scan_work(struct work_struct *work);
void cw1200_scan_timeout(struct work_struct *work);
void cw1200_clear_recent_scan_work(struct work_struct *work);
void cw1200_scan_complete_cb(struct cw1200_common *priv,
			     struct wsm_scan_complete *arg);
void cw1200_scan_failed_cb(struct cw1200_common *priv);

/* ******************************************************************** */
/* Raw probe requests TX workaround					*/
void cw1200_probe_work(struct work_struct *work);

#endif

Annotation

Implementation Notes