Date: Thu, 26 Mar 2009 19:04:11 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190448 - head/sys/net80211 Message-ID: <200903261904.n2QJ4BuO028536@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903261904.n2QJ4BuO028536>