Support for 5/10 MHz channel width

Peter Große pegro at friiks.de
Mon Nov 20 06:01:15 PST 2017


On Sun, 19 Nov 2017 00:35:22 +0100
Sebastian Gottschall <s.gottschall at dd-wrt.com> wrote:

> maybe easy to implement. the firmware does support it.
> --- wmi.h       (Revision 3720)
> +++ wmi.h       (Arbeitskopie)
> @@ -1986,6 +1986,8 @@
>   #define WMI_CHAN_FLAG_DFS            (1 << 10)
>   #define WMI_CHAN_FLAG_ALLOW_HT       (1 << 11)
>   #define WMI_CHAN_FLAG_ALLOW_VHT      (1 << 12)
> +#define WMI_CHAN_FLAG_QUARTER       (1 << 13)
> +#define WMI_CHAN_FLAG_HALF      (1 << 14)
> 
>   /* Indicate reason for channel switch */
>   #define WMI_CHANNEL_CHANGE_CAUSE_CSA (1 << 13)
> 
> this should help you out with playing

Thanks for the hint.

I tried setting these flags, but my wifi card still uses full rate.

My test setup consists of 2 ath9k cards and 1 ath10k card (QCA988X). I'm able
to transmit frames between the ath9k cards using channel widths 5MHz, 10MHz and
20Mhz (so half and quarter rates work), but I only see these frames on the
ath10k card when using 20MHz channel width. Therefor I assume, setting these
flags doesn't do anything or I missed something.

I tried firmware versions 10.2.4.70.54 and 10.2.4.70.66.

See attached patch and dmesg output.

Am I on the right track?

Regards
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.log
Type: text/x-log
Size: 2958 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171120/342b2bfd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ath10k-add-support-for-5-10-MHz-channels.patch
Type: text/x-patch
Size: 4125 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171120/342b2bfd/attachment-0001.bin>


More information about the ath10k mailing list