Skip to contentSkip to conversation

How to find sdata's frequency?

DISCUSSION Ben Greear 1 participant 1 message May 1, 2013

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

For ath9k, the code below finds a chanctx_conf (and channel), but for ath9k_htc it does not. Any idea for how to find the current operating channel for ath9k_htc?

	chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf);
	if (chanctx_conf)
		channel = chanctx_conf->def.chan;
	else
		channel = NULL;

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com