summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-02-18 01:08:59 +0000
committeradrian <adrian@FreeBSD.org>2013-02-18 01:08:59 +0000
commit4089ecb7c42a8e9c11685445988c855136006c68 (patch)
tree6b712a9ff7b83ca6f90aae117fe9c457450b2194 /sys/net80211
parent88b6705ed66e8e65890f043013d6a9781f8a6ddc (diff)
downloadFreeBSD-src-4089ecb7c42a8e9c11685445988c855136006c68.zip
FreeBSD-src-4089ecb7c42a8e9c11685445988c855136006c68.tar.gz
Disable this code and add a note as to why.
It wasn't currently being called anyway - but being explicit about it can't hurt.
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_adhoc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_adhoc.c b/sys/net80211/ieee80211_adhoc.c
index b0998f5..e504718 100644
--- a/sys/net80211/ieee80211_adhoc.c
+++ b/sys/net80211/ieee80211_adhoc.c
@@ -768,8 +768,23 @@ adhoc_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0,
IEEE80211_RSSI_LPF(ni->ni_avgrssi, rssi);
ni->ni_noise = nf;
}
+ /*
+ * Same here - the channel width change should
+ * be applied to the specific peer node, not
+ * to the ic. Ie, the interface configuration
+ * should stay in its current channel width;
+ * but it should change the rate control and
+ * any queued frames for the given node only.
+ *
+ * Since there's no (current) way to inform
+ * the driver that a channel width change has
+ * occured for a single node, just stub this
+ * out.
+ */
+#if 0
if (ht_state_change)
ieee80211_update_chw(ic);
+#endif
}
break;
}
OpenPOWER on IntegriCloud