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/e0c64f706c64
branches: trunk
changeset: 1026890:e0c64f706c64
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 cb33852fa396 -r e0c64f706c64 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