cvs commit: src/sys/netproto/802_11/wlan ieee80211_output.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Mar 17 22:37:51 PDT 2007


sephe       2007/03/17 22:35:54 PDT

DragonFly src repository

  Modified files:
    sys/netproto/802_11/wlan ieee80211_output.c 
  Log:
  Set Short Slot Time subfield in Capability field, if ieee80211com.ic_caps
  has IEEE80211_C_SHSLOT and the current channel is a 2GHz one, as according
  to IEEE Std 802.11g-2003 subclause 7.3.1.4:
  
  "STAs shall set the Short Slot Time subfield to 1 in transmitted Association
   Request and Reassociation Request MMPDUs when the MIB attribute
   dot11ShortSlotTimeOptionImplemented and dot11ShortSlotTimeOptionEnabled are
   true. ..."
  
  For us "dot11ShortSlotTimeOptionImplemented" is IEEE80211_C_SHSLOT bit in
  ieee80211com.ic_caps and dot11ShortSlotTimeOptionEnabled is always true.
  
  In the original way, we will be counted as long slot time STA, if the BSS
  that we are joining temporarily turns off short slot time, since some already
  joined STAs are incapable of short slot time.  After our joining, even if all
  long slot time STAs leave, BSS still can't use short slot time, because we
  misinformed AP that we are incapable of short slot time in association request.
  
  Revision  Changes    Path
  1.17      +1 -1      src/sys/netproto/802_11/wlan/ieee80211_output.c


http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_output.c.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list