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 <gree...@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to