Age | Commit message (Collapse) | Author |
|
Instead of removing the rates from the node's rate set, just check that
the fixed rate is present in the rate set. Otherwise, the node will be
marked non-ERP which will force the use of protection mode (either
CTS-to-self or RTS/CTS) in an 802.11g network and degrade performance.
This fixes HostAP mode for 11g with a fixed rate.
Problem originally reported by Sam Fourman Jr.
Code from FreeBSD.
ok reyk@, "no objections here" jsg@
|
|
|
|
with IEEE Std 802.11g-2003 standard:
- add ERP Information Element in probe responses and beacons
- keep track of the number of associated non-ERP STAs and non-short slot
time capable STAs in the BSS
- enable use of RTS/CTS or CTS-to-self protection when required by the BSS
- add a ic_updateslot() callback to notify drivers of slot time changes
- cleanup computation of mgmt frames sizes in ieee80211_output.c
- nuke unnecessary <sys/cdefs.h> includes
- remove an unused macro (LOGICALLY_EQUAL) while i'm here
From {free,net}bsd, with additional fixes.
ok brad@, reyk@
|
|
bugs in the node table (like duplicate nodes in hostap mode), we get
rid of possible hash collisions, and it simplifies the code.
tested by many, ok damien@, jsg@
|
|
ok jsg@
|
|
ok reyk@
|
|
ok reyk@
|
|
doing a wholesale merge with them in future.
very enthusiastic ok from reyk@
|
|
|
|
---
Make the node table into an LRU cache: least-recently used nodes
are at the end of the node queue. Change the reference-counting
discipline: ni->ni_refcnt indicates how many times net80211 has
granted ni to the driver. Every node in the table with ni_refcnt=0
is eligible to be garbage-collected. The mere presence of a node
in the table does not any longer indicate its auth/assoc state;
nodes have a ni_state variable, now.
While I am here, patch ieee80211_find_node_for_beacon to do a "best
match" by bssid/ssid/channel, not a "perfect match." This keeps
net80211 from caching duplicate nodes in the table.
---
ok deraadt@ dlg@, looks good jsg@
|
|
|
|
Based in part on a diff from Matthew Gream.
|