Search Linux Wireless

Re: [PATCH] mac80211: Let VHT work on 2.4Ghz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/22/2016 02:48 PM, Julian Calaby wrote:
Hi Ben,

On Tue, Feb 23, 2016 at 9:42 AM,  <greearb@xxxxxxxxxxxxxxx> wrote:
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>

ath10k supports VHT on 2.4Ghz band.
If supplicant and hostapd and radio think
VHT should be allowed, then kernel should let them
try.

Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx>
---
  net/mac80211/mlme.c | 16 ----------------
  net/mac80211/util.c | 13 +------------
  net/mac80211/vht.c  | 15 ---------------
  3 files changed, 1 insertion(+), 43 deletions(-)

diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index f8eb0f8..cabe16f 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1604,17 +1603,7 @@ static int ieee80211_build_preq_ies_band(struct ieee80211_local *local,
                 *offset = noffset;
         }

-       /* Check if any channel in this sband supports at least 80 MHz */
-       for (i = 0; i < sband->n_channels; i++) {
-               if (sband->channels[i].flags & (IEEE80211_CHAN_DISABLED |
-                                               IEEE80211_CHAN_NO_80MHZ))
-                       continue;
-
-               have_80mhz = true;
-               break;
-       }
-
-       if (sband->vht_cap.vht_supported && have_80mhz && !disable_vht) {
+       if (sband->vht_cap.vht_supported && /*have_80mhz &&*/ !disable_vht) {

Do you want to actually remove have_80mhz here? We do have git history
if this needs to be put back.

Yes, I just missed that when cleaning up my patch.

I'll wait for some other feedback and then do a -v2.

Thanks,
Ben


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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux