From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Date: Wed, 30 Sep 2015 10:01:19 -0700 Subject: [ath9k-devel] Ability to receive CCK encoded frames on 5Ghz Message-ID: <560C155F.9050409@candelatech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 Candela Technologies Inc http://www.candelatech.com