This patch implementing user control of the short/long preamble via iwpriv ioctl. By default as before is the short preamble option on. This also can close ticket #722
Usage:
iwpriv wlan0 shpreamble 1 (enable short preamble) (default)
iwpriv wlan0 shpreamble 0 (disable short preamble)
iwpriv wlan0 get_shpreamble (return curret value)
Note:
Preamble can be controlled for for 802.11b/g. 802.11a do not implement it. Short preamble is a capability option, so when its turned off at accesspoint, any stations capable to use short preamble will use long preamble. When is accesspoint capable to use short preamble and station not, ap and station will use long preamble. Outdoor with poor signal condition is better to use long preamble.
Signed-off-by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>