svn commit: r190448 - head/sys/net80211
Sam Leffler
sam at FreeBSD.org
Thu Mar 26 12:04:12 PDT 2009
Author: sam
Date: Thu Mar 26 19:04:11 2009
New Revision: 190448
URL: http://svn.freebsd.org/changeset/base/190448
Log:
adjust tdma ie offset when beacon frame contents changes
Modified:
head/sys/net80211/ieee80211_output.c
Modified: head/sys/net80211/ieee80211_output.c
==============================================================================
--- head/sys/net80211/ieee80211_output.c Thu Mar 26 18:07:13 2009 (r190447)
+++ head/sys/net80211/ieee80211_output.c Thu Mar 26 19:04:11 2009 (r190448)
@@ -2666,6 +2666,9 @@ ieee80211_beacon_update(struct ieee80211
bo->bo_tim_trailer += adjust;
bo->bo_erp += adjust;
bo->bo_htinfo += adjust;
+#ifdef IEEE80211_TDMA_SUPPORT
+ bo->bo_tdma += adjust;
+#endif
bo->bo_appie += adjust;
bo->bo_wme += adjust;
bo->bo_csa += adjust;
@@ -2710,6 +2713,9 @@ ieee80211_beacon_update(struct ieee80211
memmove(&csa[1], csa, bo->bo_csa_trailer_len);
bo->bo_erp += sizeof(*csa);
bo->bo_wme += sizeof(*csa);
+#ifdef IEEE80211_TDMA_SUPPORT
+ bo->bo_tdma += sizeof(*csa);
+#endif
bo->bo_appie += sizeof(*csa);
bo->bo_csa_trailer_len += sizeof(*csa);
bo->bo_tim_trailer_len += sizeof(*csa);
More information about the svn-src-head
mailing list