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/092652bd54db
branches:  trunk
changeset: 364822:092652bd54db
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 86f781c8c540 -r 092652bd54db 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
@@ -449,9 +449,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