Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/dev/pci Fill in channel defs for 11A and 11N.



details:   https://anonhg.NetBSD.org/src-all/rev/320f85148c1a
branches:  trunk
changeset: 952440:320f85148c1a
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Sat May 23 00:02:11 2020 +1000

description:
Fill in channel defs for 11A and 11N.

diffstat:

 sys/dev/pci/if_iwn.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r fe80d14cb5fa -r 320f85148c1a sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Fri May 22 23:27:36 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Sat May 23 00:02:11 2020 +1000
@@ -376,9 +376,13 @@
          */
 
         memset(bands, 0, sizeof(bands));
+        setbit(bands, IEEE80211_MODE_11A);
         setbit(bands, IEEE80211_MODE_11B);
         setbit(bands, IEEE80211_MODE_11G);
-     // setbit(bands, IEEE80211_MODE_11NG);
+#ifndef IEEE80211_NO_HT
+       setbit(bands, IEEE80211_MODE_11NG);
+       setbit(bands, IEEE80211_MODE_11NA);
+#endif
         ieee80211_init_channels(ic, NULL, bands);
 }
 



Home | Main Index | Thread Index | Old Index