All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Ability to receive CCK encoded frames on 5Ghz
@ 2015-09-30 17:01 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2015-09-30 17:01 UTC (permalink / raw)
  To: ath9k-devel

While debugging an ath10k bug, I noticed that ath9k radios can
receive CCK encoded frames (ie, 1Mbps) on 5Ghz bands, but the
driver throws away the frame.

It seems to me that it should pass the frame on up the stack.

If nothing else, this makes using ath9k as a sniffer more
useful, and it would work around some bugs in at least some
ath10k firmware variants.


The code in question is this:

	if (ath9k_cmn_process_rate(common, hw, rx_stats, rx_status)) {
		/*
		 * No valid hardware bitrate found -- we should not get here
		 * because hardware has already validated this frame as OK.
		 */
		ath_dbg(common, ANY, "unsupported hw bitrate detected 0x%02x using 1 Mbit\n",
			rx_stats->rs_rate);
		RX_STAT_INC(rx_rate_err);
		return -EINVAL;
	}

And the rate code I saw was '0x1b'.

Any opinions on allowing this?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-30 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 17:01 [ath9k-devel] Ability to receive CCK encoded frames on 5Ghz Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.