- Factor out front part of ieee80211_set_shortpreamble() into
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 26 Nov 2006 02:12:34 +0000 (02:12 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 26 Nov 2006 02:12:34 +0000 (02:12 +0000)
commitab0665aa1f85c4f39ca724886b54d0078b1f72ad
tree2f73d316d6c3220e67b7830cd78fb39c00b28e66
parent4c2f8f84084b14bb1154352c4aa4d4349f9a66db
- Factor out front part of ieee80211_set_shortpreamble() into
  ieee80211_update_shpreamble().  So that the former only turns
  on/off short preamble and informs driver about the changes,
  while the latter makes the decision whether short preamble
  should be turned on or off.
- Replace rest of the places where short preamble is turned on/off
  manually with ieee80211_set_shortpreamble()
- For associated STAs, update short preamble state only when related
  fields of ERP information or capability information in received
  beacons are changed
sys/netproto/802_11/ieee80211_node.h
sys/netproto/802_11/ieee80211_proto.h
sys/netproto/802_11/wlan/ieee80211_input.c
sys/netproto/802_11/wlan/ieee80211_node.c
sys/netproto/802_11/wlan/ieee80211_proto.c