diff mbox

Support for 5/10 MHz channel width

Message ID 07148f03-50ac-72ef-3e34-9a93d5d75026@dd-wrt.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Gottschall Nov. 18, 2017, 11:35 p.m. UTC
maybe easy to implement. the firmware does support it.

this should help you out with playing

Am 18.11.2017 um 23:08 schrieb Peter Große:
> Hi everyone.
>
> I'm curious about whether there are technical limitations or if it would be
> possible for the ath10k driver and firmware to support half-rate channel widths
> of 5 and 10 MHz?
>
> The ath9k driver supports it. It was introduced by Simon Wunderlich in 2013
> [1], also listing possible useful applications, some of which I'm interested in.
>
>  From what I got looking at the ath10k driver code, the enum wmi_phy_mode used
> in mac.c:chan_to_phymode() has no corresponding values for these channel
> widths. So assume a change to the firmware would be also required.
>
> So again, I'm just curious ;)
>
> Regards
> Peter
>
> [1] https://www.spinics.net/lists/linux-wireless/msg109641.html
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
>
diff mbox

Patch

--- 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)