cvs commit: src/sys/netproto/802_11 ieee80211_proto.h src/sys/netproto/802_11/wlan ieee80211.c ieee80211_input.c ieee80211_ioctl.c ieee80211_node.c ieee80211_output.c ieee80211_proto.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Jan 1 00:56:36 PST 2007


sephe       2007/01/01 00:51:45 PST

DragonFly src repository

  Modified files:
    sys/netproto/802_11  ieee80211_proto.h 
    sys/netproto/802_11/wlan ieee80211.c ieee80211_input.c 
                             ieee80211_ioctl.c ieee80211_node.c 
                             ieee80211_output.c ieee80211_proto.c 
  Log:
  - In ieee80211_setmode(), don't mark basic rates on ieee80211com.ic_sup_rates.
    The basic rates will be marked on ieee80211com.ic_sup_rates once we get the
    BSS' basic rate set, in ieee80211_sta_join().
  - Rename ieee80211_set11gbasicrates() to ieee80211_set_basicrates().  Add
    additional parameter to indicate whether we are using Pure G or not.
  - In ieee80211_set_basicrates():
    o  Extend basic rate set array by adding items for Turbo G mode (mixed 11B/G
       basic rates) and Turbo A mode (11A mandatory rates).
    o  Add an assertion to make sure we will not go beyond the end of the basic
       rate set array.
    o  Use a seperate constant for Pure G basic rate set.
    o  If 'mode' is 11G or Turbo G, and Pure G is required, use Pure G's basic
       rate set, instead of mixed 11B/G basic rate set.  This makes a standard
       conforming 11B STA not try joining a Pure G BSS created by us.
  - In ieee80211_recv_mgmt():
    o  Send probe response even if rate negotiation fails.  According to
       IEEE Std 802.11, 1999 Edition, subclause 11.1.3.2.1:
       ....
       STAs, subject to criteria below, receiving Probe Request frames shall
       respond with a probe response only if the SSID in the probe request is
       the broadcast SSID or matches the specific SSID of the STA.  ... ...
       An AP shall respond to all probe requests meeting the above criteria.
       In an IBSS, the STA that generated the last beacon shall be the STA that
       responds to a probe request.
       ....
  
       If we reach the rate negotiation step, then the "criteria" outlined by
       the standard is already met.
    o  Don't do rate negotiation for temporary nodes, which are created just for
       sending probe responses.  This may save us some cpu time.
  - Reset NIC for Pure G change, only if opmode is HOSTAP or IBSS(*), and phy
    mode is either Turbo G or 11G.
  - Don't allocate TX rate control data for temporary nodes, since they will be
    reclaimed immediately after management frames are sent.
  
  # (*) Actually, for IBSS opmode, we need to reset the NIC iff we are the only
  #     member of the current IBSS.
  
  Revision  Changes    Path
  1.8       +2 -2      src/sys/netproto/802_11/ieee80211_proto.h
  1.11      +0 -16     src/sys/netproto/802_11/wlan/ieee80211.c
  1.14      +20 -16    src/sys/netproto/802_11/wlan/ieee80211_input.c
  1.10      +9 -2      src/sys/netproto/802_11/wlan/ieee80211_ioctl.c
  1.15      +11 -15    src/sys/netproto/802_11/wlan/ieee80211_node.c
  1.13      +1 -1      src/sys/netproto/802_11/wlan/ieee80211_output.c
  1.8       +23 -10    src/sys/netproto/802_11/wlan/ieee80211_proto.c


http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211_proto.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_input.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_ioctl.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_node.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_output.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_proto.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list